The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pir-service-example, reference main (34ba75), with Swift 6.1 for Wasm on 21 Nov 2026 03:45:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pir-service-example.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/apple/pir-service-example
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 34ba755 Bump Package.resolved (#199)
Cloned https://github.com/apple/pir-service-example.git
Revision (git rev-parse @):
34ba755c1d06a8f70306e965a3bdbb697d9a8355
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pir-service-example.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/pir-service-example.git
https://github.com/apple/pir-service-example.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-homomorphic-encryption
[1/5846] Fetching swift-homomorphic-encryption
Fetched https://github.com/apple/swift-homomorphic-encryption from cache (0.93s)
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser.git
[1/8544] Fetching swift-log
[1796/14732] Fetching swift-log, swift-algorithms
[1797/33719] Fetching swift-log, swift-algorithms, swift-crypto
[3924/40581] Fetching swift-log, swift-algorithms, swift-crypto, swift-numerics
[22925/60023] Fetching swift-log, swift-algorithms, swift-crypto, swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms from cache (0.85s)
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.85s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[22432/34393] Fetching swift-log, swift-crypto, swift-numerics
[34394/91960] Fetching swift-log, swift-crypto, swift-numerics, swift-protobuf
[37849/94341] Fetching swift-log, swift-crypto, swift-numerics, swift-protobuf, swift-docc-plugin
[38639/97239] Fetching swift-log, swift-crypto, swift-numerics, swift-protobuf, swift-docc-plugin, swift-service-lifecycle
[35642/90377] Fetching swift-log, swift-crypto, swift-protobuf, swift-docc-plugin, swift-service-lifecycle
Fetched https://github.com/apple/swift-numerics from cache (1.28s)
Fetching https://github.com/hummingbird-project/hummingbird-compression
Fetched https://github.com/apple/swift-log.git from cache (1.28s)
[27520/81833] Fetching swift-crypto, swift-protobuf, swift-docc-plugin, swift-service-lifecycle
Fetching https://github.com/hummingbird-project/hummingbird
Fetched https://github.com/apple/swift-crypto.git from cache (1.30s)
[9271/62846] Fetching swift-protobuf, swift-docc-plugin, swift-service-lifecycle
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.47s)
Fetching https://github.com/apple/swift-asn1.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.49s)
[5757/57567] Fetching swift-protobuf
[12091/58851] Fetching swift-protobuf, hummingbird-compression
[12104/60933] Fetching swift-protobuf, hummingbird-compression, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.41s)
[14444/58851] Fetching swift-protobuf, hummingbird-compression
[17416/88296] Fetching swift-protobuf, hummingbird-compression, hummingbird
Fetched https://github.com/hummingbird-project/hummingbird-compression from cache (0.60s)
[24285/87012] Fetching swift-protobuf, hummingbird
[62260/173962] Fetching swift-protobuf, hummingbird, swift-nio
Fetched https://github.com/hummingbird-project/hummingbird from cache (0.98s)
[42624/144517] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-protobuf from cache (4.65s)
Fetched https://github.com/apple/swift-nio.git from cache (4.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (6.09s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1936] Fetching swift-atomics
[1937/9555] Fetching swift-atomics, swift-system
[3385/39970] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.96s)
Fetched https://github.com/apple/swift-system.git from cache (0.96s)
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (2.15s)
Computing version for https://github.com/hummingbird-project/hummingbird-compression
Computed https://github.com/hummingbird-project/hummingbird-compression at 2.0.0 (0.21s)
Fetching https://github.com/adam-fowler/compress-nio.git
[1/700] Fetching compress-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (0.37s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.39.0 (0.26s)
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/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.5.0 (0.22s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.21s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.05s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (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)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.72s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.26s)
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.22s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6904] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.61s)
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.88s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.32s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.26.0 (0.27s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2881] Fetching swift-nio-transport-services
[1125/19616] Fetching swift-nio-transport-services, async-http-client
[3050/26397] Fetching swift-nio-transport-services, async-http-client, swift-nio-extras
[14296/33122] Fetching swift-nio-transport-services, async-http-client, swift-nio-extras, swift-distributed-tracing
[25563/50088] Fetching swift-nio-transport-services, async-http-client, swift-nio-extras, swift-distributed-tracing, swift-nio-ssl
[26300/62526] Fetching swift-nio-transport-services, async-http-client, swift-nio-extras, swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.73s)
Fetched https://github.com/swift-server/async-http-client.git from cache (0.73s)
Fetching https://github.com/apple/swift-metrics.git
[25156/39010] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.76s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.76s)
[17019/29404] Fetching swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.99s)
[1/1990] Fetching swift-http-types
[61/5633] Fetching swift-http-types, swift-metrics
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.47s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.35s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.59s)
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.33s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[1285/8973] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.55s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.55s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.23s)
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/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.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.23s)
Fetching https://github.com/apple/swift-service-context.git
[1/1552] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.40s)
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/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.26s)
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.24s)
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)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.27s)
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/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.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.6
Creating working copy for https://github.com/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.26.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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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-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/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-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.105.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/hummingbird-project/hummingbird-compression
Working copy of https://github.com/hummingbird-project/hummingbird-compression resolved at 2.0.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.7
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-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-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-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-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.39.0
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/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-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-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-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-homomorphic-encryption
Working copy of https://github.com/apple/swift-homomorphic-encryption resolved at release/1.1 (a791290)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/942] Write sources
[68/942] Compiling _CWASI _CWASI.c
[69/942] Compiling _NumericsShims _NumericsShims.c
[70/942] Compiling _AtomicsShims.c
[71/942] Compiling CNIOWindows shim.c
[72/942] Compiling CSystem shims.c
[73/942] Compiling CNIOWindows WSAStartup.c
[74/942] Compiling CNIOWASI CNIOWASI.c
[75/942] Compiling CUtil zeroize.c
[76/942] Compiling CNIOPosix event_loop_id.c
[77/942] Compiling CNIOOpenBSD shim.c
[78/942] Compiling CNIOLinux shim.c
[79/942] Compiling CNIOLinux liburing_shims.c
[80/942] Compiling CNIOLLHTTP c_nio_http.c
[81/942] Compiling CNIOFreeBSD shim.c
[82/942] Compiling CNIOExtrasZlib zutil.c
[83/942] Compiling CNIOLLHTTP c_nio_api.c
[84/942] Compiling CNIOExtrasZlib inftrees.c
[85/942] Compiling CNIOExtrasZlib inffast.c
[86/942] Compiling CNIOExtrasZlib trees.c
[87/942] Compiling CNIODarwin shim.c
[88/942] Compiling CNIOExtrasZlib adler32.c
[89/942] Compiling CNIOExtrasZlib inflate.c
[90/942] Compiling CNIOExtrasZlib crc32.c
[91/942] Compiling fiat_p256_adx_sqr.S
[92/942] Compiling fiat_p256_adx_mul.S
[93/942] Compiling fiat_curve25519_adx_square.S
[94/942] Compiling CNIOExtrasZlib deflate.c
[95/942] Write swift-version-24593BA9C3E375BF.txt
[96/942] Compiling fiat_curve25519_adx_mul.S
[97/946] Compiling CNIOBoringSSLShims shims.c
[98/948] Compiling CNIOLLHTTP c_nio_llhttp.c
[99/948] Compiling tasn_enc.cc
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.
[100/988] Compiling tls13_server.cc
<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
[100/988] Compiling tls13_enc.cc
<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
[100/988] Compiling tls_record.cc
[100/988] Compiling tls_method.cc
[101/988] Emitting module _NIOBase64
<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
<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
[102/988] 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
<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-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: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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
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.
[5/848] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/ssl_x509.cc:28:
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>
      |          ^~~~~~~~~~~
[5/848] Compiling ssl_x509.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:31:
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>
      |          ^~~~~~~~~~~
[5/848] Compiling tls13_both.cc
[5/848] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[5/848] Compiling tls_record.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>
      |          ^~~~~~~~~~~
[5/848] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:34:
/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>
      |          ^~~~~~~~~~~
[5/848] Compiling t1_enc.cc
[5/848] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm