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 swift-driver, reference main (31f762), with Swift 6.2 for Wasm on 13 Dec 2025 03:33:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-driver.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-driver
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 31f762e Merge pull request #2016 from DanBlackwell/add-memtagstack-option
Cloned https://github.com/swiftlang/swift-driver.git
Revision (git rev-parse @):
31f762e998d98f74d698c9da9d864197cf12a569
SUCCESS checkout https://github.com/swiftlang/swift-driver.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-driver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29399] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.87s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7122] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.88s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
[1/204] Fetching swift-toolchain-sqlite
[18/17125] Fetching swift-toolchain-sqlite, swift-argument-parser
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.69s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.70s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (2.53s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.86s)
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.6.2
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.7
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (e38525a)
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 (d4ca68c)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/135] Write sources
[5/135] Compiling makeOptions main.cpp
[6/135] Compiling llvmSupport Valgrind.cpp
[7/135] Compiling llvmSupport UnicodeCaseFold.cpp
[8/135] Write swift-version-24593BA9C3E375BF.txt
[9/135] Compiling llvmSupport circular_raw_ostream.cpp
[10/135] Compiling llvmSupport Unicode.cpp
/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.
[11/135] Compiling llvmSupport Threading.cpp
[11/135] Compiling llvmSupport Twine.cpp
[11/135] Compiling llvmSupport StringSaver.cpp
[11/135] Compiling llvmSupport TargetParser.cpp
[11/135] Compiling llvmSupport Triple.cpp
[11/135] Compiling llvmSupport raw_ostream.cpp
[11/135] Compiling llvmSupport YAMLParser.cpp
/host/spi-builder-workspace/Sources/makeOptions/makeOptions.cpp:426:2: warning: "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable" [-W#warnings]
  426 | #warning "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable"
      |  ^
[11/135] Compiling makeOptions makeOptions.cpp
BUILD FAILURE 6.2 wasm