The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FunctionalAPI, reference main (0bd45d), with Swift 6.4 for Wasm on 23 Nov 2026 07:56:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sloik/FunctionalAPI.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/sloik/FunctionalAPI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0bd45d4 Merge pull request #40 from sloik/renovate/actions-checkout-digest
Cloned https://github.com/sloik/FunctionalAPI.git
Revision (git rev-parse @):
0bd45d49b06d31f0733131309f194269ac40f962
SUCCESS checkout https://github.com/sloik/FunctionalAPI.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sloik/FunctionalAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/sloik/EitherSwift.git
[1/196] Fetching eitherswift
[197/16845] Fetching eitherswift, swift-snapshot-testing
Fetched https://github.com/sloik/EitherSwift.git (2.15s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (2.18s)
Computing version for https://github.com/sloik/EitherSwift.git
Computed https://github.com/sloik/EitherSwift.git at 1.2.0 (2.31s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.7 (0.15s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5669] Fetching swift-custom-dump
[5670/87948] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump (2.69s)
Fetched https://github.com/swiftlang/swift-syntax (2.71s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (2.87s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6183] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.70s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (1.60s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.25s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
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/sloik/EitherSwift.git
Working copy of https://github.com/sloik/EitherSwift.git resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git 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
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...
[Pre-planning 1 / 124]
[23 / 39] EitherSwift
[31 / 47] EitherSwift
[40 / 55] FunctionalAPI
[40 / 55] EitherSwift
[42 / 55] FunctionalAPI
[49 / 55] FunctionalAPI
error: unknown argument: '-shared'
error: Ld /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libEitherSwift.wasm normal failed with a nonzero exit code. Command line:     cd /host/spi-builder-workspace/.build/checkouts/EitherSwift
    /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 -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/EitherSwift.build/Debug-webassembly-wasm32/EitherSwift-product-t.build/Objects-normal/wasm32/EitherSwift.LinkFileList -Xlinker --gc-sections -Xclang-linker -rdynamic -L/usr/lib/swift -static-stdlib @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/EitherSwift.objlib/args.resp -o /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libEitherSwift.wasm
error: Build failed
BUILD FAILURE 6.4 wasm