Build Information
Failed to build cloudflare-swift, reference 0.8.3 (ed1ec0), with Swift 6.1 for Wasm on 27 Jun 2026 18:09:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/cloudflare-swift.git
Reference: 0.8.3
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/zunda-pixel/cloudflare-swift
* tag 0.8.3 -> FETCH_HEAD
HEAD is now at ed1ec02 add init with macro (#52)
Cloned https://github.com/zunda-pixel/cloudflare-swift.git
Revision (git rev-parse @):
ed1ec02c70cdf301159d7a770b91d4c70763f81b
SUCCESS checkout https://github.com/zunda-pixel/cloudflare-swift.git at 0.8.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/zunda-pixel/cloudflare-swift.git
https://github.com/zunda-pixel/cloudflare-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/gohanlon/swift-memberwise-init-macro
Fetching https://github.com/vapor/multipart-kit
Fetching https://github.com/zunda-pixel/http-client
Fetching https://github.com/apple/swift-http-types
[1/1219] Fetching swift-http-types
[635/4884] Fetching swift-http-types, multipart-kit
[2063/5078] Fetching swift-http-types, multipart-kit, http-client
[2948/6727] Fetching swift-http-types, multipart-kit, http-client, swift-memberwise-init-macro
Fetched https://github.com/zunda-pixel/http-client from cache (1.04s)
Fetched https://github.com/gohanlon/swift-memberwise-init-macro from cache (1.04s)
Fetched https://github.com/apple/swift-http-types from cache (1.04s)
Fetched https://github.com/vapor/multipart-kit from cache (1.06s)
Computing version for https://github.com/gohanlon/swift-memberwise-init-macro
Computed https://github.com/gohanlon/swift-memberwise-init-macro at 0.6.0 (2.03s)
Fetching https://github.com/swiftlang/swift-syntax
[1/75750] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.45s)
Computing version for https://github.com/zunda-pixel/http-client
Computed https://github.com/zunda-pixel/http-client at 0.4.0 (2.68s)
Fetching https://github.com/swift-server/async-http-client.git
[1/15972] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.78s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.34.0 (1.03s)
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-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
[1/7598] Fetching swift-log
[2/9466] Fetching swift-log, swift-atomics
[190/12326] Fetching swift-log, swift-atomics, swift-nio-transport-services
[4954/18141] Fetching swift-log, swift-atomics, swift-nio-transport-services, swift-distributed-tracing
[11374/24684] Fetching swift-log, swift-atomics, swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras
[12494/30747] Fetching swift-log, swift-atomics, swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-algorithms
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
[20023/23149] Fetching swift-atomics, swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.57s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.57s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.57s)
Fetching https://github.com/apple/swift-nio.git
[1/15575] Fetching swift-nio-ssl
[2/27698] Fetching swift-nio-ssl, swift-nio-http2
[7342/111852] Fetching swift-nio-ssl, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.09s)
[53445/99729] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.19s)
[41236/84154] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.04s)
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.84s)
Fetching https://github.com/apple/swift-service-context.git
[1/1295] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.42s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.67s)
Fetching https://github.com/apple/swift-numerics.git
[1/6429] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.2 (0.99s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5941] Fetching swift-system
[1249/31180] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
[2020/25239] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.24s)
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.21s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.6.0 (0.22s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.21s)
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.22s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.44.0 (0.23s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.1 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.7.2 (0.25s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.1 (0.27s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1905] Fetching swift-asn1
[40/4669] Fetching swift-asn1, swift-service-lifecycle
[3731/11997] Fetching swift-asn1, swift-service-lifecycle, swift-certificates
[4890/18550] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.55s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.55s)
[7308/10092] Fetching swift-service-lifecycle, swift-certificates
[10093/11341] Fetching swift-service-lifecycle, swift-certificates, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.74s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.74s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.74s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.98s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.4 (0.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.93s)
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.22s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.2 (0.27s)
Fetching https://github.com/apple/swift-crypto.git
[1/17761] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.82s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (0.77s)
Computing version for https://github.com/vapor/multipart-kit
Computed https://github.com/vapor/multipart-kit at 5.0.0-alpha.5 (0.21s)
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.34.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.4.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.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/vapor/multipart-kit
Working copy of https://github.com/vapor/multipart-kit resolved at 5.0.0-alpha.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.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.101.2
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.6.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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.4
Creating working copy for https://github.com/gohanlon/swift-memberwise-init-macro
Working copy of https://github.com/gohanlon/swift-memberwise-init-macro resolved at 0.6.0
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-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/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/zunda-pixel/http-client
Working copy of https://github.com/zunda-pixel/http-client resolved at 0.4.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.19.2
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.34.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.44.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.7.2
Building for debugging...
[0/507] Write sources
[55/507] Compiling _CWASI _CWASI.c
[56/507] Compiling CNIOWindows shim.c
[57/507] Compiling CNIOWindows WSAStartup.c
[58/507] Compiling _NumericsShims _NumericsShims.c
[59/507] Compiling _AtomicsShims.c
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/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/time.h:93:8: note: 'strftime_l' declared here
93 | size_t strftime_l (char * __restrict, size_t, const char * __restrict, const struct tm * __restrict, locale_t);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[60/507] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[60/507] Compiling CNIOLinux shim.c
[60/507] Compiling CNIOLinux liburing_shims.c
[60/507] Compiling CNIOWASI CNIOWASI.c
[60/507] Compiling _SwiftSyntaxCShims PlatformMutex.c
[60/507] Compiling CNIOOpenBSD shim.c
[60/507] Compiling CNIOPosix event_loop_id.c
[60/507] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/447] Compiling CNIOExtrasZlib zutil.c
[0/447] Compiling CNIOExtrasZlib inffast.c
[2/447] Compiling CNIOExtrasZlib inftrees.c
[3/447] Compiling CNIOExtrasZlib adler32.c
[4/447] Compiling CNIOExtrasZlib crc32.c
[5/447] Compiling CNIOWASI CNIOWASI.c
[6/447] Compiling CNIOOpenBSD shim.c
[7/447] Compiling CNIOPosix event_loop_id.c
[8/447] Compiling CNIOLinux liburing_shims.c
[9/447] Compiling CNIOLinux shim.c
[10/447] Compiling CNIOExtrasZlib trees.c
[11/447] Compiling CNIOExtrasZlib deflate.c
[12/447] Compiling CNIOLLHTTP c_nio_http.c
[13/447] Compiling CNIOFreeBSD shim.c
[14/447] Compiling CNIOExtrasZlib inflate.c
[15/447] Compiling CNIODarwin shim.c
[16/447] Compiling CNIOLLHTTP c_nio_api.c
[17/447] Compiling fiat_p256_adx_sqr.S
[18/447] Compiling fiat_p256_adx_mul.S
[19/447] Compiling fiat_curve25519_adx_square.S
[20/447] Compiling fiat_curve25519_adx_mul.S
[21/447] Compiling _SwiftSyntaxCShims PlatformMutex.c
[22/447] Write swift-version-24593BA9C3E375BF.txt
[23/447] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[24/451] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[24/451] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[24/451] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[24/451] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[24/451] Compiling tls13_client.cc
[24/451] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[24/451] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm