Build Information
Failed to build swift-state-graph, reference 0.33.1 (a617a4), with Swift 6.4 for Wasm on 31 Oct 2026 07:12:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/swift-state-graph.git
Reference: 0.33.1
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/VergeGroup/swift-state-graph
* tag 0.33.1 -> FETCH_HEAD
HEAD is now at a617a47 Restore optional GraphUserDefault values through the wrapped type (#154)
Cloned https://github.com/VergeGroup/swift-state-graph.git
Revision (git rev-parse @):
a617a479c5b1124292425b49c5da45cc5de0ef33
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/VergeGroup/swift-state-graph.git at 0.33.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/VergeGroup/swift-state-graph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/VergeGroup/swift-typed-identifier.git
[1/63] Fetching swift-typed-identifier
[64/1065] Fetching swift-typed-identifier, swift-macro-testing
Fetched https://github.com/VergeGroup/swift-typed-identifier.git (0.43s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.43s)
[1/81382] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.93s)
Computing version for https://github.com/VergeGroup/swift-typed-identifier.git
Computed https://github.com/VergeGroup/swift-typed-identifier.git at 2.0.4 (4.07s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.13s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16599] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.39s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.7 (0.14s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.46s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.61s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6180] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.66s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (1.57s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/VergeGroup/swift-typed-identifier.git
Working copy of https://github.com/VergeGroup/swift-typed-identifier.git resolved at 2.0.4
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.7
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.16s)
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[51 / 85] StateGraphMacro
[52 / 85] TypedIdentifier
[61 / 85] StateGraphMacro
[62 / 86] TypedIdentifier
[64 / 86] StateGraphNormalizationMacro
[69 / 88] StateGraphMacro
[72 / 88] StateGraphNormalizationMacro
[82 / 93] StateGraphNormalization
error: unknown argument: '-shared'
error: Ld /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libStateGraphNormalization.wasm normal failed with a nonzero exit code. Command line: cd /host/spi-builder-workspace
/usr/bin/swiftc -target wasm32-unknown-wasip1 -shared -emit-library -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -Xclang-linker -resource-dir -Xclang-linker /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -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/swift-state-graph.build/Debug-webassembly-wasm32/StateGraphNormalization-product-t.build/Objects-normal/wasm32/StateGraphNormalization.LinkFileList -Xlinker --gc-sections -Xclang-linker -rdynamic -L/usr/lib/swift -static-stdlib @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/StateGraphNormalization.objlib/args.resp @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/TypedIdentifier.objlib/args.resp -o /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libStateGraphNormalization.wasm
error: Build failed
BUILD FAILURE 6.4 wasm