Build Information
Failed to build PackageDSL, reference main (03fe84), with Swift 6.4 for Wasm on 22 Sep 2026 02:23:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/brightdigit/PackageDSL.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/brightdigit/PackageDSL
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 03fe84e chore: Update Swift Settings documentation
Cloned https://github.com/brightdigit/PackageDSL.git
Revision (git rev-parse @):
03fe84ef3c8df99afec576b064efbb3aac58797e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/PackageDSL.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/brightdigit/PackageDSL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/apple/swift-package-manager.git
[1/191993] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git (8.35s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29908] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git (1.31s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/7398] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git (0.60s)
Fetching https://github.com/apple/swift-driver.git
[1/39052] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git (1.31s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-format.git
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
[558/30410] Fetching swift-crypto, yams
[1115/37984] Fetching swift-crypto, yams, swift-certificates
[1116/56902] Fetching swift-crypto, yams, swift-certificates, swift-argument-parser
[3447/71929] Fetching swift-crypto, yams, swift-certificates, swift-argument-parser, swift-format
[16879/78827] Fetching swift-crypto, yams, swift-certificates, swift-argument-parser, swift-format, swift-system
Fetched https://github.com/apple/swift-certificates.git (1.05s)
[70326/71253] Fetching swift-crypto, yams, swift-argument-parser, swift-format, swift-system
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-argument-parser.git (1.05s)
[52150/52335] Fetching swift-crypto, yams, swift-format, swift-system
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetched https://github.com/jpsim/Yams.git (1.07s)
Fetched https://github.com/apple/swift-system.git (1.25s)
Fetched https://github.com/apple/swift-format.git (1.25s)
Fetched https://github.com/apple/swift-crypto.git (1.26s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (0.49s)
[1/27654] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.12s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (2.37s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.0.1 (0.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.44s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.65s)
Computing version for https://github.com/apple/swift-format.git
Computed https://github.com/apple/swift-format.git at 510.1.0 (0.24s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-syntax.git
[1/7734] Fetching swift-markdown
[7735/87733] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git (3.78s)
Fetched https://github.com/apple/swift-syntax.git (3.80s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (4.48s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 510.0.3 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.21s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.20s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.21s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3828] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.9.0 (1.11s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18599] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (0.90s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (1.11s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.22s)
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.9.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.10 (fd7c2e0)
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.10 (b461fd4)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at swift-5.10-RELEASE (82e3974)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.10 (90bdc2a)
Creating working copy for https://github.com/apple/swift-format.git
Working copy of https://github.com/apple/swift-format.git resolved at 510.1.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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 510.0.3
warning: 'swift-package-manager': couldn't find pc file for sqlite3
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[29 / 52] PackageDescription
[38 / 61] PackageDescription
[53 / 66] PackageDescription
[54 / 66] PackageDescription
[59 / 67] PackageDSL
error: unknown argument: '-shared'
error: Ld /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libPackageDescription.wasm normal failed with a nonzero exit code. Command line: cd /host/spi-builder-workspace/.build/checkouts/swift-package-manager
/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/SwiftPM.build/Debug-webassembly-wasm32/PackageDescription-product-t.build/Objects-normal/wasm32/PackageDescription.LinkFileList -Xlinker --gc-sections -Xclang-linker -rdynamic -L/usr/lib/swift -static-stdlib @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/PackageDescription.objlib/args.resp @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/CompilerPluginSupport.objlib/args.resp -o /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libPackageDescription.wasm
error: Build failed
BUILD FAILURE 6.4 wasm