Build Information
Failed to build llbuild2, reference main (bc6abf), with Swift 6.1 for Wasm on 15 Apr 2026 02:45:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-llbuild2.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/apple/swift-llbuild2
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bc6abf3 Merge pull request #254 from apple/fix-metrics
Cloned https://github.com/apple/swift-llbuild2.git
Revision (git rev-parse @):
bc6abf3eb3498308745e5f1b43af789f81932c6c
SUCCESS checkout https://github.com/apple/swift-llbuild2.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-llbuild2.git
https://github.com/apple/swift-llbuild2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
70792468e643: Already exists
ac053c427195: Already exists
a2b0bee87d43: Already exists
736d91014298: Already exists
654751ccf932: Pulling fs layer
1a92cd88305f: Pulling fs layer
654751ccf932: Waiting
1a92cd88305f: Waiting
654751ccf932: Verifying Checksum
654751ccf932: Download complete
1a92cd88305f: Verifying Checksum
1a92cd88305f: Download complete
654751ccf932: Pull complete
1a92cd88305f: Pull complete
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Downloaded newer image for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-protobuf.git
[1/5601] Fetching swift-system
[2802/12788] Fetching swift-system, swift-tools-support-core
[3937/59336] Fetching swift-system, swift-tools-support-core, swift-protobuf
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-tools-support-async.git
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.14s)
Fetched https://github.com/apple/swift-system.git from cache (1.16s)
[4190/46548] Fetching swift-protobuf
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-async-algorithms.git
[4200/47458] Fetching swift-protobuf, swift-tools-support-async
[5566/54027] Fetching swift-protobuf, swift-tools-support-async, swift-log
Fetched https://github.com/apple/swift-tools-support-async.git from cache (0.54s)
[5509/53117] Fetching swift-protobuf, swift-log
Fetching https://github.com/apple/swift-atomics.git
[10120/59352] Fetching swift-protobuf, swift-log, swift-async-algorithms
[11549/82889] Fetching swift-protobuf, swift-log, swift-async-algorithms, swift-collections
[17296/166040] Fetching swift-protobuf, swift-log, swift-async-algorithms, swift-collections, swift-nio
[20714/167860] Fetching swift-protobuf, swift-log, swift-async-algorithms, swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-log.git from cache (1.29s)
[19540/161291] Fetching swift-protobuf, swift-async-algorithms, swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.10s)
[15540/155056] Fetching swift-protobuf, swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.31s)
[15822/153236] Fetching swift-protobuf, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (4.07s)
[82674/129699] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (13.46s)
Fetched https://github.com/apple/swift-protobuf.git from cache (14.69s)
Computing version for https://github.com/apple/swift-tools-support-async.git
Computed https://github.com/apple/swift-tools-support-async.git at 0.18.0 (17.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.61s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.69s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.80s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.68s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.69s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.07s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-tools-support-async.git
Working copy of https://github.com/apple/swift-tools-support-async.git resolved at 0.18.0
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 0.7.3
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
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.4
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/50] Write sources
[24/50] Compiling TSCclibc process.c
[25/50] Compiling FXCBLAKE3 blake3_simd_sse41.c
[26/50] Compiling TSCclibc libc.c
[27/50] Write sources
[29/50] Compiling _AtomicsShims.c
[31/50] Compiling TSCclibc strerror.c
[32/50] Compiling FXCBLAKE3 blake3_simd_avx2.c
[33/50] Compiling CNIOWindows WSAStartup.c
[34/50] Compiling CSystem shims.c
[35/50] Compiling CNIOPosix event_loop_id.c
In file included from /host/spi-builder-workspace/Sources/FXCProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
/host/spi-builder-workspace/Sources/FXCProcessSpawnSync/spawner.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
2 errors generated.
[36/50] Compiling FXCProcessSpawnSync spawner.c
[36/50] Compiling CNIOLinux shim.c
[36/50] Compiling FXCBLAKE3 blake3_all.c
[36/50] Compiling CNIOWASI CNIOWASI.c
[36/50] Compiling CNIOOpenBSD shim.c
[36/50] Compiling CNIOWindows shim.c
[36/50] Compiling FXCBLAKE3 blake3_simd_avx512.c
[36/50] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/15] Compiling CNIOLinux liburing_shims.c
[1/15] Compiling CNIOWindows shim.c
[1/15] Compiling CNIOLinux shim.c
In file included from /host/spi-builder-workspace/Sources/FXCProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
/host/spi-builder-workspace/Sources/FXCProcessSpawnSync/spawner.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
2 errors generated.
[4/15] Compiling FXCProcessSpawnSync spawner.c
[4/15] Compiling CNIODarwin shim.c
[4/15] Compiling FXCBLAKE3 blake3_simd_avx512.c
[4/15] Compiling c-nioatomics.c
[4/15] Compiling CNIOOpenBSD shim.c
[4/15] Compiling FXCBLAKE3 blake3_all.c
[4/15] Compiling CNIOWASI CNIOWASI.c
[4/15] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm