The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Command, reference 0.14.14 (a1be62), with Swift 6.3 for Wasm on 28 Sep 2026 19:38:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/Command.git
Reference: 0.14.14
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
 * tag               0.14.14    -> FETCH_HEAD
HEAD is now at a1be621 [Release] Command 0.14.14
Cloned https://github.com/tuist/Command.git
Revision (git rev-parse @):
a1be621b314df169c89ee26a5c0deb380c155ccb
SUCCESS checkout https://github.com/tuist/Command.git at 0.14.14
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tuist/Command.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/tuist/Path
[1/412] Fetching path
[92/2542] Fetching path, mockable
Fetched https://github.com/tuist/Path from cache (0.49s)
[895/2130] Fetching mockable
Fetched https://github.com/Kolos65/Mockable from cache (0.53s)
[1/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.76s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.4 (0.96s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.72s)
[1/80070] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.04s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.92s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.15s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.14s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.26s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.4
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/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.20s)
Building for debugging...
[0/13] Write sources
[4/13] Write swift-version-24593BA9C3E375BF.txt
[6/62] Compiling Logging LoggingSystem.swift
[7/63] Compiling Logging Logger+With.swift
[8/63] Compiling Logging Logger.swift
[9/63] Compiling Logging Logger+Attributes.swift
[10/63] Compiling MockableMacro FunctionParameterSyntax+Extensions.swift
[11/63] Compiling MockableMacro Variable+Mockable.swift
[12/63] Emitting module Path
[13/63] Compiling Path Path.swift
[14/64] Wrapping AST for Path for debugging
[16/64] Compiling Logging MetadataProvider.swift
[17/64] Compiling MockableMacro DeclModifierListSyntax+Extensions.swift
[18/64] Compiling MockableMacro FunctionDeclSyntax+Extensions.swift
[19/64] Emitting module Logging
[20/64] Compiling MockableMacro AttributeListSyntax+Extensions.swift
[21/64] Compiling MockableMacro AttributeSyntax+Extensions.swift
[22/65] Wrapping AST for Logging for debugging
[24/65] Compiling MockableMacro Buildable.swift
[25/65] Compiling MockableMacro Function+Buildable.swift
[26/65] Compiling MockableMacro Variable+Buildable.swift
[27/65] Compiling MockableMacro BuilderFactory.swift
[28/65] Compiling MockableMacro Caseable.swift
[29/65] Emitting module MockableMacro
[31/69] Compiling MockableMacro MockableMacro.swift
[32/69] Compiling MockableMacro MockableMacroError.swift
[33/69] Compiling MockableMacro MockableMacroWarning.swift
[34/69] Compiling MockableMacro Plugin.swift
[35/69] Compiling MockableMacro MemberFactory.swift
[36/69] Compiling MockableMacro MockFactory.swift
[37/69] Compiling MockableMacro Function+Mockable.swift
[38/69] Compiling MockableMacro Initializer+Mockable.swift
[39/69] Compiling MockableMacro Mockable.swift
[40/69] Compiling MockableMacro Messages.swift
[41/69] Compiling MockableMacro Namespace.swift
[42/69] Compiling MockableMacro SwiftVersionHelper.swift
[43/69] Compiling MockableMacro TokenFinder.swift
[49/69] Compiling MockableMacro FunctionRequirement.swift
[50/69] Compiling MockableMacro InitializerRequirement.swift
[51/69] Compiling MockableMacro Requirements.swift
[52/69] Compiling MockableMacro VariableRequirement.swift
[53/69] Compiling MockableMacro Availability.swift
[54/69] Compiling MockableMacro GenericArgumentSyntax+Extensions.swift
[55/69] Compiling MockableMacro ProtocolDeclSyntax+Extensions.swift
[56/69] Compiling MockableMacro String+Extensions.swift
[57/69] Compiling MockableMacro TokenSyntax+Extensions.swift
[58/69] Compiling MockableMacro VariableDeclSyntax+Extensions.swift
[59/69] Compiling MockableMacro Function+Caseable.swift
[60/69] Compiling MockableMacro Variable+Caseable.swift
[61/69] Compiling MockableMacro ConformanceFactory.swift
[62/69] Compiling MockableMacro EnumFactory.swift
[63/69] Compiling MockableMacro Factory.swift
[64/70] Wrapping AST for MockableMacro for debugging
[65/70] Write Objects.LinkFileList
[66/70] Linking MockableMacro-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/77] 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 |
[69/77] Compiling Command Command.swift
[70/77] 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 |         }
[71/77] 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 {
[72/77] Compiling Command AsyncThrowingStream+Extras.swift
[73/77] Compiling Command AsyncResourceLimiter.swift
[74/77] Compiling Command CommandRunner.swift
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:199:33: error: cannot find 'rlimit' in scope
197 |             return fallbackMaximumConcurrentProcesses
198 |         #else
199 |             var resourceLimit = rlimit()
    |                                 `- error: cannot find 'rlimit' in scope
200 |             #if canImport(Glibc)
201 |                 let openFilesResource = Int32(RLIMIT_NOFILE.rawValue)
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:203:41: error: cannot find 'RLIMIT_NOFILE' in scope
201 |                 let openFilesResource = Int32(RLIMIT_NOFILE.rawValue)
202 |             #else
203 |                 let openFilesResource = RLIMIT_NOFILE
    |                                         `- error: cannot find 'RLIMIT_NOFILE' in scope
204 |             #endif
205 |             guard getrlimit(openFilesResource, &resourceLimit) == 0 else {
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:205:19: error: cannot find 'getrlimit' in scope
203 |                 let openFilesResource = RLIMIT_NOFILE
204 |             #endif
205 |             guard getrlimit(openFilesResource, &resourceLimit) == 0 else {
    |                   `- error: cannot find 'getrlimit' in scope
206 |                 return fallbackMaximumConcurrentProcesses
207 |             }
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:222:45: error: cannot find type 'Process' in scope
220 |     ) -> AsyncThrowingStream<CommandEvent, any Error> {
221 |         AsyncThrowingStream(CommandEvent.self, bufferingPolicy: .unbounded) { continuation in
222 |             let runningProcess = ThreadSafe<Process?>(nil)
    |                                             `- error: cannot find type 'Process' in scope
223 |
224 |             let task = Task.detached {
/host/spi-builder-workspace/Sources/Command/CommandRunner.swift:408:23: error: cannot find 'Process' in scope
406 |         )
407 |
408 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
409 |         process.executableURL = URL(fileURLWithPath: command)
410 |         process.arguments = arguments
BUILD FAILURE 6.3 wasm