Build Information
Failed to build swift-package-collection-generator, reference main (7bc251), with Swift 6.4 for Wasm on 23 Sep 2026 05:17:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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/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.4
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-53886769-2":/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/192057] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git (10.98s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29920] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git (1.70s)
Fetching https://github.com/apple/swift-collections.git
[1/27686] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.37s)
Fetching https://github.com/apple/swift-certificates.git
[1/7575] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git (0.65s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.40s)
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.66s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite.git
[1/376] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite.git (1.37s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7399] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git (0.61s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/39078] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git (2.33s)
Fetching https://github.com/swift-server/swift-backtrace.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1983] Fetching swift-asn1
[775/2614] Fetching swift-asn1, swift-backtrace
Fetched https://github.com/apple/swift-asn1.git (0.52s)
[626/19549] Fetching swift-backtrace, swift-argument-parser
Fetched https://github.com/swift-server/swift-backtrace.git (0.94s)
Fetched https://github.com/apple/swift-argument-parser.git (0.94s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (1.19s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.30s)
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.26s)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (22e6133)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (e19f06b)
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-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-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at main (c574915)
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
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-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at main (de46f21)
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/swiftlang/swift-toolchain-sqlite.git
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite.git resolved at 1.0.9 (c0ecc1e)
warning: 'swift-package-manager': couldn't find pc file for sqlite3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1010]
[Planning 772 / 1010]
[Planning deferred tasks]
[Constructing 573 / 2520]
[Starting]
[160 / 728]
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:15:
[1m/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/include/process.h:3:10: [0m[0;1;31mfatal error: [0m[1m'spawn.h' file not found[0m
3 | #include <spawn.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tools-support-core.build/Debug-webassembly-wasm32/TSCclibc-t.build/Objects-normal/wasm32/process.o /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tools-support-core.build/Debug-webassembly-wasm32/TSCclibc-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --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 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tools-support-core.build/Debug-webassembly-wasm32/TSCclibc-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tools-support-core.build/Debug-webassembly-wasm32/TSCclibc-t.build/Objects-normal/wasm32/process.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tools-support-core.build/Debug-webassembly-wasm32/TSCclibc-t.build/Objects-normal/wasm32/process.dia -c /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tools-support-core.build/Debug-webassembly-wasm32/TSCclibc-t.build/Objects-normal/wasm32/process.o
error: Build failed
BUILD FAILURE 6.4 wasm