The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XPkg, reference v2.4.0 (75ac7a), with Swift 6.4 for Wasm on 23 Sep 2026 12:40:42 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/elegantchaos/Xpkg.git
Reference: v2.4.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/elegantchaos/Xpkg
 * tag               v2.4.0     -> FETCH_HEAD
HEAD is now at 75ac7ad added header
Cloned https://github.com/elegantchaos/Xpkg.git
Revision (git rev-parse @):
75ac7ad3d413a00823163b771384406000f4c4b7
SUCCESS checkout https://github.com/elegantchaos/Xpkg.git at v2.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/elegantchaos/Xpkg.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
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/Files.git
Fetching https://github.com/elegantchaos/XPkgPackage.git
Fetching https://github.com/elegantchaos/Runner.git
[1/229] Fetching xpkgpackage
[230/916] Fetching xpkgpackage, files
[258/1626] Fetching xpkgpackage, files, runner
[577/1778] Fetching xpkgpackage, files, runner, semanticversion
Fetched https://github.com/elegantchaos/SemanticVersion.git (0.52s)
Fetched https://github.com/elegantchaos/XPkgPackage.git (0.52s)
Fetched https://github.com/elegantchaos/Files.git (0.52s)
Fetching https://github.com/elegantchaos/CommandShell.git
Fetched https://github.com/elegantchaos/Runner.git (0.52s)
Fetching https://github.com/elegantchaos/Expressions.git
[1/467] Fetching versionator
[468/2838] Fetching versionator, logger
Fetched https://github.com/elegantchaos/Versionator.git (0.55s)
[48/2371] Fetching logger
Fetched https://github.com/elegantchaos/Logger.git (0.58s)
[1/198] Fetching expressions
Fetched https://github.com/elegantchaos/Expressions.git (0.53s)
[1/354] Fetching commandshell
Fetched https://github.com/elegantchaos/CommandShell.git (0.92s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (1.63s)
Computing version for https://github.com/elegantchaos/XPkgPackage.git
Computed https://github.com/elegantchaos/XPkgPackage.git at 1.2.0 (0.19s)
Computing version for https://github.com/elegantchaos/Files.git
Computed https://github.com/elegantchaos/Files.git at 1.2.2 (0.17s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git (0.50s)
Computing version for https://github.com/elegantchaos/Expressions.git
Computed https://github.com/elegantchaos/Expressions.git at 1.1.1 (0.68s)
Computing version for https://github.com/elegantchaos/CommandShell.git
Computed https://github.com/elegantchaos/CommandShell.git at 2.1.5 (0.18s)
Fetching https://github.com/apple/swift-argument-parser
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.83s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (1.01s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.17s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (0.20s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.18s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/166] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git (1.05s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (1.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.19s)
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/Files.git
Working copy of https://github.com/elegantchaos/Files.git resolved at 1.2.2
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/CommandShell.git
Working copy of https://github.com/elegantchaos/CommandShell.git resolved at 2.1.5
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/XPkgPackage.git
Working copy of https://github.com/elegantchaos/XPkgPackage.git resolved at 1.2.0
Creating working copy for https://github.com/elegantchaos/Expressions.git
Working copy of https://github.com/elegantchaos/Expressions.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 25]
[Pre-planning 1 / 423]
[Constructing 2 / 952]
[92 / 183] Logger
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[94 / 200] Files
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:12:16: error: cannot find type 'DispatchQueue' in scope
 10 |     public typealias PipeCallback = (String) -> Void
 11 |
 12 |     let queue: DispatchQueue
    |                `- error: cannot find type 'DispatchQueue' in scope
 13 |     var environment: [String:String]
 14 |     let executable: URL
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:90:20: error: cannot find type 'DispatchQueue' in scope
 88 |
 89 |         let pipe: Pipe
 90 |         let queue: DispatchQueue
    |                    `- error: cannot find type 'DispatchQueue' in scope
 91 |         var callback: PipeCallback
 92 |         var handle: FileHandle?
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:96:55: error: cannot find type 'DispatchQueue' in scope
 94 |         var buffer: Buffer
 95 |
 96 |         init(tee teeHandle: FileHandle? = nil, queue: DispatchQueue, callback: PipeCallback? = nil) {
    |                                                       `- error: cannot find type 'DispatchQueue' in scope
 97 |             let buffer = Buffer()
 98 |
/host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.swift:167:22: error: cannot find type 'Process' in scope
165 |         let stdout: PipeInfo?
166 |         let stderr: PipeInfo?
167 |         let process: Process
    |                      `- error: cannot find type 'Process' in scope
168 |     }
169 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Runner/Sources/Runner/Runner.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 -suppress-warnings -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/Runner.build/Debug-webassembly-wasm32/Runner-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Runner -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/Objects-normal/wasm32/Runner_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/Runner.build/Debug-webassembly-wasm32/Runner-t.build/Objects-normal/wasm32/Modules/Runner.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/Objects-normal/wasm32/Modules/Runner.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/Objects-normal/wasm32/Runner-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/Objects-normal/wasm32/Runner-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/Objects-normal/wasm32/Runner-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Runner.build/Debug-webassembly-wasm32/Runner-t.build/Objects-normal/wasm32/Modules/Runner.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm