The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-package-collection-generator, reference main (7bc251), with Swift 6.2 for Wasm on 18 Oct 2025 01:31:31 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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.2
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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-package-manager.git
[1/165185] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (20.17s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29309] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.39s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6975] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.84s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35870] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.57s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-backtrace.git
Fetching https://github.com/apple/swift-system.git
[1/631] Fetching swift-backtrace
[52/818] Fetching swift-backtrace, swift-toolchain-sqlite
[651/7477] Fetching swift-backtrace, swift-toolchain-sqlite, swift-certificates
[785/24159] Fetching swift-backtrace, swift-toolchain-sqlite, swift-certificates, swift-argument-parser
[919/29216] Fetching swift-backtrace, swift-toolchain-sqlite, swift-certificates, swift-argument-parser, swift-system
[13841/47424] Fetching swift-backtrace, swift-toolchain-sqlite, swift-certificates, swift-argument-parser, swift-system, swift-collections
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.66s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Fetching https://github.com/apple/swift-crypto.git
[21048/35077] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.15s)
[11294/18395] Fetching swift-toolchain-sqlite, swift-collections
[12388/35626] Fetching swift-toolchain-sqlite, swift-collections, swift-crypto
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.26s)
[14173/35439] Fetching swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (2.00s)
[2413/17231] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.03s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (4.21s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.68s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.79s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.69s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.28s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.77s)
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.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.92s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.50s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
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.6.2
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 (c26cd00)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (9cd0607)
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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
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
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.7
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 (cc79a4e)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (c54107d)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/498] Write sources
[14/498] Compiling sha1-x86_64-mac.mac.x86_64.S
[15/498] Write sources
[19/498] Compiling sha256-586-linux.linux.x86.S
[19/498] Compiling sha256-586-windows.windows.x86.S
[19/498] Compiling rdrand-x86_64-linux.linux.x86_64.S
[22/498] Write sources
[33/498] Compiling sha256-armv4-ios.ios.arm.S
[33/498] Compiling rdrand-x86_64-mac.mac.x86_64.S
[35/498] Compiling TSCclibc strerror.c
[36/498] Write swift-version-24593BA9C3E375BF.txt
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.
[37/498] Compiling TSCclibc process.c
[37/498] Compiling v3_utl.c
[37/498] Compiling TSCclibc libc.c
[37/498] Compiling CCryptoBoringSSLShims shims.c
[37/498] Compiling CSystem shims.c
[37/498] Compiling fiat_curve25519_adx_mul.S
[37/498] Compiling fiat_curve25519_adx_square.S
[37/498] Compiling blinding.c
BUILD FAILURE 6.2 wasm