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-sdk-generator, reference main (d08a62), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 11:56:59 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/swiftlang/swift-sdk-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-sdk-generator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d08a627 Make targetSwiftPackagePath optional for Wasm Swift SDK generation (#242)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
d08a62773822b3196897a96e405211b43d4a10ad
SUCCESS checkout https://github.com/swiftlang/swift-sdk-generator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-sdk-generator.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/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
[1/1814] Fetching swift-atomics
[709/5717] Fetching swift-atomics, swift-log
[2129/23170] Fetching swift-atomics, swift-log, swift-collections
[3685/40034] Fetching swift-atomics, swift-log, swift-collections, swift-crypto
[9692/118107] Fetching swift-atomics, swift-log, swift-collections, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (2.33s)
Fetching https://github.com/apple/swift-argument-parser
[70019/100654] Fetching swift-atomics, swift-log, swift-crypto, swift-nio
[73330/116589] Fetching swift-atomics, swift-log, swift-crypto, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-atomics.git from cache (3.74s)
Fetched https://github.com/apple/swift-log.git from cache (3.74s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-system
[91199/110872] Fetching swift-crypto, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-crypto.git from cache (3.89s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.59s)
[59336/78073] Fetching swift-nio
[60167/83010] Fetching swift-nio, swift-system
[61590/97288] Fetching swift-nio, swift-system, async-http-client
Fetched https://github.com/apple/swift-system from cache (2.01s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.05s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-nio.git from cache (6.88s)
[1/5381] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.46s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (7.63s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.61s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.50s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.54s)
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-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2718] Fetching swift-nio-transport-services
[2719/8845] Fetching swift-nio-transport-services, swift-nio-extras
[2965/14830] Fetching swift-nio-transport-services, swift-nio-extras, swift-algorithms
[6354/26491] Fetching swift-nio-transport-services, swift-nio-extras, swift-algorithms, swift-nio-http2
[10449/41566] Fetching swift-nio-transport-services, swift-nio-extras, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.61s)
[14369/38848] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (0.96s)
[13807/32863] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.08s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.11s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.78s)
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 (3.22s)
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.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.23s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.81s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.70s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.71s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1176] Fetching swift-http-structured-headers
[684/2805] Fetching swift-http-structured-headers, swift-asn1
[948/9388] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
[1372/11858] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git from cache (0.61s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.61s)
[8922/9053] Fetching swift-certificates, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.61s)
[6518/6583] Fetching swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.86s)
[1/923] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-system at 1.6.2 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.82s)
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.76s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.94s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.69s)
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 (0.76s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.86s)
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-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-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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.1
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-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.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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.28.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
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/861] Write sources
[30/861] Compiling CSystem shims.c
[31/861] Compiling CNIOWindows WSAStartup.c
[32/861] Compiling _NumericsShims _NumericsShims.c
[33/861] Compiling _AtomicsShims.c
[34/861] Compiling CNIOWindows shim.c
[35/861] Compiling CNIOPosix event_loop_id.c
[36/861] Compiling CNIOLinux liburing_shims.c
[37/861] Compiling CNIOWASI CNIOWASI.c
[38/861] Compiling CNIOLinux shim.c
[39/861] Compiling CNIOExtrasZlib empty.c
[40/861] Compiling CNIODarwin shim.c
[41/861] Compiling CNIOLLHTTP c_nio_http.c
[42/861] Compiling CNIOLLHTTP c_nio_api.c
[43/861] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:16:
/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/Sources/CProcessSpawnSync/spawner.c:24:10: fatal error: 'sys/wait.h' file not found
   24 | #include <sys/wait.h>
      |          ^~~~~~~~~~~~
2 errors generated.
[44/861] Compiling CProcessSpawnSync spawner.c
[44/861] Compiling CNIOLLHTTP c_nio_llhttp.c
[44/861] Compiling tls_record.cc
[44/861] Compiling CNIOBoringSSLShims shims.c
[44/861] Compiling fiat_p256_adx_mul.S
[44/861] Compiling fiat_curve25519_adx_square.S
[44/861] Compiling fiat_curve25519_adx_mul.S
[44/861] Compiling fiat_p256_adx_sqr.S
BUILD FAILURE 6.2 wasm