The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-state-graph, reference main (914d03), with Swift 6.4 for Wasm on 14 Nov 2026 17:23:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/swift-state-graph.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/VergeGroup/swift-state-graph
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 914d036 Introduce portable shared allocated locks (#152)
Cloned https://github.com/VergeGroup/swift-state-graph.git
Revision (git rev-parse @):
914d036a7ceb9f4eef1c43c643938572b7f512f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/VergeGroup/swift-state-graph.git at main
========================================
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-54344846-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:366b789e191e803aab570d7212596991386521d71ea439b0666be689b4886df3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/VergeGroup/swift-typed-identifier.git
[1/1002] Fetching swift-macro-testing
[452/1065] Fetching swift-macro-testing, swift-typed-identifier
Fetched https://github.com/VergeGroup/swift-typed-identifier.git (0.40s)
[1/82158] Fetching swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git (2.95s)
Fetched https://github.com/swiftlang/swift-syntax.git (2.97s)
Computing version for https://github.com/VergeGroup/swift-typed-identifier.git
Computed https://github.com/VergeGroup/swift-typed-identifier.git at 2.0.4 (3.13s)
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.14s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16659] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.58s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.56s)
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.62s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6183] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.75s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (1.68s)
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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.7
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/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
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.17s)
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[51 / 85] StateGraphMacro
[52 / 85] TypedIdentifier
[58 / 85] TypedIdentifier-product
[61 / 85] StateGraphMacro
[62 / 86] TypedIdentifier
[64 / 86] StateGraphNormalizationMacro
[68 / 87] 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