Build Information
Failed to build google-cloud-pubsub, reference main (aec46e), with Swift 6.1 for Wasm on 18 Nov 2026 22:09:28 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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rosecoder/google-cloud-pubsub-swift.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/rosecoder/google-cloud-pubsub-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aec46e1 test: pin the stress harness to the library's resolved dependencies
Cloned https://github.com/rosecoder/google-cloud-pubsub-swift.git
Revision (git rev-parse @):
aec46e12c8c986f97c2e4b30db704a617c94b213
SUCCESS checkout https://github.com/rosecoder/google-cloud-pubsub-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rosecoder/google-cloud-pubsub-swift.git
https://github.com/rosecoder/google-cloud-pubsub-swift.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:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/rosecoder/google-cloud-service-context.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/rosecoder/retryable-task.git
[2/51] Fetching google-cloud-service-context
[52/209] Fetching google-cloud-service-context, retryable-task
[193/3107] Fetching google-cloud-service-context, retryable-task, swift-service-lifecycle
[3091/15540] Fetching google-cloud-service-context, retryable-task, swift-service-lifecycle, swift-nio-http2
[15524/102475] Fetching google-cloud-service-context, retryable-task, swift-service-lifecycle, swift-nio-http2, swift-nio
[30303/132680] Fetching google-cloud-service-context, retryable-task, swift-service-lifecycle, swift-nio-http2, swift-nio, swift-collections
Fetched https://github.com/rosecoder/retryable-task.git from cache (2.12s)
Fetching https://github.com/rosecoder/google-cloud-auth-swift.git
Fetched https://github.com/apple/swift-collections.git from cache (2.13s)
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
[84930/102317] Fetching google-cloud-service-context, swift-service-lifecycle, swift-nio-http2, swift-nio
[102318/108897] Fetching google-cloud-service-context, swift-service-lifecycle, swift-nio-http2, swift-nio, grpc-swift-nio-transport
[102452/109149] Fetching google-cloud-service-context, swift-service-lifecycle, swift-nio-http2, swift-nio, grpc-swift-nio-transport, google-cloud-auth-swift
Fetched https://github.com/rosecoder/google-cloud-auth-swift.git from cache (0.51s)
[102778/108897] Fetching google-cloud-service-context, swift-service-lifecycle, swift-nio-http2, swift-nio, grpc-swift-nio-transport
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (0.71s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2661] Fetching grpc-swift-protobuf
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.47s)
Fetching https://github.com/apple/swift-log.git
[1/6725] Fetching swift-distributed-tracing
[6726/15248] Fetching swift-distributed-tracing, swift-log
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.64s)
[86/8523] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
Fetched https://github.com/rosecoder/google-cloud-service-context.git from cache (4.50s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (4.50s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.51s)
Fetched https://github.com/apple/swift-nio.git from cache (4.54s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (4.80s)
Fetching https://github.com/apple/swift-atomics.git
[1/1932] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Computing version for https://github.com/rosecoder/google-cloud-service-context.git
Computed https://github.com/rosecoder/google-cloud-service-context.git at 0.0.2 (0.74s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-service-context.git
[1/1552] Fetching swift-service-context
[1553/18206] Fetching swift-service-context, async-http-client
Fetched https://github.com/apple/swift-service-context.git from cache (1.00s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.00s)
Computing version for https://github.com/rosecoder/retryable-task.git
Computed https://github.com/rosecoder/retryable-task.git at 1.1.2 (1.26s)
Computing version for https://github.com/rosecoder/google-cloud-auth-swift.git
Computed https://github.com/rosecoder/google-cloud-auth-swift.git at 1.3.3 (0.28s)
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/grpc/grpc-swift-2.git
[1/31249] Fetching grpc-swift-2
[22188/41642] Fetching grpc-swift-2, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.25s)
Fetched https://github.com/grpc/grpc-swift-2.git from cache (1.26s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.13.0 (1.61s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2881] Fetching swift-nio-transport-services
[174/4958] Fetching swift-nio-transport-services, swift-asn1
[3141/21924] Fetching swift-nio-transport-services, swift-asn1, swift-nio-ssl
[3569/28671] Fetching swift-nio-transport-services, swift-asn1, swift-nio-ssl, swift-nio-extras
[5873/36333] Fetching swift-nio-transport-services, swift-asn1, swift-nio-ssl, swift-nio-extras, swift-certificates
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.65s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.65s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.65s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.65s)
[3733/16966] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (1.74s)
Fetching https://github.com/apple/swift-system.git
[1/7602] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.96s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.4 (0.26s)
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.23s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.5.0 (0.28s)
Fetching https://github.com/apple/swift-protobuf.git
[1/57031] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (5.47s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (0.26s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.27s)
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.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (1.05s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.30s)
Fetching https://github.com/apple/swift-crypto.git
[1/18948] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.26s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.6.0 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.83s)
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.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.36s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.1 (0.24s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6867] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.56s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.86s)
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-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.35s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
[733/3273] Fetching swift-http-structured-headers, swift-http-types
[2558/9449] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.54s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.54s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.54s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.49s)
Fetching https://github.com/apple/swift-numerics.git
[1/6861] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.87s)
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.26s)
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.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.32s)
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.27s)
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.4
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.39.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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.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.1.7
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-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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.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.15.1
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.6.0
Creating working copy for https://github.com/rosecoder/retryable-task.git
Working copy of https://github.com/rosecoder/retryable-task.git resolved at 1.1.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.12.1
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.13.0
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.4.4
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-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/rosecoder/google-cloud-service-context.git
Working copy of https://github.com/rosecoder/google-cloud-service-context.git resolved at 0.0.2
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.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.6
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/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.5.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-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-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.46.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.0
Creating working copy for https://github.com/rosecoder/google-cloud-auth-swift.git
Working copy of https://github.com/rosecoder/google-cloud-auth-swift.git resolved at 1.3.3
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
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/866] Write sources
[55/866] Compiling _CWASI _CWASI.c
[56/866] Compiling _NumericsShims _NumericsShims.c
[57/866] Compiling _AtomicsShims.c
[58/866] Compiling SimpleFIPS202.c
[59/866] Compiling CNIOWindows shim.c
[60/866] Compiling CXKCPShims shims.c
[61/866] Compiling KeccakSponge.c
[62/866] Compiling KeccakHash.c
[63/866] Compiling CNIOWASI CNIOWASI.c
[64/866] Compiling CNIOPosix event_loop_id.c
[65/866] Compiling CNIOWindows WSAStartup.c
[66/866] Compiling CNIOOpenBSD shim.c
[66/866] Compiling CNIOLinux shim.c
[68/866] Compiling CNIOLLHTTP c_nio_http.c
[69/866] Compiling CNIOLinux liburing_shims.c
[70/866] Compiling CNIOFreeBSD shim.c
[71/866] Compiling CNIOExtrasZlib trees.c
[71/866] Compiling CNIOExtrasZlib zutil.c
[73/866] Compiling CNIOExtrasZlib inftrees.c
[74/866] Compiling CNIOExtrasZlib inffast.c
[75/866] Compiling CNIOLLHTTP c_nio_api.c
[76/866] Compiling CNIOExtrasZlib crc32.c
[77/866] Compiling CNIOExtrasZlib inflate.c
[78/866] Compiling CNIODarwin shim.c
[79/866] Compiling fiat_p256_adx_sqr.S
[80/866] Compiling CNIOExtrasZlib adler32.c
[81/866] Compiling fiat_p256_adx_mul.S
[82/866] Compiling fiat_curve25519_adx_mul.S
[83/866] Compiling fiat_curve25519_adx_square.S
[84/866] Compiling CNIOExtrasZlib deflate.c
[85/866] Write swift-version-24593BA9C3E375BF.txt
[86/866] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:22:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[87/870] Compiling tls_method.cc
[87/870] Compiling KeccakP-1600-opt64.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/internal.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/../mem_internal.h:28:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/../internal.h:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[87/870] Compiling tls13_server.cc
[88/870] Emitting module _NIODataStructures
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:31:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[88/870] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:33:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/internal.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/../mem_internal.h:28:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/../internal.h:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[88/870] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:24:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[88/870] Compiling tls_record.cc
[88/870] Compiling CNIOLLHTTP c_nio_llhttp.c
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
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:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
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 generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/783] Compiling CGRPCNIOTransportZlib empty.c
[4/783] Compiling fiat_curve25519_adx_mul.S
[5/783] Compiling md5-x86_64-linux.S
[6/783] Compiling fiat_curve25519_adx_square.S
[7/783] Compiling fiat_p256_adx_mul.S
[8/783] Compiling fiat_p256_adx_sqr.S
[9/783] Write swift-version-24593BA9C3E375BF.txt
[10/783] Compiling CCryptoBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/internal.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/../mem_internal.h:28:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/bytestring/../internal.h:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[11/787] Compiling tls13_server.cc
[11/787] Compiling tls_record.cc
[11/787] Compiling tls13_enc.cc
[11/787] Compiling KeccakP-1600-opt64.c
[11/787] Compiling CNIOLLHTTP c_nio_llhttp.c
[11/787] Compiling tls13_client.cc
[11/787] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm