The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sdk-generator, reference main (faf1ca), with Swift 6.1 for Wasm on 5 Dec 2026 01:11:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -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

Build Log

========================================
RunAll
========================================
Builder version: 5.2.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 faf1ca6 Include the `SwiftPlatform` headers in the WebAssembly Swift SDK (#289)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
faf1ca671f32c75d2d0745bcfc869f5af9424d5c
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-54344843-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -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:682e410fc91ab5999f19d11857cdf53a769955f0afba08ac71c90ca6404bb679
Status: Image is up to date for registry.gitlab.com/saguaro1/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-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/8671] Fetching swift-log
[88/27694] Fetching swift-log, swift-crypto
[89/29630] Fetching swift-log, swift-crypto, swift-atomics
[11179/36783] Fetching swift-log, swift-crypto, swift-atomics, swift-async-algorithms
[18903/67450] Fetching swift-log, swift-crypto, swift-atomics, swift-async-algorithms, swift-collections
[41003/154717] Fetching swift-log, swift-crypto, swift-atomics, swift-async-algorithms, swift-collections, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.09s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.10s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetched https://github.com/apple/swift-log.git from cache (2.11s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-crypto.git from cache (2.12s)
Fetched https://github.com/apple/swift-collections.git from cache (2.13s)
[58469/87267] Fetching swift-nio
[68942/104221] Fetching swift-nio, async-http-client
[69985/123702] Fetching swift-nio, async-http-client, swift-argument-parser
[78883/131392] Fetching swift-nio, async-http-client, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.88s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.25s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.25s)
Fetched https://github.com/apple/swift-nio.git from cache (5.31s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (5.56s)
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.33s)
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.23s)
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/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.6 (1.34s)
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.25s)
Fetching https://github.com/apple/swift-algorithms.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-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2881] Fetching swift-nio-transport-services
[146/9089] Fetching swift-nio-transport-services, swift-algorithms
[175/15899] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-extras
[1133/33105] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-nio-ssl
[4574/39888] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.58s)
[14900/37007] Fetching swift-algorithms, swift-nio-extras, swift-nio-ssl, swift-distributed-tracing
[17549/49451] Fetching swift-algorithms, swift-nio-extras, swift-nio-ssl, swift-distributed-tracing, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.74s)
[16857/42641] Fetching swift-algorithms, swift-nio-ssl, swift-distributed-tracing, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.80s)
[11231/35858] Fetching swift-algorithms, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (1.40s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.80s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.80s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.82s)
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-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.22s)
Fetching https://github.com/apple/swift-service-context.git
[1/1603] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
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.git
Computed https://github.com/apple/swift-nio.git at 2.105.3 (0.48s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (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.8 (0.25s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.4 (0.33s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[1285/3286] Fetching swift-http-structured-headers, swift-http-types
[1346/6222] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[2805/13936] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
[5455/11934] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.49s)
[6067/8998] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.59s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.59s)
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-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.24s)
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.6 (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.105.3 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.8 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.28s)
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-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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.46.1
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-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-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-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-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-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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.8
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/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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.6
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.3
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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/876] 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/876] Compiling CProcessSpawnSync spawner.c
[13/876] Compiling a_object.cc
[13/876] Compiling a_strnid.cc
[13/876] Compiling a_octet.cc
[13/876] Compiling a_strex.cc
[13/876] Compiling a_mbstr.cc
[13/876] Compiling a_int.cc
[13/876] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -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:682e410fc91ab5999f19d11857cdf53a769955f0afba08ac71c90ca6404bb679
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/865] Write sources
[23/865] Compiling _AtomicsShims.c
[24/865] Compiling _CWASI _CWASI.c
[25/865] Compiling CNIOWindows WSAStartup.c
[26/865] Compiling _NumericsShims _NumericsShims.c
[27/865] Compiling CSystem shims.c
[28/865] Compiling CNIOWindows shim.c
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.
[29/865] Compiling CProcessSpawnSync spawner.c
[29/865] Compiling CNIOLLHTTP c_nio_llhttp.c
[29/865] Compiling CNIOLinux liburing_shims.c
[29/865] Compiling CNIOLinux shim.c
[29/865] Compiling CNIOOpenBSD shim.c
[29/865] Compiling CNIOPosix event_loop_id.c
[29/865] Compiling CNIOWASI CNIOWASI.c
[29/865] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm