The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Command, reference main (f67bf7), with Swift 6.2 for Wasm on 1 May 2026 03:22:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/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/tuist/Command
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f67bf70 chore(deps): update dependency tuist to v4.191.4 (#241)
Cloned https://github.com/tuist/Command.git
Revision (git rev-parse @):
f67bf70d2e0aabe17527c6be615eac87207c3c54
SUCCESS checkout https://github.com/tuist/Command.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tuist/Command.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/tuist/Path
Fetching https://github.com/apple/swift-log
[1/405] Fetching path
[406/2484] Fetching path, mockable
[2298/9293] Fetching path, mockable, swift-log
Fetched https://github.com/tuist/Path from cache (0.53s)
Fetched https://github.com/Kolos65/Mockable from cache (0.53s)
[3677/6809] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.92s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (1.70s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.49s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.2 (0.72s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5723] Fetching xctest-dynamic-overlay
[3550/80760] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (5.40s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.45s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (5.87s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.87s)
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
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.67s)
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version-24593BA9C3E375BF.txt
[6/57] Emitting module Logging
[7/57] Compiling Logging LogEvent.swift
[8/57] Emitting module Path
[9/57] Compiling Path Path.swift
[10/58] Wrapping AST for Path for debugging
[12/58] Compiling Logging MetadataProvider.swift
[13/58] Compiling Logging Locks.swift
[14/58] Compiling Logging LogHandler.swift
[15/58] Compiling Logging Logging.swift
[16/59] Wrapping AST for Logging for debugging
[18/59] Emitting module MockableMacro
[19/63] Compiling MockableMacro Variable+Mockable.swift
[20/63] Compiling MockableMacro MockableMacro.swift
[21/63] Compiling MockableMacro MockableMacroError.swift
[22/63] Compiling MockableMacro MockableMacroWarning.swift
[23/63] Compiling MockableMacro Plugin.swift
[24/63] Compiling MockableMacro FunctionRequirement.swift
[25/63] Compiling MockableMacro InitializerRequirement.swift
[26/63] Compiling MockableMacro Requirements.swift
[27/63] Compiling MockableMacro VariableRequirement.swift
[28/63] Compiling MockableMacro Availability.swift
[29/63] Compiling MockableMacro Buildable.swift
[30/63] Compiling MockableMacro Function+Buildable.swift
[31/63] Compiling MockableMacro Variable+Buildable.swift
[32/63] Compiling MockableMacro BuilderFactory.swift
[33/63] Compiling MockableMacro Caseable.swift
[34/63] Compiling MockableMacro MemberFactory.swift
[35/63] Compiling MockableMacro MockFactory.swift
[36/63] Compiling MockableMacro Function+Mockable.swift
[37/63] Compiling MockableMacro Initializer+Mockable.swift
[38/63] Compiling MockableMacro Mockable.swift
[39/63] Compiling MockableMacro Messages.swift
[40/63] Compiling MockableMacro Namespace.swift
[41/63] Compiling MockableMacro SwiftVersionHelper.swift
[42/63] Compiling MockableMacro TokenFinder.swift
[43/63] Compiling MockableMacro AttributeListSyntax+Extensions.swift
[44/63] Compiling MockableMacro AttributeSyntax+Extensions.swift
[45/63] Compiling MockableMacro DeclModifierListSyntax+Extensions.swift
[46/63] Compiling MockableMacro FunctionDeclSyntax+Extensions.swift
[47/63] Compiling MockableMacro FunctionParameterSyntax+Extensions.swift
[48/63] Compiling MockableMacro GenericArgumentSyntax+Extensions.swift
[49/63] Compiling MockableMacro ProtocolDeclSyntax+Extensions.swift
[50/63] Compiling MockableMacro String+Extensions.swift
[51/63] Compiling MockableMacro TokenSyntax+Extensions.swift
[52/63] Compiling MockableMacro VariableDeclSyntax+Extensions.swift
[53/63] Compiling MockableMacro Function+Caseable.swift
[54/63] Compiling MockableMacro Variable+Caseable.swift
[55/63] Compiling MockableMacro ConformanceFactory.swift
[56/63] Compiling MockableMacro EnumFactory.swift
[57/63] Compiling MockableMacro Factory.swift
[58/64] Wrapping AST for MockableMacro for debugging
[59/64] Write Objects.LinkFileList
[60/64] Linking MockableMacro-tool
[62/70] Compiling Command Command.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/70] 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 |
[64/70] Compiling Command AsyncThrowingStream+Extras.swift
[65/70] 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 {
[66/70] 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 |         }
[67/70] Compiling Command CommandRunner.swift
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:161:35: error: cannot find 'Process' in scope
159 |
160 |                     // Process
161 |                     let process = Process()
    |                                   `- error: cannot find 'Process' in scope
162 |                     let stdoutPipe = Pipe()
163 |                     let stderrPipe = Pipe()
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:277:23: error: cannot find 'Process' in scope
275 |         )
276 |
277 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
278 |         process.executableURL = URL(fileURLWithPath: command)
279 |         process.arguments = arguments
BUILD FAILURE 6.2 wasm