Build Information
Failed to build SwiftOpenaiApi, reference main (a485ed), with Swift 6.1 for Wasm on 27 Oct 2026 17:07:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atacan/swift-openai-api.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/atacan/swift-openai-api
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a485ed6 Merge pull request #9 from atacan/feature/transport-products-v5
Cloned https://github.com/atacan/swift-openai-api.git
Revision (git rev-parse @):
a485ed62e28c2cc475e9fa1b0a90d0c8c08b3675
SUCCESS checkout https://github.com/atacan/swift-openai-api.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/atacan/swift-openai-api.git
https://github.com/atacan/swift-openai-api.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/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:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-openapi-runtime.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-openapi-async-http-client
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-openapi-generator.git
[1/1961] Fetching swift-http-types
[1962/2610] Fetching swift-http-types, swift-openapi-async-http-client
Fetched https://github.com/swift-server/swift-openapi-async-http-client from cache (0.68s)
[1/19044] Fetching swift-openapi-generator
[2/26308] Fetching swift-openapi-generator, swift-openapi-runtime
[366/27567] Fetching swift-openapi-generator, swift-openapi-runtime, swift-openapi-urlsession
Fetched https://github.com/apple/swift-http-types.git from cache (0.90s)
Fetched https://github.com/apple/swift-openapi-urlsession from cache (1.46s)
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (1.46s)
Fetched https://github.com/apple/swift-openapi-generator.git from cache (1.47s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client
Computed https://github.com/swift-server/swift-openapi-async-http-client at 1.5.0 (3.13s)
Fetching https://github.com/swift-server/async-http-client.git
[1/16517] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.87s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.13.1 (0.42s)
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/jpsim/Yams
[1/6159] Fetching swift-algorithms
[6160/18037] Fetching swift-algorithms, yams
[7348/204472] Fetching swift-algorithms, yams, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (7.82s)
[44113/198313] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams from cache (7.84s)
[33559/186435] Fetching openapikit
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (44.53s)
[1/19313] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.13s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (46.52s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.57s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.80s)
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-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.2 (0.22s)
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/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.4.0 (0.28s)
Fetching https://github.com/apple/swift-collections
[1/29362] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (14.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (14.57s)
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)
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-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/8381] Fetching swift-log
[253/15091] Fetching swift-log, swift-nio-extras
[3706/17958] Fetching swift-log, swift-nio-extras, swift-nio-transport-services
[10367/24655] Fetching swift-log, swift-nio-extras, swift-nio-transport-services, swift-distributed-tracing
[15889/26548] Fetching swift-log, swift-nio-extras, swift-nio-transport-services, swift-distributed-tracing, swift-atomics
[21772/38867] Fetching swift-log, swift-nio-extras, swift-nio-transport-services, swift-distributed-tracing, swift-atomics, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.79s)
[16007/32170] Fetching swift-log, swift-nio-extras, swift-nio-transport-services, swift-atomics, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.89s)
Fetching https://github.com/apple/swift-nio.git
[12057/25460] Fetching swift-log, swift-nio-transport-services, swift-atomics, swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (1.11s)
[13096/23567] Fetching swift-log, swift-nio-transport-services, swift-nio-http2
[13836/40461] Fetching swift-log, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
[32287/127152] Fetching swift-log, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.73s)
[25069/110258] Fetching swift-log, swift-nio-transport-services, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.07s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.08s)
[33992/99010] Fetching swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.09s)
[22540/86691] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (11.88s)
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.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.44s)
Fetching https://github.com/apple/swift-system.git
[1/7381] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
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)
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.49s)
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.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 (0.43s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.31s)
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-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
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-asn1.git
[1/2051] Fetching swift-asn1
[268/3335] Fetching swift-asn1, swift-http-structured-headers
[2660/10160] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms
[4292/17767] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-certificates
[7091/20653] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git from cache (0.77s)
[5518/18602] Fetching swift-http-structured-headers, swift-async-algorithms, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.89s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.89s)
[1326/10493] Fetching swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-certificates.git from cache (1.23s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.23s)
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 (1.63s)
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.37s)
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.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.48s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.46s)
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.38s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (1.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (1.03s)
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.85s)
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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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.12.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.3
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.13.1
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.12.2
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-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-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-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-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-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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.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-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/swift-server/swift-openapi-async-http-client
Working copy of https://github.com/swift-server/swift-openapi-async-http-client 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-collections
Working copy of https://github.com/apple/swift-collections 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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.4.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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
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/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.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
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/466] Write sources
[37/466] Compiling _CWASI _CWASI.c
[37/466] Compiling CNIOWindows shim.c
[37/466] Compiling _AtomicsShims.c
[40/466] Compiling _NumericsShims _NumericsShims.c
[41/466] Compiling CNIOWindows WSAStartup.c
[42/466] Compiling CNIOWASI CNIOWASI.c
[43/466] Compiling CNIOOpenBSD shim.c
[43/466] Compiling CNIOLinux shim.c
[43/466] Compiling CNIOPosix event_loop_id.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.
[43/466] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[43/466] Compiling CNIOExtrasZlib zutil.c
[43/466] Compiling CNIOLinux liburing_shims.c
[43/466] Compiling CNIOLLHTTP c_nio_api.c
[43/466] Compiling CNIOFreeBSD shim.c
[43/466] Compiling CNIOLLHTTP c_nio_llhttp.c
[43/466] Compiling CNIOLLHTTP c_nio_http.c
[43/466] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/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:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
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 OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/427] Compiling CNIOExtrasZlib inftrees.c
[5/427] Compiling CNIOExtrasZlib zutil.c
[6/427] Compiling CNIOExtrasZlib inffast.c
[7/427] Compiling CNIOExtrasZlib adler32.c
[8/427] Compiling CNIOPosix event_loop_id.c
[9/427] Compiling CNIOExtrasZlib crc32.c
[10/427] Compiling CNIOOpenBSD shim.c
[10/427] Compiling CNIOExtrasZlib inflate.c
[12/427] Compiling CNIOLinux shim.c
[13/427] Compiling CNIOLinux liburing_shims.c
[14/427] Compiling CNIOExtrasZlib trees.c
[15/427] Compiling CNIOFreeBSD shim.c
[15/427] Compiling CNIOLLHTTP c_nio_http.c
[17/427] Compiling CNIODarwin shim.c
[18/427] Compiling fiat_p256_adx_sqr.S
[19/427] Compiling fiat_p256_adx_mul.S
[20/427] Compiling CNIOExtrasZlib deflate.c
[21/427] Compiling CNIOLLHTTP c_nio_api.c
[22/427] Compiling fiat_curve25519_adx_square.S
[23/427] Compiling fiat_curve25519_adx_mul.S
[24/427] Write swift-version-24593BA9C3E375BF.txt
[25/427] Compiling CNIOBoringSSLShims shims.c
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.
[26/431] Compiling tls13_enc.cc
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>
| ^~~~~~~~~~~
[26/431] Compiling tls_method.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>
| ^~~~~~~~~~~
[26/431] Compiling tls13_both.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>
| ^~~~~~~~~~~
[26/431] 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>
| ^~~~~~~~~~~
[26/431] Compiling tls13_server.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>
| ^~~~~~~~~~~
[26/431] Compiling tls13_client.cc
[26/431] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm