Build Information
Failed to build swift-package-collection-generator, reference main (ad1b72
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 11:01:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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 ad1b727 Merge pull request #69 from tuist/fix/build-issues
Cloned https://github.com/swiftlang/swift-package-collection-generator.git
Revision (git rev-parse @):
ad1b7278a6c53c899fed7628623569ce2c41663b
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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-package-manager.git
[1/157015] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (16.78s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29042] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.14s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.61s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6858] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.78s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/34998] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (5.21s)
Fetching https://github.com/swiftlang/swift-build.git
[1/12060] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (2.41s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/136] Fetching swift-toolchain-sqlite
[19/4572] Fetching swift-toolchain-sqlite, swift-system
[241/19952] Fetching swift-toolchain-sqlite, swift-system, swift-argument-parser
Fetching https://github.com/apple/swift-collections.git
[19953/36592] Fetching swift-toolchain-sqlite, swift-system, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.65s)
[17347/32156] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-collections
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-backtrace.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.68s)
[2300/16776] Fetching swift-toolchain-sqlite, swift-collections
[4297/17407] Fetching swift-toolchain-sqlite, swift-collections, swift-backtrace
[4537/23591] Fetching swift-toolchain-sqlite, swift-collections, swift-backtrace, swift-certificates
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.53s)
[6818/22960] Fetching swift-toolchain-sqlite, swift-collections, swift-certificates
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.28s)
[11941/22824] Fetching swift-collections, swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.91s)
[8320/16640] Fetching swift-collections
[9653/32073] Fetching swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (2.44s)
[3859/15433] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.00s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (5.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.82s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.5 (0.69s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.82s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.23s)
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.76s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (e8c3dcf)
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 (f9b4010)
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/swiftlang/swift-build.git
Working copy of https://github.com/swiftlang/swift-build.git resolved at main (972a844)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (82510b8)
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.5.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.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.4
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.5
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (f3b9649)
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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 (3630c8d)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/497] Write sources
[19/497] Compiling CBacktrace elf.c
[20/497] Compiling CBacktrace fileline.c
[21/497] Write sources
[32/497] Compiling CBacktrace dwarf.c
[33/497] Compiling CBacktrace atomic.c
[34/497] Compiling CBacktrace backtrace.c
[35/497] Compiling TSCclibc strerror.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.
[35/497] Compiling TSCclibc process.c
[35/497] Compiling v3_utl.c
[35/497] Compiling fiat_curve25519_adx_square.S
[35/497] Compiling CCryptoBoringSSLShims shims.c
[35/497] Compiling fiat_curve25519_adx_mul.S
[35/497] Compiling CSystem shims.c
[35/497] Compiling TSCclibc libc.c
[35/497] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm