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 (03f481), with Swift 6.2 (beta) for Wasm on 27 Jun 2025 05:43:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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 03f4816 [Explicit Module Builds] Ensure that plugin paths are specified to the dependency scanning invocation
Cloned https://github.com/swiftlang/swift-driver.git
Revision (git rev-parse @):
03f4816cddc6a30cf5d2e5a92444670c8cf7840c
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" 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/swiftlang/swift-llbuild.git
[1/29043] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.93s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6859] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.78s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
[1/136] Fetching swift-toolchain-sqlite
[19/15524] Fetching swift-toolchain-sqlite, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.65s)
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.73s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (2.55s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.5 (0.80s)
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 (f9b4010)
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/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (f3b9649)
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.5
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/134] Write sources
[4/134] Compiling makeOptions main.cpp
[5/134] Compiling llvmSupport Valgrind.cpp
[6/134] Compiling llvmSupport UnicodeCaseFold.cpp
[7/134] Compiling llvmSupport circular_raw_ostream.cpp
[8/134] Compiling llvmSupport Unicode.cpp
[9/134] Compiling llvmSupport Twine.cpp
/host/spi-builder-workspace/Sources/makeOptions/makeOptions.cpp:433:2: warning: "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable" [-W#warnings]
  433 | #warning "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable"
      |  ^
1 warning generated.
[10/134] Compiling makeOptions makeOptions.cpp
[11/134] Write swift-version-24593BA9C3E375BF.txt
[11/134] Write Objects.LinkFileList
[13/134] Compiling llvmSupport Triple.cpp
[14/134] 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
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[15/134] Linking makeOptions.wasm
[15/134] Compiling llvmSupport StringExtras.cpp
[15/134] Compiling llvmSupport StringMap.cpp
[15/134] Compiling llvmSupport Threading.cpp
[15/134] Compiling llvmSupport StringSaver.cpp
[15/134] Compiling llvmSupport TargetParser.cpp
[15/134] Compiling llvmSupport YAMLParser.cpp
[15/134] Compiling llvmSupport StringRef.cpp
BUILD FAILURE 6.2 wasm