Build Information
Failed to build OptionalAPI, reference master (03b27d), with Swift 6.4 for Wasm on 24 Sep 2026 06:29:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sloik/OptionalAPI.git
Reference: master
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/sloik/OptionalAPI
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 03b27d7 Update actions/upload-pages-artifact action to v5 (#84)
Cloned https://github.com/sloik/OptionalAPI.git
Revision (git rev-parse @):
03b27d7eb25a97a36966d0f7dd3658648549ae6e
SUCCESS checkout https://github.com/sloik/OptionalAPI.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/sloik/OptionalAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/sloik/AliasWonderland.git
[1/237] Fetching aliaswonderland
Fetched https://github.com/sloik/AliasWonderland.git (0.44s)
Computing version for https://github.com/sloik/AliasWonderland.git
Computed https://github.com/sloik/AliasWonderland.git at 4.0.1 (0.61s)
Creating working copy for https://github.com/sloik/AliasWonderland.git
Working copy of https://github.com/sloik/AliasWonderland.git resolved at 4.0.1
Building for debugging...
[Pre-planning 1 / 153]
[4 / 45]
[33 / 49] AliasWonderland
[46 / 59] OptionalAPI
[53 / 59] OptionalAPI
[53 / 59] AliasWonderland
[53 / 59] OptionalAPI
[53 / 59] AliasWonderland
error: unknown argument: '-shared'
error: Ld /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libAliasWonderland.wasm normal failed with a nonzero exit code. Command line: cd /host/spi-builder-workspace/.build/checkouts/AliasWonderland
/usr/bin/swiftc -target wasm32-unknown-wasip1 -shared -emit-library -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -Xclang-linker -resource-dir -Xclang-linker /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -suppress-warnings -L/host/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug-webassembly-wasm32 -L/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/AliasWonderland.build/Debug-webassembly-wasm32/AliasWonderland-product-t.build/Objects-normal/wasm32/AliasWonderland.LinkFileList -Xlinker --gc-sections -Xclang-linker -rdynamic -L/usr/lib/swift -static-stdlib @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/AliasWonderland.objlib/args.resp -o /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libAliasWonderland.wasm
error: Build failed
BUILD FAILURE 6.4 wasm