Build Information
Failed to build grpc-swift, reference release/1.x (65d008), with Swift 6.1 for Wasm on 14 Aug 2026 02:59:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grpc/grpc-swift.git
Reference: release/1.x
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/grpc/grpc-swift
* branch release/1.x -> FETCH_HEAD
* [new branch] release/1.x -> origin/release/1.x
HEAD is now at 65d0084 Fix broken documentation (#2278)
Cloned https://github.com/grpc/grpc-swift.git
Revision (git rev-parse @):
65d0084f6d7db34b0dfcb1c956b8dd8da8ef9d23
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/grpc/grpc-swift.git at release/1.x
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/grpc/grpc-swift.git
https://github.com/grpc/grpc-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[470/9829] Fetching swift-atomics, swift-log
[2086/28133] Fetching swift-atomics, swift-log, swift-argument-parser
[28134/54842] Fetching swift-atomics, swift-log, swift-argument-parser, swift-collections
[30004/70695] Fetching swift-atomics, swift-log, swift-argument-parser, swift-collections, swift-nio-ssl
[41831/123232] Fetching swift-atomics, swift-log, swift-argument-parser, swift-collections, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-atomics.git from cache (3.80s)
Fetched https://github.com/apple/swift-log.git from cache (3.80s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.81s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.81s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-collections.git from cache (3.82s)
Fetched https://github.com/apple/swift-protobuf.git from cache (3.84s)
[1/6646] Fetching swift-nio-extras
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.59s)
[1/12212] Fetching swift-nio-http2
[12213/97552] Fetching swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.95s)
[2561/85340] Fetching swift-nio
[9389/88200] Fetching swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.52s)
[21335/85340] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.07s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (7.12s)
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-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.45.0 (0.23s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.31s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.3 (0.32s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1933] Fetching swift-asn1
[1877/3186] Fetching swift-asn1, swift-http-structured-headers
[2962/10671] Fetching swift-asn1, swift-http-structured-headers, swift-certificates
[3637/13482] Fetching swift-asn1, swift-http-structured-headers, swift-certificates, swift-service-lifecycle
[3638/19580] Fetching swift-asn1, swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-algorithms
[19581/26235] Fetching swift-asn1, swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.82s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.82s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.82s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.82s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.82s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.82s)
Fetching https://github.com/apple/swift-http-types.git
[1/1365] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.45s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.18s)
Fetching https://github.com/apple/swift-numerics.git
[1/6553] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.17s)
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 (1.39s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.25s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.21s)
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-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.2 (0.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.3 (0.42s)
Fetching https://github.com/apple/swift-system.git
[1/6842] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.90s)
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.21s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.4 (0.27s)
Fetching https://github.com/apple/swift-crypto.git
[1/18322] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (1.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.1 (0.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.25s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.23s)
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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.45.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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.6.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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.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.2
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.4
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-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.34.3
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.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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.3
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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.1.5
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
[4/4] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[4/542] Write sources
[7/542] Compiling rdrand-x86_64-apple.S
[8/542] Write sources
[9/542] Copying Generated
[10/542] Write sources
[12/542] Compiling p256_beeu-x86_64-asm-linux.S
[13/542] Write sources
[20/542] Compiling vpaes-armv8-linux.S
[21/542] Write sources
[53/542] Compiling vpaes-armv8-apple.S
[53/542] Compiling vpaes-armv7-linux.S
[55/542] Compiling _AtomicsShims.c
[56/542] Compiling CNIOWASI CNIOWASI.c
[57/542] Compiling CNIOWindows shim.c
[58/542] Compiling CNIOWindows WSAStartup.c
[59/542] Compiling CNIOPosix event_loop_id.c
[60/542] Compiling CNIOLinux shim.c
[60/542] Compiling CNIOOpenBSD shim.c
[62/542] Compiling CNIOLinux liburing_shims.c
[63/542] Compiling CNIODarwin shim.c
[64/542] Compiling CNIOFreeBSD shim.c
[65/542] Compiling CNIOLLHTTP c_nio_http.c
[66/542] Compiling fiat_p256_adx_sqr.S
[67/542] Compiling fiat_p256_adx_mul.S
[68/542] Compiling CNIOLLHTTP c_nio_api.c
[69/542] Compiling fiat_curve25519_adx_square.S
[70/542] Compiling fiat_curve25519_adx_mul.S
[71/542] Compiling vpaes-armv8-win.S
[72/542] Write swift-version-24593BA9C3E375BF.txt
[73/542] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/crypto.cc:21:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/fipsmodule/rand/internal.h:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/fipsmodule/rand/../aes/internal.h:22:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/fipsmodule/rand/../aes/../../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[74/542] Compiling crypto.cc
[74/542] Compiling tls13_enc.cc
[74/542] Compiling tls13_server.cc
[74/542] Compiling tls_record.cc
[74/542] Compiling tls_method.cc
[74/542] Compiling tls13_client.cc
[74/542] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
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 GRPCSwiftPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
[4/4] Compiling plugin SwiftProtobufPlugin
Building for debugging...
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>
| ^~~~~~~~~~~
1 error generated.
[4/473] Compiling tls13_client.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>
| ^~~~~~~~~~~
1 error generated.
[4/473] Compiling tls13_both.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>
| ^~~~~~~~~~~
1 error generated.
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>
| ^~~~~~~~~~~
1 error generated.
[4/473] Compiling tls13_server.cc
[4/473] Compiling tls_method.cc
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.
[4/473] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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.
[4/473] Compiling t1_enc.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>
| ^~~~~~~~~~~
1 error generated.
[4/473] Compiling tls13_enc.cc
[4/473] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm