The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPM, reference main (7df932), with Swift 6.4 for Wasm on 20 Sep 2026 21:00:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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/art-divin/swift-package-manager.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/art-divin/swift-package-manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7df9321 Possible fix for Docker
Cloned https://github.com/art-divin/swift-package-manager.git
Revision (git rev-parse @):
7df9321541e544d711dd93f5b97dd4e8bf7e100e
SUCCESS checkout https://github.com/art-divin/swift-package-manager.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/art-divin/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/art-divin/swift-driver.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/18549] Fetching swift-crypto
[2/41581] Fetching swift-crypto, swift-driver
[603/49154] Fetching swift-crypto, swift-driver, swift-certificates
[2243/68072] Fetching swift-crypto, swift-driver, swift-certificates, swift-argument-parser
[19949/74970] Fetching swift-crypto, swift-driver, swift-certificates, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-certificates.git (0.62s)
[26438/67397] Fetching swift-crypto, swift-driver, swift-argument-parser, swift-system
[27868/94749] Fetching swift-crypto, swift-driver, swift-argument-parser, swift-system, swift-collections
Fetching https://github.com/art-divin/swift-tools-support-core.git
Fetched https://github.com/apple/swift-argument-parser.git (0.90s)
[47405/75831] Fetching swift-crypto, swift-driver, swift-system, swift-collections
Fetching https://github.com/art-divin/swift-llbuild.git
[56744/79322] Fetching swift-crypto, swift-driver, swift-system, swift-collections, swift-tools-support-core
Fetched https://github.com/art-divin/swift-tools-support-core.git (0.54s)
[65073/75831] Fetching swift-crypto, swift-driver, swift-system, swift-collections
[75832/93268] Fetching swift-crypto, swift-driver, swift-system, swift-collections, swift-llbuild
Fetched https://github.com/art-divin/swift-driver.git (1.56s)
Fetched https://github.com/apple/swift-collections.git (1.56s)
[28586/42884] Fetching swift-crypto, swift-system, swift-llbuild
Fetched https://github.com/apple/swift-system.git (1.68s)
[33197/35986] Fetching swift-crypto, swift-llbuild
Fetched https://github.com/apple/swift-crypto.git (1.70s)
Fetched https://github.com/art-divin/swift-llbuild.git (0.98s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.0.1 (2.14s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.21s)
Computing version for https://github.com/art-divin/swift-driver.git
Computed https://github.com/art-divin/swift-driver.git at 1.0.1 (0.26s)
Fetching https://github.com/jpsim/Yams.git
[1/11861] Fetching yams
Fetched https://github.com/jpsim/Yams.git (1.17s)
Computing version for https://github.com/art-divin/swift-tools-support-core.git
Computed https://github.com/art-divin/swift-tools-support-core.git at 1.0.0 (1.39s)
Computing version for https://github.com/art-divin/swift-llbuild.git
Computed https://github.com/art-divin/swift-llbuild.git at 1.0.0 (0.23s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.22s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.19s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.30s)
Creating working copy for https://github.com/art-divin/swift-tools-support-core.git
Working copy of https://github.com/art-divin/swift-tools-support-core.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/art-divin/swift-llbuild.git
Working copy of https://github.com/art-divin/swift-llbuild.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/art-divin/swift-driver.git
Working copy of https://github.com/art-divin/swift-driver.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PackageModel/InstalledLibrariesSupport/provided-libraries.json
warning: 'spi-builder-workspace': couldn't find pc file for sqlite3
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 99]
[Pre-planning 1 / 2472]
[Planning 1014 / 2472]
[Planning 2065 / 2472]
[Planning deferred tasks]
[Constructing 673 / 5506]
[Starting]
[166 / 1261] SwiftASN1
[355 / 1270] llvmSupport
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:72:17: error: no member named 'thread' in namespace 'std'
   72 |     return std::thread::hardware_concurrency();
      |            ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:83:27: error: no member named 'thread' in namespace 'std'
   83 |   if (unsigned Val = std::thread::hardware_concurrency())
      |                      ~~~~~^
2 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug-webassembly-wasm32/llvmSupport-t.build/Objects-normal/wasm32/Threading.o /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug-webassembly-wasm32/llvmSupport-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --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 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug-webassembly-wasm32/llvmSupport-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug-webassembly-wasm32/llvmSupport-t.build/Objects-normal/wasm32/Threading.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug-webassembly-wasm32/llvmSupport-t.build/Objects-normal/wasm32/Threading.dia -c /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/llbuild.build/Debug-webassembly-wasm32/llvmSupport-t.build/Objects-normal/wasm32/Threading.o
error: Build failed
BUILD FAILURE 6.4 wasm