The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-commands, reference 0.7.0 (ed3de1), with Swift 6.3 for Wasm on 15 Apr 2026 10:10:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/QiuZhiFei/swift-commands.git
Reference: 0.7.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/QiuZhiFei/swift-commands
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at ed3de1c chore: version 0.7.0
Cloned https://github.com/QiuZhiFei/swift-commands.git
Revision (git rev-parse @):
ed3de1c1057f4e3a5b0371d0762facd7c9a3dace
SUCCESS checkout https://github.com/QiuZhiFei/swift-commands.git at 0.7.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/QiuZhiFei/swift-commands.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling Commands CommandsResponse.swift
[5/16] Compiling Commands CommandsResult.swift
[6/17] Compiling Commands Commands.swift
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 |   }
125 |
126 |   static func run(_ process: Process) throws {
    |                              `- error: cannot find type 'Process' in scope
127 |     if #available(macOS 10.13, *) {
128 |       try process.run()
[7/17] Compiling Commands CommandsAlias.swift
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 |   }
125 |
126 |   static func run(_ process: Process) throws {
    |                              `- error: cannot find type 'Process' in scope
127 |     if #available(macOS 10.13, *) {
128 |       try process.run()
[8/17] Compiling Commands CommandsArguments.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/17] Compiling Commands CommandsRequest.swift
[10/17] Emitting module Commands
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:106:55: error: cannot find type 'Process' in scope
104 |
105 | public extension Commands.Task {
106 |   static func prepare(_ request: Commands.Request) -> Process {
    |                                                       `- error: cannot find type 'Process' in scope
107 |     let process = Process()
108 |     if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 |   }
125 |
126 |   static func run(_ process: Process) throws {
    |                              `- error: cannot find type 'Process' in scope
127 |     if #available(macOS 10.13, *) {
128 |       try process.run()
[11/17] Compiling Commands CommandsDashcTransformer.swift
[12/17] Compiling Commands CommandsENV.swift
[13/17] Compiling Commands CommandsTask.swift
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:106:55: error: cannot find type 'Process' in scope
104 |
105 | public extension Commands.Task {
106 |   static func prepare(_ request: Commands.Request) -> Process {
    |                                                       `- error: cannot find type 'Process' in scope
107 |     let process = Process()
108 |     if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:126:30: error: cannot find type 'Process' in scope
124 |   }
125 |
126 |   static func run(_ process: Process) throws {
    |                              `- error: cannot find type 'Process' in scope
127 |     if #available(macOS 10.13, *) {
128 |       try process.run()
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:62:13: error: cannot find 'DispatchQueue' in scope
 60 |           if data.count > 0,
 61 |              let result = String(data: data, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) {
 62 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 63 |               output(result)
 64 |             }
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:58:41: error: value of type 'FileHandle' has no member 'readabilityHandler'
 56 |         let outputPipe = Pipe()
 57 |         process.standardOutput = outputPipe
 58 |         outputPipe.fileHandleForReading.readabilityHandler = { (handler) in
    |                                         `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 59 |           let data = handler.availableData
 60 |           if data.count > 0,
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:58:65: error: cannot infer type of closure parameter 'handler' without a type annotation
 56 |         let outputPipe = Pipe()
 57 |         process.standardOutput = outputPipe
 58 |         outputPipe.fileHandleForReading.readabilityHandler = { (handler) in
    |                                                                 `- error: cannot infer type of closure parameter 'handler' without a type annotation
 59 |           let data = handler.availableData
 60 |           if data.count > 0,
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:75:13: error: cannot find 'DispatchQueue' in scope
 73 |           if data.count > 0,
 74 |              let result = String(data: data, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) {
 75 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 76 |               errorOutput(result)
 77 |             }
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:71:40: error: value of type 'FileHandle' has no member 'readabilityHandler'
 69 |         let errorPipe = Pipe()
 70 |         process.standardError = errorPipe
 71 |         errorPipe.fileHandleForReading.readabilityHandler = { (handler) in
    |                                        `- error: value of type 'FileHandle' has no member 'readabilityHandler'
 72 |           let data = handler.availableData
 73 |           if data.count > 0,
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:71:64: error: cannot infer type of closure parameter 'handler' without a type annotation
 69 |         let errorPipe = Pipe()
 70 |         process.standardError = errorPipe
 71 |         errorPipe.fileHandleForReading.readabilityHandler = { (handler) in
    |                                                                `- error: cannot infer type of closure parameter 'handler' without a type annotation
 72 |           let data = handler.availableData
 73 |           if data.count > 0,
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:90:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 88 |         errorPipe.fileHandleForReading.readabilityHandler = nil
 89 |       }
 90 |     } catch let error {
    |       `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 91 |       print(error.localizedDescription)
 92 |     }
/host/spi-builder-workspace/Sources/Commands/CommandsTask.swift:107:19: error: cannot find 'Process' in scope
105 | public extension Commands.Task {
106 |   static func prepare(_ request: Commands.Request) -> Process {
107 |     let process = Process()
    |                   `- error: cannot find 'Process' in scope
108 |     if #available(macOS 10.13, *) {
109 |       process.executableURL = URL(fileURLWithPath: request.executableURL)
BUILD FAILURE 6.3 wasm