Build Information
Failed to build swift-sdk-generator, reference main (bac62b), with Swift 6.1 for Wasm on 15 Oct 2026 23:42:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
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 bac62b8 Link the platform abstraction layer implementation by default (#278)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
bac62b856ac8bcbdc4fc515bc4b4a538043aa242
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-54344844-0":/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.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 saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
[1/1889] Fetching swift-atomics
[379/10194] Fetching swift-atomics, swift-log
[671/17015] Fetching swift-atomics, swift-log, swift-async-algorithms
[1635/35657] Fetching swift-atomics, swift-log, swift-async-algorithms, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
Fetching https://github.com/apple/swift-argument-parser
[10015/27352] Fetching swift-atomics, swift-async-algorithms, swift-crypto
[12253/56211] Fetching swift-atomics, swift-async-algorithms, swift-crypto, swift-collections
[19517/142699] Fetching swift-atomics, swift-async-algorithms, swift-crypto, swift-collections, swift-nio
[38758/161813] Fetching swift-atomics, swift-async-algorithms, swift-crypto, swift-collections, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.90s)
Fetching https://github.com/apple/swift-system
[111564/142699] Fetching swift-atomics, swift-async-algorithms, swift-crypto, swift-collections, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.67s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.68s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-collections.git from cache (1.69s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.69s)
[60542/86488] Fetching swift-nio
[70179/93776] Fetching swift-nio, swift-system
Fetched https://github.com/apple/swift-system from cache (0.66s)
[1/16473] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.01s)
Fetched https://github.com/apple/swift-nio.git from cache (3.32s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (3.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.32s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.38s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.33s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.24s)
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
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[1062/9026] Fetching swift-nio-transport-services, swift-algorithms
[1350/25915] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.44s)
[1739/23048] Fetching swift-algorithms, swift-nio-ssl
[7512/35342] Fetching swift-algorithms, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.20s)
[1/6705] Fetching swift-nio-extras
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.58s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.58s)
[1/6659] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.89s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.71s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.77s)
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.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.43s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.23s)
Fetching https://github.com/apple/swift-service-context.git
[1/1536] 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.3.0 (0.22s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.24s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.26s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.34s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
[374/3223] Fetching swift-http-structured-headers, swift-http-types
[1382/6097] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[4633/13710] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.65s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.66s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.66s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.66s)
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.89s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.25s)
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.1 (0.00s)
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.00s)
Computed https://github.com/apple/swift-system at 1.8.1 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.00s)
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (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.git at 2.104.0 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.26s)
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.00s)
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.00s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
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.5
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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.5.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.3
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.46.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.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.104.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.15.1
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-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-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-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-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.6.0
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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/869] Write sources
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.
[13/869] Compiling CProcessSpawnSync spawner.c
[13/869] Compiling kyber.cc
[13/869] Compiling cpu_aarch64_win.cc
[13/869] Compiling file.cc
[13/869] Compiling fd.cc
[13/869] Compiling hexdump.cc
[13/869] Compiling lhash.cc
[13/869] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/858] Write sources
[22/858] Compiling CNIOWindows shim.c
[23/858] Compiling CNIOWindows WSAStartup.c
[24/858] Compiling _NumericsShims _NumericsShims.c
[25/858] Compiling CNIOWASI CNIOWASI.c
[26/858] Compiling _AtomicsShims.c
[27/858] Compiling _CWASI _CWASI.c
[28/858] Compiling CSystem shims.c
[29/858] Compiling CNIOOpenBSD shim.c
[30/858] Compiling CNIOPosix event_loop_id.c
[30/858] Compiling CNIOLinux shim.c
[31/858] Compiling CNIOLinux liburing_shims.c
[33/858] Compiling CNIODarwin shim.c
[34/858] Compiling CNIOFreeBSD shim.c
[35/858] Compiling CNIOLLHTTP c_nio_http.c
[35/858] Compiling CNIOExtrasZlib empty.c
[37/858] Compiling fiat_p256_adx_sqr.S
[38/858] Compiling fiat_p256_adx_mul.S
[39/858] Compiling fiat_curve25519_adx_square.S
[40/858] Compiling CNIOLLHTTP c_nio_api.c
[41/858] 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.
[42/858] Compiling CProcessSpawnSync spawner.c
[42/858] Compiling tls13_enc.cc
[42/858] Compiling tls_method.cc
[42/858] Write swift-version-24593BA9C3E375BF.txt
[42/858] Compiling tls13_server.cc
[42/858] Compiling tls_record.cc
[42/858] Compiling CNIOBoringSSLShims shims.c
[42/858] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm