Build Information
Failed to build swift-command, reference main (b739c9
), with Swift 6.1 for Wasm on 30 May 2025 15:07:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/pelagornis/swift-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/pelagornis/swift-command
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b739c95 Update README.md
Cloned https://github.com/pelagornis/swift-command.git
Revision (git rev-parse @):
b739c9582541fd4eae9ef1c19ab6d343f766d358
SUCCESS checkout https://github.com/pelagornis/swift-command.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pelagornis/swift-command.git
https://github.com/pelagornis/swift-command.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "swift-command",
"name" : "swift-command",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Command",
"targets" : [
"Command"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CommandTests",
"module_type" : "SwiftTarget",
"name" : "CommandTests",
"path" : "Tests/CommandTests",
"sources" : [
"CommandTests.swift"
],
"target_dependencies" : [
"Command"
],
"type" : "test"
},
{
"c99name" : "Command",
"module_type" : "SwiftTarget",
"name" : "Command",
"path" : "Sources/Command",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"Command"
],
"sources" : [
"Alias.swift",
"Arguments.swift",
"Command.swift",
"CommandValues.swift",
"CommandValues/Bash.swift",
"CommandValues/Make.swift",
"CommandValues/Zsh.swift",
"Environment.swift",
"Internal/DataExt.swift",
"Internal/StringExt.swift",
"Internal/URLExt.swift",
"Request.swift",
"Response.swift",
"Result.swift",
"Support/Fastlane.swift",
"Support/Git.swift",
"Support/SwiftPackage.swift",
"Support/Tuist.swift",
"Task.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log
[1/2049] Fetching swift-docc-plugin
[227/5885] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-log from cache (0.74s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.82s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (3.12s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.08s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.32s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging LogHandler.swift
[7/10] Compiling Logging Logging.swift
[8/10] Emitting module Logging
[9/10] Compiling Logging Locks.swift
[10/10] Compiling Logging MetadataProvider.swift
[12/29] Compiling Command Alias.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
[13/29] Compiling Command Arguments.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
[14/29] Compiling Command Command.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/29] Emitting module Command
/host/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The global environment for all commands.
11 | public static var global = Environment()
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | //MARK: - Initializer
/host/spi-builder-workspace/Sources/Command/Task.swift:60:41: error: cannot find type 'Process' in scope
58 | public extension Task {
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
| `- error: cannot find type 'Process' in scope
61 | let process = Process()
62 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
[16/31] Compiling Command Zsh.swift
/host/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The global environment for all commands.
11 | public static var global = Environment()
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | //MARK: - Initializer
[17/31] Compiling Command Environment.swift
/host/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The global environment for all commands.
11 | public static var global = Environment()
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | //MARK: - Initializer
[18/31] Compiling Command DataExt.swift
/host/spi-builder-workspace/Sources/Command/Environment.swift:11:23: warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// The global environment for all commands.
11 | public static var global = Environment()
| |- warning: static property 'global' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'global' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | //MARK: - Initializer
[19/31] Compiling Command Tuist.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:60:41: error: cannot find type 'Process' in scope
58 | public extension Task {
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
| `- error: cannot find type 'Process' in scope
61 | let process = Process()
62 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
/host/spi-builder-workspace/Sources/Command/Task.swift:27:20: error: extraneous argument label 'process:' in call
25 |
26 | do {
27 | try run(process: process)
| `- error: extraneous argument label 'process:' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:27:37: error: missing argument for parameter 'log' in call
12 | /// running command.
13 | @discardableResult
14 | public func run(
| `- note: 'run(_:log:)' declared here
15 | _ request: Request,
16 | log: Bool
:
25 |
26 | do {
27 | try run(process: process)
| `- error: missing argument for parameter 'log' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:61:23: error: cannot find 'Process' in scope
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
61 | let process = Process()
| `- error: cannot find 'Process' in scope
62 | if #available(macOS 10.13, *) {
63 | process.executableURL = URL(path: request.executableURL)
[20/31] Compiling Command Task.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:60:41: error: cannot find type 'Process' in scope
58 | public extension Task {
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
| `- error: cannot find type 'Process' in scope
61 | let process = Process()
62 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
/host/spi-builder-workspace/Sources/Command/Task.swift:27:20: error: extraneous argument label 'process:' in call
25 |
26 | do {
27 | try run(process: process)
| `- error: extraneous argument label 'process:' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:27:37: error: missing argument for parameter 'log' in call
12 | /// running command.
13 | @discardableResult
14 | public func run(
| `- note: 'run(_:log:)' declared here
15 | _ request: Request,
16 | log: Bool
:
25 |
26 | do {
27 | try run(process: process)
| `- error: missing argument for parameter 'log' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:61:23: error: cannot find 'Process' in scope
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
61 | let process = Process()
| `- error: cannot find 'Process' in scope
62 | if #available(macOS 10.13, *) {
63 | process.executableURL = URL(path: request.executableURL)
[21/31] Compiling Command Git.swift
[22/31] Compiling Command SwiftPackage.swift
[23/31] Compiling Command CommandValues.swift
[24/31] Compiling Command Bash.swift
[25/31] Compiling Command Make.swift
[26/31] Compiling Command StringExt.swift
[27/31] Compiling Command URLExt.swift
[28/31] Compiling Command Result.swift
[29/31] Compiling Command Fastlane.swift
[30/31] Compiling Command Request.swift
[31/31] Compiling Command Response.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Emitting module Logging
[5/8] Compiling Logging MetadataProvider.swift
[6/8] Compiling Logging Locks.swift
[7/8] Compiling Logging Logging.swift
[8/8] Compiling Logging LogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/27] Emitting module Command
/host/spi-builder-workspace/Sources/Command/Task.swift:60:41: error: cannot find type 'Process' in scope
58 | public extension Task {
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
| `- error: cannot find type 'Process' in scope
61 | let process = Process()
62 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
[11/29] Compiling Command Alias.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
[12/29] Compiling Command Arguments.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
[13/29] Compiling Command Command.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
[14/29] Compiling Command CommandValues.swift
[15/29] Compiling Command Bash.swift
[16/29] Compiling Command Make.swift
[17/29] Compiling Command Tuist.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:60:41: error: cannot find type 'Process' in scope
58 | public extension Task {
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
| `- error: cannot find type 'Process' in scope
61 | let process = Process()
62 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
/host/spi-builder-workspace/Sources/Command/Task.swift:27:20: error: extraneous argument label 'process:' in call
25 |
26 | do {
27 | try run(process: process)
| `- error: extraneous argument label 'process:' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:27:37: error: missing argument for parameter 'log' in call
12 | /// running command.
13 | @discardableResult
14 | public func run(
| `- note: 'run(_:log:)' declared here
15 | _ request: Request,
16 | log: Bool
:
25 |
26 | do {
27 | try run(process: process)
| `- error: missing argument for parameter 'log' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:61:23: error: cannot find 'Process' in scope
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
61 | let process = Process()
| `- error: cannot find 'Process' in scope
62 | if #available(macOS 10.13, *) {
63 | process.executableURL = URL(path: request.executableURL)
[18/29] Compiling Command Task.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:60:41: error: cannot find type 'Process' in scope
58 | public extension Task {
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
| `- error: cannot find type 'Process' in scope
61 | let process = Process()
62 | if #available(macOS 10.13, *) {
/host/spi-builder-workspace/Sources/Command/Task.swift:93:23: error: cannot find type 'Process' in scope
91 |
92 | /// Process preprocessing
93 | func run(process: Process) throws {
| `- error: cannot find type 'Process' in scope
94 | if #available(macOS 10.13, *) {
95 | try process.run()
/host/spi-builder-workspace/Sources/Command/Task.swift:27:20: error: extraneous argument label 'process:' in call
25 |
26 | do {
27 | try run(process: process)
| `- error: extraneous argument label 'process:' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:27:37: error: missing argument for parameter 'log' in call
12 | /// running command.
13 | @discardableResult
14 | public func run(
| `- note: 'run(_:log:)' declared here
15 | _ request: Request,
16 | log: Bool
:
25 |
26 | do {
27 | try run(process: process)
| `- error: missing argument for parameter 'log' in call
28 |
29 | let outputActual = try fileHandleData(fileHandle: outputPipe.fileHandleForReading) ?? ""
/host/spi-builder-workspace/Sources/Command/Task.swift:61:23: error: cannot find 'Process' in scope
59 | /// Set the required parts before running the process
60 | func prepare(_ request: Request) -> Process {
61 | let process = Process()
| `- error: cannot find 'Process' in scope
62 | if #available(macOS 10.13, *) {
63 | process.executableURL = URL(path: request.executableURL)
[19/29] Compiling Command StringExt.swift
[20/29] Compiling Command URLExt.swift
[21/29] Compiling Command Request.swift
[22/29] Compiling Command Response.swift
[23/29] Compiling Command Result.swift
[24/29] Compiling Command Fastlane.swift
[25/29] Compiling Command Git.swift
[26/29] Compiling Command SwiftPackage.swift
[27/29] Compiling Command Zsh.swift
[28/29] Compiling Command Environment.swift
[29/29] Compiling Command DataExt.swift
BUILD FAILURE 6.1 wasm