The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sdk-generator, reference main (571909), with Swift 6.1 for Wasm on 24 Apr 2026 05:52:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 5719098 Allow merging of multiple Wasm Swift SDKs in a single bundle (#263)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
57190988c478930fbcee768f6119384e3ad5a0a8
SUCCESS checkout https://github.com/swiftlang/swift-sdk-generator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/swift-sdk-generator.git
https://github.com/swiftlang/swift-sdk-generator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-crypto.git
[1/1820] Fetching swift-atomics
[347/8067] Fetching swift-atomics, swift-async-algorithms
[1727/14716] Fetching swift-atomics, swift-async-algorithms, swift-log
[4477/38396] Fetching swift-atomics, swift-async-algorithms, swift-log, swift-collections
[13915/55832] Fetching swift-atomics, swift-async-algorithms, swift-log, swift-collections, swift-crypto
[16899/139051] Fetching swift-atomics, swift-async-algorithms, swift-log, swift-collections, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.68s)
Fetching https://github.com/apple/swift-argument-parser
[11658/132804] Fetching swift-atomics, swift-log, swift-collections, swift-crypto, swift-nio
[26407/150268] Fetching swift-atomics, swift-log, swift-collections, swift-crypto, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.37s)
[74735/132804] Fetching swift-atomics, swift-log, swift-collections, swift-crypto, swift-nio
Fetching https://github.com/apple/swift-system
[77264/138405] Fetching swift-atomics, swift-log, swift-collections, swift-crypto, swift-nio, swift-system
Fetched https://github.com/apple/swift-system from cache (0.99s)
[82180/132804] Fetching swift-atomics, swift-log, swift-collections, swift-crypto, swift-nio
Fetching https://github.com/swift-server/async-http-client.git
[93693/148507] Fetching swift-atomics, swift-log, swift-collections, swift-crypto, swift-nio, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (4.81s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.96s)
[96128/124422] Fetching swift-atomics, swift-collections, swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (2.35s)
[84586/108719] Fetching swift-atomics, swift-collections, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (9.51s)
Fetched https://github.com/apple/swift-collections.git from cache (9.56s)
Fetched https://github.com/apple/swift-nio.git from cache (9.69s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (10.31s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.91s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.33s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.64s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.64s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
[1/2847] Fetching swift-nio-transport-services
[286/8616] Fetching swift-nio-transport-services, swift-distributed-tracing
[3179/15135] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras
[9284/21193] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-algorithms
[17616/33301] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-algorithms, swift-nio-http2
[17920/48741] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.63s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.65s)
[13456/36453] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (0.70s)
[7552/30395] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.70s)
[17207/18287] Fetching swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.59s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.62s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (3.22s)
Fetching https://github.com/apple/swift-service-context.git
[1/1276] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.28s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.06s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.60s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.64s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.84s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.71s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.74s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1043] Fetching swift-http-types
[565/2285] Fetching swift-http-types, swift-http-structured-headers
[644/4088] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[1900/11240] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-certificates
[3383/13985] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.35s)
[9024/12743] Fetching swift-http-types, swift-asn1, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
[7579/10940] Fetching swift-http-types, swift-certificates, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.42s)
[6694/8195] Fetching swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (1.72s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.72s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (2.34s)
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.7.1 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.00s)
Computed https://github.com/apple/swift-system at 1.6.4 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.68s)
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.00s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.84s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.80s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.97s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (2.65s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
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.33.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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.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.7.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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.43.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.1
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.3.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.5.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.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
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.7.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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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/868] Write sources
[15/868] Compiling _CWASI _CWASI.c
[16/868] Compiling _NumericsShims _NumericsShims.c
[17/868] Write sources
[35/868] Compiling aesv8-gcm-armv8-linux.S
[36/868] Compiling CNIOWindows shim.c
[37/868] Compiling CNIOWindows WSAStartup.c
[38/868] Compiling CSystem shims.c
[39/868] Compiling _AtomicsShims.c
[40/868] Compiling CNIOWASI CNIOWASI.c
[41/868] Compiling CNIOPosix event_loop_id.c
[42/868] Compiling CNIOOpenBSD shim.c
[43/868] Compiling CNIOLinux shim.c
[44/868] Compiling CNIOLinux liburing_shims.c
[45/868] Compiling CNIOLLHTTP c_nio_http.c
[46/868] Compiling CNIOLLHTTP c_nio_api.c
[47/868] Compiling CNIOExtrasZlib empty.c
[48/868] Compiling CNIODarwin shim.c
[49/868] Compiling fiat_p256_adx_sqr.S
[50/868] Compiling fiat_p256_adx_mul.S
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:16:
/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/CProcessSpawnSync/spawner.c:23:10: fatal error: 'pthread.h' file not found
   23 | #include <pthread.h>
      |          ^~~~~~~~~~~
2 errors generated.
[51/868] Compiling CProcessSpawnSync spawner.c
[51/868] Compiling fiat_curve25519_adx_square.S
[51/868] Compiling siphash.cc
[51/868] Compiling CNIOLLHTTP c_nio_llhttp.c
[51/868] Write swift-version-24593BA9C3E375BF.txt
[51/868] Compiling socket_helper.cc
[51/868] Compiling CNIOBoringSSLShims shims.c
[51/868] Compiling d1_pkt.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/819] Write sources
[8/819] Compiling fiat_curve25519_adx_square.S
[9/819] Compiling fiat_curve25519_adx_mul.S
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:16:
/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/CProcessSpawnSync/spawner.c:23:10: fatal error: 'pthread.h' file not found
   23 | #include <pthread.h>
      |          ^~~~~~~~~~~
2 errors generated.
[10/819] Compiling CProcessSpawnSync spawner.c
[10/819] Compiling CNIOBoringSSLShims shims.c
[10/819] Compiling tls_method.cc
[10/819] Compiling tls13_server.cc
[10/819] Compiling CNIOLLHTTP c_nio_llhttp.c
[10/819] Compiling tls_record.cc
[10/819] Compiling tls13_enc.cc
[10/819] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm