The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPM, reference main (d0682c), with Swift 6.4 for Wasm on 24 Nov 2026 15:10:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/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/swiftlang/swift-package-manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d0682c0 Fix flaky lldbValidationIsWiredIntoCommandPipeline test (#10809)
Cloned https://github.com/swiftlang/swift-package-manager.git
Revision (git rev-parse @):
d0682c0dfb94a23599b728218b6bed7250ea92dd
SUCCESS checkout https://github.com/swiftlang/swift-package-manager.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/swiftlang/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/30211] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git (1.59s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/82317] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (2.81s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7449] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git (0.65s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/40415] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git (1.99s)
Fetching https://github.com/swiftlang/swift-build.git
[1/36054] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git (6.26s)
Fetching https://github.com/swiftlang/swift-tools-protocols.git
[1/33728] Fetching swift-tools-protocols
Fetched https://github.com/swiftlang/swift-tools-protocols.git (0.92s)
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
[1/405] Fetching swift-toolchain-sqlite
[10/19428] Fetching swift-toolchain-sqlite, swift-crypto
[391/24543] Fetching swift-toolchain-sqlite, swift-crypto, swift-subprocess
[582/32234] Fetching swift-toolchain-sqlite, swift-crypto, swift-subprocess, swift-certificates
[4889/51686] Fetching swift-toolchain-sqlite, swift-crypto, swift-subprocess, swift-certificates, swift-argument-parser
Fetched https://github.com/swiftlang/swift-subprocess.git (0.68s)
[19126/46571] Fetching swift-toolchain-sqlite, swift-crypto, swift-certificates, swift-argument-parser
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-certificates.git (0.68s)
[12598/38880] Fetching swift-toolchain-sqlite, swift-crypto, swift-argument-parser
[26695/46481] Fetching swift-toolchain-sqlite, swift-crypto, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system.git (1.11s)
Fetched https://github.com/swiftlang/swift-toolchain-sqlite (1.24s)
[1/30500] Fetching swift-collections
Fetched https://github.com/apple/swift-argument-parser.git (1.35s)
Fetched https://github.com/apple/swift-crypto.git (1.36s)
Fetched https://github.com/apple/swift-collections.git (1.26s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (2.10s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 1.0.2 (0.15s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.13 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.21s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.20s)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.13
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 1.0.2
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (73e0fac)
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.5
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (053868d)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (881ca1b)
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.8.2
Creating working copy for https://github.com/swiftlang/swift-tools-protocols.git
Working copy of https://github.com/swiftlang/swift-tools-protocols.git resolved at main (1583cff)
Creating working copy for https://github.com/swiftlang/swift-build.git
Working copy of https://github.com/swiftlang/swift-build.git resolved at main (d417bbc)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at main (7b9e1df)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
warning: 'swift-llbuild': The target named 'llbuild' was identified as an executable target but a non-executable product with this name already exists.
warning: 'swift-llbuild': The target named 'llbuild' was identified as an executable target but a non-executable product with this name already exists.
Building for debugging...
[Computing dependencies]
[Provisioning 4 / 172]
[Constructing description]
[Pre-planning 1 / 4368]
[Planning 1 / 4368]
[Planning 1599 / 4368]
[Planning 2597 / 4368]
[Planning 3379 / 4368]
[Planning 4102 / 4368]
[Planning deferred tasks]
[Constructing 1 / 9521]
[Constructing 3303 / 9521]
[Starting]
[10 / 2045] SystemPackage
[439 / 2045] SPMLLBuild
[640 / 2045] llvmDemangle
[641 / 2045] llvmSupport
[644 / 2045] llvmSupport
[644 / 2045] llvmDemangle
[648 / 2045] 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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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