The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-driver, reference 0.50800.0 (2353b3), with Swift 6.2 for Wasm on 20 Jun 2025 22:15:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-driver.git
Reference: 0.50800.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/SDGGiesbrecht/swift-driver
 * tag               0.50800.0  -> FETCH_HEAD
HEAD is now at 2353b37 Widened dependency constraints.
Cloned https://github.com/SDGGiesbrecht/swift-driver.git
Revision (git rev-parse @):
2353b37ce91a0fa587e16fba1ca205353781e0ed
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-driver.git at 0.50800.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SDGGiesbrecht/swift-driver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/SDGGiesbrecht/swift-llbuild
[1/6855] Fetching swift-tools-support-core
[1921/17729] Fetching swift-tools-support-core, yams
[13490/33109] Fetching swift-tools-support-core, yams, swift-argument-parser
[33110/51486] Fetching swift-tools-support-core, yams, swift-argument-parser, swift-llbuild
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.48s)
[41691/44631] Fetching yams, swift-argument-parser, swift-llbuild
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.93s)
Fetched https://github.com/SDGGiesbrecht/swift-llbuild from cache (1.95s)
Fetched https://github.com/jpsim/Yams.git from cache (1.97s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.5.2 (2.54s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/SDGGiesbrecht/swift-llbuild
Computed https://github.com/SDGGiesbrecht/swift-llbuild at 0.50800.0 (0.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.40s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.40s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.34s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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/SDGGiesbrecht/swift-llbuild
Working copy of https://github.com/SDGGiesbrecht/swift-llbuild resolved at 0.50800.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.5.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.5.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/143] Write sources
[5/143] Compiling llvmSupport Valgrind.cpp
[6/143] Compiling makeOptions main.cpp
[7/143] Compiling llvmSupport UnicodeCaseFold.cpp
[8/143] Compiling llvmSupport circular_raw_ostream.cpp
[9/143] Compiling llvmSupport Unicode.cpp
[10/143] Compiling llbuildBasic Hashing.cpp
[11/143] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/makeOptions/makeOptions.cpp:42:2: warning: "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable" [-W#warnings]
   42 | #warning "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable"
      |  ^
1 warning generated.
[12/143] Compiling makeOptions makeOptions.cpp
[13/143] Compiling llvmSupport Twine.cpp
[13/143] Write Objects.LinkFileList
[15/143] Compiling llvmSupport raw_ostream.cpp
error: link command failed with exit code 1 (use -v to see invocation)
wasm-ld: error: /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/wasm32/swiftrt.o: undefined symbol: swift_addNewDSOImage
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/makeOptions.build/makeOptions.cpp.o: undefined symbol: __cxa_allocate_exception
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/makeOptions.build/makeOptions.cpp.o: undefined symbol: __cxa_throw
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[16/143] Linking makeOptions.wasm
[16/143] Compiling llvmSupport StringMap.cpp
[16/143] Compiling llvmSupport StringSaver.cpp
[16/143] Compiling llvmSupport TargetParser.cpp
[16/143] Compiling llvmSupport Threading.cpp
[16/143] Compiling llvmSupport Triple.cpp
[16/143] Compiling llvmSupport StringRef.cpp
[16/143] Compiling llvmSupport YAMLParser.cpp
BUILD FAILURE 6.2 wasm