The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-driver, reference main (302fc8), with Swift 6.2 for Wasm on 2 May 2026 01:09:09 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 302fc81 SwiftDriver: always pass `-sysroot` flag if specified
Cloned https://github.com/swiftlang/swift-driver.git
Revision (git rev-parse @):
302fc811f4557302aa7be961321a4ae6053be0d1
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29511] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (4.33s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7226] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (1.20s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
[1/285] Fetching swift-toolchain-sqlite
[10/17842] Fetching swift-toolchain-sqlite, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.78s)
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.80s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (2.66s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.9 (0.94s)
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.9
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.7.1
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 (c8832dc)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (fd2284d)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/135] Write sources
[9/135] Compiling makeOptions main.cpp
[10/135] Compiling CSwiftScan CSwiftScanImpl.c
[11/135] Compiling llvmSupport Valgrind.cpp
[12/135] Compiling llvmSupport UnicodeCaseFold.cpp
[13/135] Compiling llvmSupport Unicode.cpp
[14/135] Compiling llvmSupport circular_raw_ostream.cpp
[15/135] Compiling llvmSupport Twine.cpp
/host/spi-builder-workspace/Sources/makeOptions/makeOptions.cpp:428:2: warning: "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable" [-W#warnings]
  428 | #warning "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable"
      |  ^
1 warning generated.
[16/135] Write swift-version-24593BA9C3E375BF.txt
[16/135] Compiling makeOptions makeOptions.cpp
[18/135] Compiling llvmSupport TargetParser.cpp
[18/135] Write Objects.LinkFileList
[20/135] Compiling llvmSupport raw_ostream.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.
[21/135] Compiling llvmSupport Threading.cpp
[21/135] Compiling llvmSupport StringRef.cpp
[21/135] Compiling llvmSupport StringSaver.cpp
[21/135] Compiling llvmSupport StringExtras.cpp
[21/135] Compiling llvmSupport Triple.cpp
[21/135] Compiling llvmSupport YAMLParser.cpp
[21/135] Compiling llvmSupport StringMap.cpp
[21/135] Linking makeOptions.wasm
BUILD FAILURE 6.2 wasm