Build Information
Failed to build AppScreenshotKit, reference v0.1.0 (b7d206
), with Swift 6.2 (beta) for Linux on 24 Jun 2025 03:53:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path: $PWD
https://github.com/shitamori1272/AppScreenshotKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.64s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (7.66s)
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
[23/49] Compiling _SwiftSyntaxCShims dummy.c
[24/49] Register Dummy Bezel image file
[25/49] Copying AppleDesignResource
[26/49] Write swift-version-24593BA9C3E375BF.txt
[28/98] Emitting module SwiftSyntax600
[29/98] Emitting module SwiftSyntax601
[29/98] swift format lint
[31/98] Emitting module SwiftSyntax509
[32/98] Compiling SwiftSyntax509 Empty.swift
[33/98] Compiling SwiftSyntax600 Empty.swift
[36/100] Compiling SwiftSyntax601 Empty.swift
[38/101] Emitting module SwiftSyntax510
[39/101] Compiling SwiftSyntax510 Empty.swift
[39/102] Wrapping AST for SwiftSyntax600 for debugging
[40/102] Wrapping AST for SwiftSyntax509 for debugging
[42/102] Wrapping AST for SwiftSyntax601 for debugging
[43/102] Wrapping AST for SwiftSyntax510 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/166] 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
[46/170] 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
[47/170] 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
[48/170] 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
[49/170] 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
[50/170] Compiling SwiftSyntax SyntaxCollections.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 SyntaxEnum.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 SyntaxKind.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 SyntaxRewriter.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 AbsolutePosition.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
[55/170] Compiling SwiftSyntax AbsoluteRawSyntax.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/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 [#NominalTypes]
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
17 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[57/171] Compiling AppScreenshotKitCLI DMGHandler.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
/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 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
[61/171] 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
[62/171] 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
[63/171] Compiling SwiftSyntax Trivia.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
[64/171] Compiling SwiftSyntax Utils.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
[65/171] Compiling SwiftSyntax ChildNameForKeyPath.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
[66/171] Compiling SwiftSyntax Keyword.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
[67/171] Compiling SwiftSyntax RenamedChildrenCompatibility.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
[68/171] Compiling SwiftSyntax RenamedNodesCompatibility.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 SyntaxAnyVisitor.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 SyntaxBaseNodes.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 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
[72/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
[73/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
[74/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
[75/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
[76/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
[77/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
[78/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
[79/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
[80/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
[81/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
[82/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
[83/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
BUILD FAILURE 6.2 linux