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 llbuild2, reference main (67d125), with Swift 6.2 (beta) for Wasm on 10 Sep 2025 01:30:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 67d1258 Merge pull request #229 from apple/spawnprocess-overhaul
Cloned https://github.com/apple/swift-llbuild2.git
Revision (git rev-parse @):
67d125838d136838dba52ea40d5cec64dd3b849b
SUCCESS checkout https://github.com/apple/swift-llbuild2.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-llbuild2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-tools-support-async.git
[1/883] Fetching swift-tools-support-async
[884/52180] Fetching swift-tools-support-async, grpc-swift
[31663/92350] Fetching swift-tools-support-async, grpc-swift, swift-protobuf
Fetched https://github.com/apple/swift-tools-support-async.git from cache (3.61s)
[84639/91467] Fetching grpc-swift, swift-protobuf
Fetching https://github.com/apple/swift-distributed-tracing
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetched https://github.com/grpc/grpc-swift.git from cache (3.94s)
[37359/40170] Fetching swift-protobuf
Fetching https://github.com/apple/swift-crypto.git
[37761/45321] Fetching swift-protobuf, swift-distributed-tracing
[44921/52270] Fetching swift-protobuf, swift-distributed-tracing, swift-tools-support-core
Fetched https://github.com/apple/swift-distributed-tracing from cache (0.80s)
[42464/47119] Fetching swift-protobuf, swift-tools-support-core
Fetching https://github.com/apple/swift-argument-parser.git
[44966/63925] Fetching swift-protobuf, swift-tools-support-core, swift-crypto
[47487/141987] Fetching swift-protobuf, swift-tools-support-core, swift-crypto, swift-nio
[52537/157901] Fetching swift-protobuf, swift-tools-support-core, swift-crypto, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (2.53s)
[91343/150952] Fetching swift-protobuf, swift-crypto, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.03s)
[77831/135038] Fetching swift-protobuf, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (5.24s)
[95595/118232] Fetching swift-protobuf, swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-protobuf.git from cache (12.46s)
[1/3903] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.90s)
Fetched https://github.com/apple/swift-nio.git from cache (12.45s)
Computing version for https://github.com/apple/swift-tools-support-async.git
Computed https://github.com/apple/swift-tools-support-async.git at 0.16.0 (20.36s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4937] Fetching swift-system
[3112/22382] Fetching swift-system, swift-collections
[3111/4937] Fetching swift-system
[3509/22382] Fetching swift-system, swift-collections
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
[9300/24196] Fetching swift-system, swift-collections, swift-atomics
[9994/29528] Fetching swift-system, swift-collections, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.85s)
[18643/27714] Fetching swift-system, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.86s)
[13660/22382] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.56s)
Fetched https://github.com/apple/swift-collections.git from cache (2.61s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (3.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.38s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.2 (0.78s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.41s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.25s)
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.97s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.84s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.84s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.77s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.22s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2704] Fetching swift-nio-transport-services
[1272/8831] Fetching swift-nio-transport-services, swift-nio-extras
[6940/23906] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.70s)
[7936/21202] Fetching swift-nio-extras, swift-nio-ssl
[10500/32863] Fetching swift-nio-extras, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.93s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.33s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.36s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (4.15s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.72s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.85s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/917] Fetching swift-http-types
[918/6902] Fetching swift-http-types, swift-algorithms
[1278/8531] Fetching swift-http-types, swift-algorithms, swift-asn1
[1393/11001] Fetching swift-http-types, swift-algorithms, swift-asn1, swift-service-lifecycle
[3529/17532] Fetching swift-http-types, swift-algorithms, swift-asn1, swift-service-lifecycle, swift-certificates
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.94s)
[1/1176] Fetching swift-http-structured-headers
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.16s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.16s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.17s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.18s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.68s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.72s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.63s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.64s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.87s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.97s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (1.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.64s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (1.07s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.92s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.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.2.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.6.4
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.0
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.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
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.16.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.13.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.2
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.0.4
Creating working copy for https://github.com/apple/swift-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.17s)
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/889] Write sources
[28/889] Compiling _CWASI _CWASI.c
[29/889] Compiling _AtomicsShims.c
[30/889] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-async/Sources/CProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/.build/checkouts/swift-tools-support-async/Sources/CProcessSpawnSync/spawner.c:26:10: fatal error: 'sys/wait.h' file not found
   26 | #include <sys/wait.h>
      |          ^~~~~~~~~~~~
2 errors generated.
[31/889] Compiling TSFCProcessSpawnSync spawner.c
[31/889] Compiling x509_req.cc
[31/889] Compiling x509_trs.cc
[31/889] Compiling x509_txt.cc
[31/889] Compiling x509_set.cc
[31/889] Compiling x509_v3.cc
[31/889] Compiling x509_vfy.cc
[31/889] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm