The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-command, reference 1.3.0 (f99f1d), with Swift 6.1 for Wasm on 30 May 2025 15:07:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 1.3.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/pelagornis/swift-command
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at f99f1d6 Update Swift-Command Version
Cloned https://github.com/pelagornis/swift-command.git
Revision (git rev-parse @):
f99f1d6c4c50bfc67aa9eb472c8e32a9dbc4206d
SUCCESS checkout https://github.com/pelagornis/swift-command.git at 1.3.0
========================================
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-4609320-3":/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.81s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.81s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.31s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.50s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.99s)
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.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
[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 Locks.swift
[7/10] Emitting module Logging
[8/10] Compiling Logging LogHandler.swift
[9/10] Compiling Logging MetadataProvider.swift
[10/10] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/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()
[13/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)
[14/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)
[15/31] Compiling Command Request.swift
[16/31] Compiling Command Response.swift
[17/31] Compiling Command CommandValues.swift
[18/31] Compiling Command Bash.swift
[19/31] Compiling Command Make.swift
[20/31] Compiling Command Result.swift
[21/31] Compiling Command Fastlane.swift
[22/31] Compiling Command StringExt.swift
[23/31] Compiling Command URLExt.swift
[24/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
[25/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
[26/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
[27/31] Compiling Command Git.swift
[28/31] Compiling Command SwiftPackage.swift
[29/31] 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()
[30/31] 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()
[31/31] 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()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
[10/27] Compiling Command CommandValues.swift
[11/27] Compiling Command Bash.swift
[12/27] Compiling Command Make.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/29] 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()
[14/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)
[15/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)
[16/29] Compiling Command Request.swift
[17/29] Compiling Command Response.swift
[18/29] Compiling Command Result.swift
[19/29] Compiling Command Fastlane.swift
[20/29] Compiling Command Zsh.swift
[21/29] Compiling Command Environment.swift
[22/29] Compiling Command DataExt.swift
[23/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()
[24/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()
[25/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()
[26/29] Compiling Command StringExt.swift
[27/29] Compiling Command URLExt.swift
[28/29] Compiling Command Git.swift
[29/29] Compiling Command SwiftPackage.swift
BUILD FAILURE 6.1 wasm