The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-argument-parser, reference 1.2.3 (8e0533), with Swift 6.4 for Wasm on 20 Sep 2026 04:43:45 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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-arg-parser.git
Reference: 1.2.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/stackotter/swift-arg-parser
 * tag               1.2.3      -> FETCH_HEAD
HEAD is now at 8e0533b Upgrade to v1.2.3 (#2)
Cloned https://github.com/stackotter/swift-arg-parser.git
Revision (git rev-parse @):
8e0533b4fef5380274cdeca5167f99b318372cb5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/swift-arg-parser.git at 1.2.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/stackotter/swift-arg-parser.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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 240]
[47 / 78] StackOtterArgParserToolInfo
/host/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import StackOtterArgParserToolInfo
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 | @_implementationOnly import class Foundation.JSONEncoder
 14 |
/host/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 11 |
 12 | @_implementationOnly import StackOtterArgParserToolInfo
 13 | @_implementationOnly import class Foundation.JSONEncoder
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 14 |
 15 | internal struct DumpHelpGenerator {
/host/spi-builder-workspace/Sources/ArgumentParser/Usage/MessageInfo.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import protocol Foundation.LocalizedError
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 | @_implementationOnly import class Foundation.NSError
 14 |
/host/spi-builder-workspace/Sources/ArgumentParser/Usage/MessageInfo.swift:13:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 11 |
 12 | @_implementationOnly import protocol Foundation.LocalizedError
 13 | @_implementationOnly import class Foundation.NSError
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 14 |
 15 | enum MessageInfo {
/host/spi-builder-workspace/Sources/ArgumentParser/Usage/UsageGenerator.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import protocol Foundation.LocalizedError
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'StackOtterArgParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 |
 14 | struct UsageGenerator {
/host/spi-builder-workspace/Sources/ArgumentParser/Parsable Types/ParsableArgumentsValidation.swift:26:7: warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 24 |
 25 | struct ParsableArgumentsValidationError: Error, CustomStringConvertible {
 26 |   let parsableArgumentsType: ParsableArguments.Type
    |       `- warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 27 |   let underlayingErrors: [Error]
 28 |   var description: String {
/host/spi-builder-workspace/Sources/ArgumentParser/Parsable Types/ParsableArgumentsValidation.swift:177:9: warning: stored property 'type' of 'Sendable'-conforming struct 'InvalidDecoderError' has non-Sendable type 'any ParsableArguments.Type'
175 |
176 |   struct InvalidDecoderError: ParsableArgumentsValidatorError, CustomStringConvertible {
177 |     let type: ParsableArguments.Type
    |         `- warning: stored property 'type' of 'Sendable'-conforming struct 'InvalidDecoderError' has non-Sendable type 'any ParsableArguments.Type'
178 |
179 |     var description: String {
/host/spi-builder-workspace/Sources/ArgumentParser/Parsing/CommandParser.swift:13:7: warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 11 |
 12 | struct CommandError: Error {
 13 |   var commandStack: [ParsableCommand.Type]
    |       `- warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 14 |   var parserError: ParserError
 15 | }
/host/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:16:17: warning: cannot use struct 'ToolInfoV0' in a property declaration member of a type not marked '@_implementationOnly'; 'StackOtterArgParserToolInfo' has been imported as implementation-only
 14 |
 15 | internal struct DumpHelpGenerator {
 16 |   var toolInfo: ToolInfoV0
    |                 `- warning: cannot use struct 'ToolInfoV0' in a property declaration member of a type not marked '@_implementationOnly'; 'StackOtterArgParserToolInfo' has been imported as implementation-only
 17 |
 18 |   init(_ type: ParsableArguments.Type) {
/host/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: note: struct declared here
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |               `- note: struct declared here
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
/host/spi-builder-workspace/Sources/ArgumentParser/Utilities/Tree.swift:102:10: warning: associated value 'recursiveSubcommand' of 'Sendable'-conforming enum 'InitializationError' has non-Sendable type 'any ParsableCommand.Type'
100 |
101 |   enum InitializationError: Error {
102 |     case recursiveSubcommand(ParsableCommand.Type)
    |          `- warning: associated value 'recursiveSubcommand' of 'Sendable'-conforming enum 'InitializationError' has non-Sendable type 'any ParsableCommand.Type'
103 |   }
104 | }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[61 / 88] StackOtterArgParser
/host/spi-builder-workspace/Sources/ArgumentParser/Parsing/CommandParser.swift:13:7: warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 11 |
 12 | struct CommandError: Error {
 13 |   var commandStack: [ParsableCommand.Type]
    |       `- warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 14 |   var parserError: ParserError
 15 | }
/host/spi-builder-workspace/Sources/ArgumentParser/Parsable Types/ParsableArgumentsValidation.swift:26:7: warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 24 |
 25 | struct ParsableArgumentsValidationError: Error, CustomStringConvertible {
 26 |   let parsableArgumentsType: ParsableArguments.Type
    |       `- warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 27 |   let underlayingErrors: [Error]
 28 |   var description: String {
/host/spi-builder-workspace/Sources/ArgumentParser/Parsable Types/ParsableArgumentsValidation.swift:177:9: warning: stored property 'type' of 'Sendable'-conforming struct 'InvalidDecoderError' has non-Sendable type 'any ParsableArguments.Type'
175 |
176 |   struct InvalidDecoderError: ParsableArgumentsValidatorError, CustomStringConvertible {
177 |     let type: ParsableArguments.Type
    |         `- warning: stored property 'type' of 'Sendable'-conforming struct 'InvalidDecoderError' has non-Sendable type 'any ParsableArguments.Type'
178 |
179 |     var description: String {
[73 / 95] roll-product
[81 / 98] StackOtterArgParserToolInfo
[85 / 103] StackOtterArgParserTestHelpers
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/ArgumentParserTestHelpers/TestHelpers.swift:29:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 29 | extension CollectionDifference.Change: Comparable where ChangeElement: Equatable {
    | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |   public static func < (lhs: Self, rhs: Self) -> Bool {
 31 |     guard lhs.offset == rhs.offset else {
/host/spi-builder-workspace/Sources/ArgumentParserTestHelpers/TestHelpers.swift:47:31: error: cannot find type 'XCTestExpectation' in scope
 45 | // extensions to the ParsableArguments protocol to facilitate XCTestExpectation support
 46 | public protocol TestableParsableArguments: ParsableArguments {
 47 |   var didValidateExpectation: XCTestExpectation { get }
    |                               `- error: cannot find type 'XCTestExpectation' in scope
 48 | }
 49 |
/host/spi-builder-workspace/Sources/ArgumentParserTestHelpers/TestHelpers.swift:58:26: error: cannot find type 'XCTestExpectation' in scope
 56 | // extensions to the ParsableCommand protocol to facilitate XCTestExpectation support
 57 | public protocol TestableParsableCommand: ParsableCommand, TestableParsableArguments {
 58 |   var didRunExpectation: XCTestExpectation { get }
    |                          `- error: cannot find type 'XCTestExpectation' in scope
 59 | }
 60 |
/host/spi-builder-workspace/Sources/ArgumentParserTestHelpers/TestHelpers.swift:67:11: error: cannot find type 'XCTestExpectation' in scope
 65 | }
 66 |
 67 | extension XCTestExpectation {
    |           `- error: cannot find type 'XCTestExpectation' in scope
 68 |   public convenience init(singleExpectation description: String) {
 69 |     self.init(description: description)
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/ArgumentParserTestHelpers/StringHelpers.swift /host/spi-builder-workspace/Sources/ArgumentParserTestHelpers/TestHelpers.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StackOtterArgParserTestHelpers -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/Objects-normal/wasm32/StackOtterArgParserTestHelpers_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/Objects-normal/wasm32/Modules/StackOtterArgParserTestHelpers.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/Objects-normal/wasm32/Modules/StackOtterArgParserTestHelpers.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/Objects-normal/wasm32/StackOtterArgParserTestHelpers-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/Objects-normal/wasm32/StackOtterArgParserTestHelpers-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/Objects-normal/wasm32/StackOtterArgParserTestHelpers-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/StackOtterArgParserTestHelpers-t.build/Objects-normal/wasm32/Modules/StackOtterArgParserTestHelpers.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm