Build Information
Failed to build AppScreenshotKit, reference v0.1.0 (b7d206
), with Swift 6.0 for Linux on 20 May 2025 18:08:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shitamori1272/AppScreenshotKit.git
Reference: v0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/shitamori1272/AppScreenshotKit
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at b7d2066 4 apply swift format (#7)
Cloned https://github.com/shitamori1272/AppScreenshotKit.git
Revision (git rev-parse @):
b7d2066b6c7221c71bbefcc4ef1a4af10af0fc53
SUCCESS checkout https://github.com/shitamori1272/AppScreenshotKit.git at v0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/shitamori1272/AppScreenshotKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:09d26ab70e3a3709c842783fcab7b4586b07c0c14c0a0f69d12397eaee1c5f62
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70362] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.25s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.36s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
warning: No bezels found in /root/.cache/com.shitamori1272.AppScreenshotKit/AppleDesignResource. Please run the command to download bezels first.
"swift run AppScreenshotKitCLI download-bezel-image"
[1/1] Compiling plugin RegisterBezelsCommand
[2/2] Compiling plugin SwiftFormatLintCommand
Building for debugging...
[2/49] Write sources
[17/49] Register Dummy Bezel image file
[18/49] Write sources
[21/49] Copying AppleDesignResource
[22/49] Compiling _SwiftSyntaxCShims dummy.c
[23/49] Write sources
[26/49] Write swift-version-24593BA9C3E375BF.txt
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
Tests/AppScreenshotKitCLITests/BezelImageDownloaderTests.swift:8:16: warning: [AlwaysUseLowerCamelCase] rename the function 'test_init_and_properties' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:22:16: warning: [AlwaysUseLowerCamelCase] rename the function 'init_and_properties' using lowerCamelCase
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:26:16: warning: [AlwaysUseLowerCamelCase] rename the function 'mount_should_call_handler' using lowerCamelCase
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:50:16: warning: [AlwaysUseLowerCamelCase] rename the function 'mount_should_attach_and_detach_dmg' using lowerCamelCase
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:79:16: warning: [AlwaysUseLowerCamelCase] rename the function 'mount_should_still_detach_even_if_handler_throws' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
Tests/AppScreenshotKitCLITests/ShellTests.swift:8:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_unzip_command_arguments' using lowerCamelCase
Tests/AppScreenshotKitCLITests/ShellTests.swift:18:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_detachDmg_command_arguments' using lowerCamelCase
Tests/AppScreenshotKitCLITests/ShellTests.swift:29:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_attachDmg_command_arguments' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
Tests/AppScreenshotKitCLITests/SketchDocumentTests.swift:8:10: warning: [AlwaysUseLowerCamelCase] rename the function 'imageNameMap_returnsCorrectMap' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:11:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_success' using lowerCamelCase
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:44:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_invalidUtf8Data' using lowerCamelCase
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:80:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_noDmgLinkFound' using lowerCamelCase
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:127:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_networkError' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
[27/67] swift format lint
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/98] Emitting module AppScreenshotCore
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[30/102] Emitting module SwiftSyntax510
[31/102] Compiling SwiftSyntax510 Empty.swift
[32/103] Emitting module SwiftSyntax509
[33/103] Compiling SwiftSyntax509 Empty.swift
[35/104] Compiling AppScreenshotCore ScreenContentView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[36/104] Compiling AppScreenshotCore SharpView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[37/104] Compiling AppScreenshotCore VerticalLinesView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[38/104] Compiling AppScreenshotCore VirtualBezelView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[40/104] Compiling SwiftSyntax601 Empty.swift
[41/104] Emitting module SwiftSyntax601
[41/105] Wrapping AST for SwiftSyntax510 for debugging
[43/105] Emitting module SwiftSyntax600
[44/105] Compiling SwiftSyntax600 Empty.swift
[45/106] Wrapping AST for SwiftSyntax509 for debugging
[47/106] Wrapping AST for SwiftSyntax601 for debugging
[48/106] Wrapping AST for SwiftSyntax600 for debugging
[50/170] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[51/170] Compiling SwiftSyntax AbsoluteRawSyntax.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[52/170] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[53/170] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[54/170] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/170] Emitting module AppScreenshotKitCLI
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let urlSession: URLSessionProtocol
18 |
19 | init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | self.rssURL = rssURL
21 | self.urlSession = urlSession
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/BezelImageDownloader.swift:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
27 | shell: (() -> ShellProtocol) = { Shell() },
28 | urlSession: URLSessionProtocol = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
29 | ) {
30 | self.fileManager = fileManager
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/URLSession+Protocol.swift:13:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | /// Implement this protocol in types that need to perform network requests, such as `URLSession` or mock objects in test cases.
12 | protocol URLSessionProtocol {
13 | func data(from url: URL) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/URLSession+Protocol.swift:16:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 |
[56/171] Compiling SwiftSyntax SyntaxHashable.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[57/171] Compiling SwiftSyntax SyntaxIdentifier.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[58/171] Compiling SwiftSyntax SyntaxNodeFactory.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[59/171] Compiling SwiftSyntax SyntaxNodeStructure.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[60/171] Compiling AppScreenshotKitCLI Shell.swift
[61/171] Compiling AppScreenshotKitCLI DMGHandler.swift
[62/171] Compiling AppScreenshotKitCLI FileManager+Protocol.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let urlSession: URLSessionProtocol
18 |
19 | init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | self.rssURL = rssURL
21 | self.urlSession = urlSession
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/BezelImageDownloader.swift:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
27 | shell: (() -> ShellProtocol) = { Shell() },
28 | urlSession: URLSessionProtocol = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
29 | ) {
30 | self.fileManager = fileManager
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let urlSession: URLSessionProtocol
18 |
19 | init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | self.rssURL = rssURL
21 | self.urlSession = urlSession
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/BezelImageDownloader.swift:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
27 | shell: (() -> ShellProtocol) = { Shell() },
28 | urlSession: URLSessionProtocol = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
29 | ) {
30 | self.fileManager = fileManager
[65/171] Compiling AppScreenshotKitCLI RSSHandler.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let urlSession: URLSessionProtocol
18 |
19 | init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | self.rssURL = rssURL
21 | self.urlSession = urlSession
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let urlSession: URLSessionProtocol
18 |
19 | init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | self.rssURL = rssURL
21 | self.urlSession = urlSession
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/BezelImageDownloader.swift:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
27 | shell: (() -> ShellProtocol) = { Shell() },
28 | urlSession: URLSessionProtocol = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
29 | ) {
30 | self.fileManager = fileManager
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 | let urlSession: URLSessionProtocol
18 |
19 | init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | self.rssURL = rssURL
21 | self.urlSession = urlSession
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/BezelImageDownloader.swift:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
27 | shell: (() -> ShellProtocol) = { Shell() },
28 | urlSession: URLSessionProtocol = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
29 | ) {
30 | self.fileManager = fileManager
[68/171] Compiling SwiftSyntax SyntaxArena.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[69/171] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[70/171] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[71/171] Compiling SwiftSyntax SyntaxCollection.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[72/171] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[73/171] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[74/171] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[75/171] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[76/171] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[77/171] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[78/171] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[79/171] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[80/171] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[81/171] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[82/171] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[83/171] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[84/171] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[85/171] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[86/171] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[87/171] Compiling SwiftSyntax CustomTraits.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[88/171] Compiling SwiftSyntax EditorPlaceholder.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
7 |
8 | import Foundation
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
BUILD FAILURE 6.0 linux