Build Information
Failed to build swift-driver, reference main (7a96ff), with Swift 6.3 for Wasm on 14 Apr 2026 03:47:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/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/SDGGiesbrecht/swift-driver
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7a96ffd Merge pull request #1313 from apple/mracek/add-baremetal-target
Cloned https://github.com/SDGGiesbrecht/swift-driver.git
Revision (git rev-parse @):
7a96ffdd68dda2049cc2da005493b872ea43e3bc
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-driver.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SDGGiesbrecht/swift-driver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-llbuild.git
[1/29496] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (4.50s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/7187] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.93s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/jpsim/Yams.git
[1/279] Fetching swift-toolchain-sqlite
[10/17802] Fetching swift-toolchain-sqlite, swift-argument-parser
[361/29353] Fetching swift-toolchain-sqlite, swift-argument-parser, yams
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (3.35s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.36s)
Fetched https://github.com/jpsim/Yams.git from cache (3.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (4.30s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (2.25s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.9 (1.02s)
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/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/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-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at main (c947dd7)
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 main (41e3ff4)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/141] Write sources
[5/141] Compiling makeOptions main.cpp
[6/141] Compiling llvmSupport Valgrind.cpp
[7/141] Compiling llvmSupport UnicodeCaseFold.cpp
[8/141] Compiling llvmSupport circular_raw_ostream.cpp
[9/141] Compiling llvmSupport Unicode.cpp
[10/141] Compiling llvmSupport Twine.cpp
/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.
[11/141] Compiling makeOptions makeOptions.cpp
[12/141] Write swift-version-24593BA9C3E375BF.txt
[13/141] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
wasm-ld: error: /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/wasm32/swiftrt.o: undefined symbol: swift_addNewDSOImage
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/makeOptions.build/makeOptions.cpp.o: undefined symbol: __cxa_allocate_exception
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/makeOptions.build/makeOptions.cpp.o: undefined symbol: __cxa_throw
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[14/141] Linking makeOptions.wasm
[14/141] Compiling llvmSupport StringRef.cpp
[14/141] Compiling llvmSupport YAMLParser.cpp
[14/141] Compiling llvmSupport raw_ostream.cpp
[14/141] Compiling llvmSupport TargetParser.cpp
[14/141] Compiling llvmSupport StringSaver.cpp
[14/141] Compiling llvmSupport Threading.cpp
[14/141] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.3 wasm