Build Information
Failed to build swift-package-collection-generator, reference main (7bc251), with Swift 6.3 for Wasm on 17 Apr 2026 07:01:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-package-collection-generator.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/swiftlang/swift-package-collection-generator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7bc2514 Merge pull request #71 from incertum/chore/workflow-permissions
Cloned https://github.com/swiftlang/swift-package-collection-generator.git
Revision (git rev-parse @):
7bc2514946443f31242f17c25365c97491674d27
SUCCESS checkout https://github.com/swiftlang/swift-package-collection-generator.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/swiftlang/swift-package-collection-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-package-manager.git
[1/177636] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (29.33s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29496] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (5.19s)
Fetching https://github.com/apple/swift-crypto.git
[1/17374] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.80s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.75s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.02s)
Fetching https://github.com/apple/swift-certificates.git
[1/7151] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.92s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite.git
[1/279] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite.git from cache (1.50s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7187] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.95s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/38008] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (7.10s)
Fetching https://github.com/swift-server/swift-backtrace.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-asn1.git
[1/631] Fetching swift-backtrace
[632/18154] Fetching swift-backtrace, swift-argument-parser
[633/19957] Fetching swift-backtrace, swift-argument-parser, swift-asn1
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.74s)
[3829/19326] Fetching swift-argument-parser, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.91s)
[4556/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (2.99s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.92s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.80s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.1 (386001a)
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6 (c11818f)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0 (61e4ca4)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite.git
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite.git resolved at 1.0.7 (b45b80b)
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.7.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.5 (d79c573)
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.0
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (c947dd7)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (2f96a89)
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at main (277ddeb)
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 main (f0c6371)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/444] Write sources
[11/444] Write swift-version-24593BA9C3E375BF.txt
[12/444] Write sources
[14/444] Compiling TSCclibc libc.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:15:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/include/process.h:3:10: fatal error: 'spawn.h' file not found
3 | #include <spawn.h>
| ^~~~~~~~~
1 error generated.
[15/444] Compiling TSCclibc process.c
[15/444] Compiling TSCclibc strerror.c
[15/444] Write sources
BUILD FAILURE 6.3 wasm