Build Information
Failed to build Command, reference main (a3da8b), with Swift 6.3 for Wasm on 17 Apr 2026 05:06:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-cloud/Command.git
Reference: main
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/swift-cloud/Command
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a3da8b9 chore: remove mockable
Cloned https://github.com/swift-cloud/Command.git
Revision (git rev-parse @):
a3da8b91e60b84ba2c54ce0d4ce9a7e844509697
SUCCESS checkout https://github.com/swift-cloud/Command.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/swift-cloud/Command.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/tuist/Path
Fetching https://github.com/apple/swift-log
[1/401] Fetching path
Fetched https://github.com/tuist/Path from cache (0.23s)
[1/6611] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.07s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.75s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.91s)
Creating working copy for https://github.com/tuist/Path
Working copy of https://github.com/tuist/Path resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/17] Emitting module Path
[6/17] Compiling Path Path.swift
[7/18] Wrapping AST for Path for debugging
[9/18] Compiling Logging Locks.swift
[10/18] Emitting module Logging
[11/18] Compiling Logging LogEvent.swift
[12/18] Compiling Logging MetadataProvider.swift
[13/18] Compiling Logging LogHandler.swift
[14/18] Compiling Logging Logging.swift
[15/19] Wrapping AST for Logging for debugging
[17/25] Compiling Command Command.swift
[18/25] Compiling Command FileHandle+Extras.swift
/host/spi-builder-workspace/Sources/Command/FileHandle+Extras.swift:6:18: error: value of type 'FileHandle' has no member 'readabilityHandler'
4 | func byteStream() -> AsyncThrowingStream<Data, Error> {
5 | AsyncThrowingStream { continuation in
6 | self.readabilityHandler = { handle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
7 | let data = handle.availableData
8 | if data.isEmpty {
/host/spi-builder-workspace/Sources/Command/FileHandle+Extras.swift:6:41: error: cannot infer type of closure parameter 'handle' without a type annotation
4 | func byteStream() -> AsyncThrowingStream<Data, Error> {
5 | AsyncThrowingStream { continuation in
6 | self.readabilityHandler = { handle in
| `- error: cannot infer type of closure parameter 'handle' without a type annotation
7 | let data = handle.availableData
8 | if data.isEmpty {
[19/25] Compiling Command CommandRunner.swift
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:146:35: error: cannot find 'Process' in scope
144 |
145 | // Process
146 | let process = Process()
| `- error: cannot find 'Process' in scope
147 | let stdoutPipe = Pipe()
148 | let stderrPipe = Pipe()
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:261:23: error: cannot find 'Process' in scope
259 | )
260 |
261 | let process = Process()
| `- error: cannot find 'Process' in scope
262 | process.executableURL = URL(fileURLWithPath: command)
263 | process.arguments = arguments
[20/25] Compiling Command ThreadSafe.swift
/host/spi-builder-workspace/Sources/Command/ThreadSafe.swift:5:25: error: cannot find 'DispatchQueue' in scope
3 | /// Type that ensures thread-safe access to the underlying value using DispatchQueue.
4 | public final class ThreadSafe<T>: @unchecked Sendable {
5 | private let queue = DispatchQueue(label: "dev.tuist.Command.ThreadSafe", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
6 | private var _value: T
7 |
/host/spi-builder-workspace/Sources/Command/ThreadSafe.swift:5:91: error: cannot infer contextual base in reference to member 'concurrent'
3 | /// Type that ensures thread-safe access to the underlying value using DispatchQueue.
4 | public final class ThreadSafe<T>: @unchecked Sendable {
5 | private let queue = DispatchQueue(label: "dev.tuist.Command.ThreadSafe", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
6 | private var _value: T
7 |
/host/spi-builder-workspace/Sources/Command/ThreadSafe.swift:25:32: error: cannot infer contextual base in reference to member 'barrier'
23 | @discardableResult
24 | public func mutate<Result>(_ body: (inout T) throws -> Result) rethrows -> Result {
25 | try queue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
26 | try body(&_value)
27 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/25] Compiling Command AsyncThrowingStream+Extras.swift
[22/25] Emitting module Command
/host/spi-builder-workspace/Sources/Command/ThreadSafe.swift:5:25: error: cannot find 'DispatchQueue' in scope
3 | /// Type that ensures thread-safe access to the underlying value using DispatchQueue.
4 | public final class ThreadSafe<T>: @unchecked Sendable {
5 | private let queue = DispatchQueue(label: "dev.tuist.Command.ThreadSafe", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
6 | private var _value: T
7 |
/host/spi-builder-workspace/Sources/Command/ThreadSafe.swift:5:91: error: cannot infer contextual base in reference to member 'concurrent'
3 | /// Type that ensures thread-safe access to the underlying value using DispatchQueue.
4 | public final class ThreadSafe<T>: @unchecked Sendable {
5 | private let queue = DispatchQueue(label: "dev.tuist.Command.ThreadSafe", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
6 | private var _value: T
7 |
BUILD FAILURE 6.3 wasm