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 Commander, reference 0.6.3 (7791c4), with Swift 6.1 for Wasm on 27 May 2025 21:13:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/devedbox/commander.git
Reference: 0.6.3
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/devedbox/commander
 * tag               0.6.3      -> FETCH_HEAD
HEAD is now at 7791c48 feat: Updates the type alias for subcommands.
Cloned https://github.com/devedbox/commander.git
Revision (git rev-parse @):
7791c480a2e508229a14275630612bfea3d3c0b2
SUCCESS checkout https://github.com/devedbox/commander.git at 0.6.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/devedbox/commander.git
https://github.com/devedbox/commander.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Commander",
  "name" : "Commander",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commander",
      "targets" : [
        "Commander"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "commander-sample",
      "targets" : [
        "commander-sample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "commander_sample",
      "module_type" : "SwiftTarget",
      "name" : "commander-sample",
      "path" : "Sources/commander-sample",
      "product_memberships" : [
        "commander-sample"
      ],
      "sources" : [
        "SampleCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Commander"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "UtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilityTests",
      "path" : "Tests/UtilityTests",
      "sources" : [
        "Bool+Tests.swift",
        "CommandLineTests.swift",
        "Optional+Tests.swift",
        "String+Tests.swift",
        "UtilityTests.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_memberships" : [
        "Commander",
        "commander-sample"
      ],
      "sources" : [
        "Bool+.swift",
        "Collection+.swift",
        "CommandLine.swift",
        "Optional+.swift",
        "String+.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommanderTests",
      "module_type" : "SwiftTarget",
      "name" : "CommanderTests",
      "path" : "Tests/CommanderTests",
      "sources" : [
        "CommandPathTests.swift",
        "CommandTests.swift",
        "CommanderTests.swift",
        "GlobalOptionsTests.swift",
        "OptionsDecoderTests.swift",
        "WrappedCommandTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Commander"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Commander",
      "module_type" : "SwiftTarget",
      "name" : "Commander",
      "path" : "Sources/Commander",
      "product_memberships" : [
        "Commander",
        "commander-sample"
      ],
      "sources" : [
        "Built-Ins/BuiltIn.swift",
        "Built-Ins/Commands/Complete.swift",
        "Built-Ins/Commands/Help.swift",
        "Commander.swift",
        "Commands/CommandDescriber.swift",
        "Commands/CommandPath.swift",
        "Commands/CommandRepresentable.swift",
        "Error.swift",
        "Options/DefaultOptions.swift",
        "Options/Option.swift",
        "Options/OptionDescription.swift",
        "Options/OptionsDecoder.swift",
        "Options/OptionsRepresentable.swift",
        "Shell.swift",
        "misc.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/15] Emitting module Utility
[6/15] Compiling Utility Bool+.swift
[7/15] Compiling Utility String+.swift
[8/15] Compiling Utility Collection+.swift
[9/15] Compiling Utility Optional+.swift
[10/15] Compiling Utility CommandLine.swift
[11/16] Wrapping AST for Utility for debugging
[13/31] Compiling Commander DefaultOptions.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[14/31] Compiling Commander Option.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[15/31] Compiling Commander CommandRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[16/31] Compiling Commander Error.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[17/32] Compiling Commander OptionsRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[18/32] Compiling Commander Shell.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[19/32] Compiling Commander CommandDescriber.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[20/32] Compiling Commander CommandPath.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/32] Emitting module Commander
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[22/32] Compiling Commander BuiltIn.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[23/32] Compiling Commander Complete.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[24/32] Compiling Commander Help.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[25/32] Compiling Commander Commander.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[26/32] Compiling Commander OptionDescription.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[27/32] Compiling Commander OptionsDecoder.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[28/32] Compiling Commander misc.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling Utility CommandLine.swift
[3/12] Emitting module Utility
[4/12] Compiling Utility Bool+.swift
[5/12] Compiling Utility Collection+.swift
[6/12] Compiling Utility Optional+.swift
[7/12] Compiling Utility String+.swift
[9/27] Compiling Commander CommandRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[10/27] Compiling Commander Error.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[11/28] Compiling Commander Help.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[12/28] Compiling Commander Commander.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[13/28] Compiling Commander OptionsRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[14/28] Compiling Commander Shell.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/28] Emitting module Commander
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[16/28] Compiling Commander BuiltIn.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[17/28] Compiling Commander Complete.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[18/28] Compiling Commander misc.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[19/28] Compiling Commander OptionDescription.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[20/28] Compiling Commander OptionsDecoder.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[21/28] Compiling Commander CommandDescriber.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[22/28] Compiling Commander CommandPath.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[23/28] Compiling Commander DefaultOptions.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
[24/28] Compiling Commander Option.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:31:8: error: no such module 'Darwin'
29 | import Glibc
30 | #else
31 | import Darwin
   |        `- error: no such module 'Darwin'
32 | #endif
33 | import Foundation
BUILD FAILURE 6.1 wasm