Build Information
Failed to build swift-driver, reference main (1c07ce), with Swift 6.2 for Wasm on 21 Jun 2025 05:19:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/art-divin/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/art-divin/swift-driver
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1c07ced Update Package.swift
Cloned https://github.com/art-divin/swift-driver.git
Revision (git rev-parse @):
1c07ced84c1dfc1f9c3253dcbaa216fc9c76ee25
SUCCESS checkout https://github.com/art-divin/swift-driver.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/art-divin/swift-driver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/art-divin/swift-llbuild.git
Fetching https://github.com/art-divin/swift-tools-support-core.git
[1/3491] Fetching swift-tools-support-core
[420/20928] Fetching swift-tools-support-core, swift-llbuild
[5481/31802] Fetching swift-tools-support-core, swift-llbuild, yams
[5873/47182] Fetching swift-tools-support-core, swift-llbuild, yams, swift-argument-parser
Fetched https://github.com/art-divin/swift-tools-support-core.git from cache (0.71s)
[4391/43691] Fetching swift-llbuild, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.29s)
[27333/28311] Fetching swift-llbuild, yams
Fetched https://github.com/art-divin/swift-llbuild.git from cache (2.31s)
[10874/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.97s)
Computing version for https://github.com/art-divin/swift-tools-support-core.git
Computed https://github.com/art-divin/swift-tools-support-core.git at 1.0.0 (3.95s)
Computing version for https://github.com/art-divin/swift-llbuild.git
Computed https://github.com/art-divin/swift-llbuild.git at 1.0.0 (0.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.82s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.83s)
Creating working copy for https://github.com/art-divin/swift-llbuild.git
Working copy of https://github.com/art-divin/swift-llbuild.git resolved at 1.0.0
Creating working copy for https://github.com/art-divin/swift-tools-support-core.git
Working copy of https://github.com/art-divin/swift-tools-support-core.git resolved at 1.0.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.2.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/140] Write sources
[12/140] Compiling makeOptions main.cpp
[12/140] Compiling CSwiftScan CSwiftScanImpl.c
[14/140] Compiling llvmSupport Valgrind.cpp
[15/140] Compiling llvmSupport UnicodeCaseFold.cpp
[16/140] Compiling llvmSupport circular_raw_ostream.cpp
[17/140] Compiling llvmSupport Unicode.cpp
[18/140] Compiling llvmSupport Twine.cpp
[19/140] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/makeOptions/makeOptions.cpp:422:2: warning: "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable" [-W#warnings]
422 | #warning "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable"
| ^
1 warning generated.
[20/140] Compiling makeOptions makeOptions.cpp
[21/140] Compiling llvmSupport Triple.cpp
[22/140] Write Objects.LinkFileList
[23/140] 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)
[24/140] Linking makeOptions.wasm
[24/140] Compiling llvmSupport StringRef.cpp
[24/140] Compiling llvmSupport StringMap.cpp
[24/140] Compiling llvmSupport TargetParser.cpp
[24/140] Compiling llvmSupport StringExtras.cpp
[24/140] Compiling llvmSupport Threading.cpp
[24/140] Compiling llvmSupport StringSaver.cpp
[24/140] Compiling llvmSupport YAMLParser.cpp
BUILD FAILURE 6.2 wasm