Build Information
Failed to build XPkgPackage, reference v1.2.0 (de01ca
), with Swift 6.1 for Wasm on 28 May 2025 08:58:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/XpkgPackage.git
Reference: v1.2.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/elegantchaos/XpkgPackage
* tag v1.2.0 -> FETCH_HEAD
HEAD is now at de01ca7 removed logger dependency
Cloned https://github.com/elegantchaos/XpkgPackage.git
Revision (git rev-parse @):
de01ca7b02865a280688018c3928ca4cf6a89f53
SUCCESS checkout https://github.com/elegantchaos/XpkgPackage.git at v1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/XpkgPackage.git
https://github.com/elegantchaos/XpkgPackage.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "runner",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Runner.git"
}
],
"manifest_display_name" : "XPkgPackage",
"name" : "XPkgPackage",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "XPkgPackage",
"targets" : [
"XPkgPackage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "XPkgPackageTests",
"module_type" : "SwiftTarget",
"name" : "XPkgPackageTests",
"path" : "Tests/XPkgPackageTests",
"sources" : [
"XPkgPackageTests.swift"
],
"target_dependencies" : [
"XPkgPackage"
],
"type" : "test"
},
{
"c99name" : "XPkgPackage",
"module_type" : "SwiftTarget",
"name" : "XPkgPackage",
"path" : "Sources/XPkgPackage",
"product_dependencies" : [
"Runner"
],
"product_memberships" : [
"XPkgPackage"
],
"sources" : [
"Action.swift",
"FileExtensions.swift",
"InstalledPackage.swift",
"ManifestLink.swift",
"Package.swift",
"PackageError.swift",
"ResolvedLink.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/elegantchaos/Runner.git
[1/676] Fetching runner
Fetched https://github.com/elegantchaos/Runner.git from cache (0.46s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (1.67s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.43s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (1.58s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.81s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (2.43s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Runner
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
[5/5] Compiling Runner Runner.swift
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:44:22: error: cannot find 'DispatchQueue' in scope
42 | self.environment = environment
43 | self.cwd = cwd
44 | self.queue = DispatchQueue(label: "runner.\(executable.lastPathComponent)")
| `- error: cannot find 'DispatchQueue' in scope
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:56:22: error: cannot find 'DispatchQueue' in scope
54 | self.environment = environment
55 | self.cwd = cwd
56 | self.queue = DispatchQueue(label: "runner.\(command)")
| `- error: cannot find 'DispatchQueue' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:65:23: error: cannot find 'Process' in scope
63 |
64 | public func exec(arguments: [String] = []) -> Never {
65 | let process = Process()
| `- error: cannot find 'Process' in scope
66 | if let cwd = cwd {
67 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:21: error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:44: error: cannot infer type of closure parameter 'handle' without a type annotation
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:118:28: error: value of type 'FileHandle' has no member 'readabilityHandler'
116 | queue.async {
117 | let data = handle.readDataToEndOfFile()
118 | handle.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
119 | self.write(data: data)
120 | }
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:147:23: error: cannot find 'Process' in scope
145 |
146 | public func sync(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> Result {
147 | let process = Process()
| `- error: cannot find 'Process' in scope
148 | if let cwd = cwd {
149 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:177:23: error: cannot find 'Process' in scope
175 | public func async(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> RunningProcess {
176 |
177 | let process = Process()
| `- error: cannot find 'Process' in scope
178 | if let cwd = cwd {
179 | process.currentDirectoryURL = cwd
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Runner
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
[3/3] Compiling Runner Runner.swift
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
10 | public typealias PipeCallback = (String) -> Void
11 |
12 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
13 | var environment: [String:String]
14 | let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
88 |
89 | let pipe: Pipe
90 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
91 | var callback: PipeCallback
92 | var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
94 | var buffer: Buffer
95 |
96 | init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
97 | let buffer = Buffer()
98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 | let stdout: PipeInfo?
166 | let stderr: PipeInfo?
167 | let process: Process
| `- error: cannot find type 'Process' in scope
168 | }
169 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:44:22: error: cannot find 'DispatchQueue' in scope
42 | self.environment = environment
43 | self.cwd = cwd
44 | self.queue = DispatchQueue(label: "runner.\(executable.lastPathComponent)")
| `- error: cannot find 'DispatchQueue' in scope
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:56:22: error: cannot find 'DispatchQueue' in scope
54 | self.environment = environment
55 | self.cwd = cwd
56 | self.queue = DispatchQueue(label: "runner.\(command)")
| `- error: cannot find 'DispatchQueue' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:65:23: error: cannot find 'Process' in scope
63 |
64 | public func exec(arguments: [String] = []) -> Never {
65 | let process = Process()
| `- error: cannot find 'Process' in scope
66 | if let cwd = cwd {
67 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:21: error: value of type 'FileHandle' has no member 'readabilityHandler'
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:106:44: error: cannot infer type of closure parameter 'handle' without a type annotation
104 | self.callback = callback ?? { buffer.text.append($0) }
105 |
106 | handle?.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
107 | let data = handle.availableData
108 | queue.async {
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:118:28: error: value of type 'FileHandle' has no member 'readabilityHandler'
116 | queue.async {
117 | let data = handle.readDataToEndOfFile()
118 | handle.readabilityHandler = nil
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
119 | self.write(data: data)
120 | }
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:147:23: error: cannot find 'Process' in scope
145 |
146 | public func sync(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> Result {
147 | let process = Process()
| `- error: cannot find 'Process' in scope
148 | if let cwd = cwd {
149 | process.currentDirectoryURL = cwd
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:177:23: error: cannot find 'Process' in scope
175 | public func async(arguments: [String] = [], stdoutMode: Mode = .capture, stderrMode: Mode = .capture) throws -> RunningProcess {
176 |
177 | let process = Process()
| `- error: cannot find 'Process' in scope
178 | if let cwd = cwd {
179 | process.currentDirectoryURL = cwd
BUILD FAILURE 6.1 wasm