Build Information
Failed to build SwiftkubeClient, reference 0.25.0 (7fb2b5
), with Swift 6.1 for Wasm on 16 Aug 2025 13:04:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.66.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftkube/client.git
Reference: 0.25.0
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/swiftkube/client
* tag 0.25.0 -> FETCH_HEAD
HEAD is now at 7fb2b50 Use macOS-14 runner for iOS build
Cloned https://github.com/swiftkube/client.git
Revision (git rev-parse @):
7fb2b5092b94761fe0212419f302b4ee93ba3616
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftkube/client.git at 0.25.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftkube/client.git
https://github.com/swiftkube/client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.5.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.80.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.3",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "model",
"requirement" : {
"range" : [
{
"lower_bound" : "0.18.0",
"upper_bound" : "0.19.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftkube/model.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
}
],
"manifest_display_name" : "SwiftkubeClient",
"name" : "SwiftkubeClient",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SwiftkubeClient",
"targets" : [
"SwiftkubeClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "SwiftkubeClientTests",
"module_type" : "SwiftTarget",
"name" : "SwiftkubeClientTests",
"path" : "Tests/SwiftkubeClientTests",
"sources" : [
"K8sCRDTests.swift",
"K8sConfigMapTests.swift",
"K8sNamespaceTests.swift",
"K8sNodeTests.swift",
"K8sServiceTests.swift",
"K8sTestCase.swift",
"RequestBuilderTests.swift",
"RetryStrategyTests.swift"
],
"target_dependencies" : [
"SwiftkubeClient"
],
"type" : "test"
},
{
"c99name" : "SwiftkubeClient",
"module_type" : "SwiftTarget",
"name" : "SwiftkubeClient",
"path" : "Sources/SwiftkubeClient",
"product_dependencies" : [
"AsyncHTTPClient",
"Logging",
"Metrics",
"NIO",
"NIOFoundationCompat",
"SwiftkubeModel",
"Yams"
],
"product_memberships" : [
"SwiftkubeClient"
],
"sources" : [
"API Groups/KubernetesClient+admissionregistration.v1.swift",
"API Groups/KubernetesClient+admissionregistration.v1alpha1.swift",
"API Groups/KubernetesClient+admissionregistration.v1beta1.swift",
"API Groups/KubernetesClient+apiextensions.v1.swift",
"API Groups/KubernetesClient+apiregistration.v1.swift",
"API Groups/KubernetesClient+apps.v1.swift",
"API Groups/KubernetesClient+authentication.v1.swift",
"API Groups/KubernetesClient+authorization.v1.swift",
"API Groups/KubernetesClient+autoscaling.v1.swift",
"API Groups/KubernetesClient+autoscaling.v2.swift",
"API Groups/KubernetesClient+batch.v1.swift",
"API Groups/KubernetesClient+certificates.v1.swift",
"API Groups/KubernetesClient+certificates.v1alpha1.swift",
"API Groups/KubernetesClient+certificates.v1beta1.swift",
"API Groups/KubernetesClient+coordination.v1.swift",
"API Groups/KubernetesClient+coordination.v1alpha2.swift",
"API Groups/KubernetesClient+coordination.v1beta1.swift",
"API Groups/KubernetesClient+discovery.v1.swift",
"API Groups/KubernetesClient+events.v1.swift",
"API Groups/KubernetesClient+flowcontrol.v1.swift",
"API Groups/KubernetesClient+internal.v1alpha1.swift",
"API Groups/KubernetesClient+networking.v1.swift",
"API Groups/KubernetesClient+networking.v1beta1.swift",
"API Groups/KubernetesClient+node.v1.swift",
"API Groups/KubernetesClient+policy.v1.swift",
"API Groups/KubernetesClient+rbac.v1.swift",
"API Groups/KubernetesClient+resource.v1alpha3.swift",
"API Groups/KubernetesClient+resource.v1beta1.swift",
"API Groups/KubernetesClient+resource.v1beta2.swift",
"API Groups/KubernetesClient+scheduling.v1.swift",
"API Groups/KubernetesClient+storage.v1.swift",
"API Groups/KubernetesClient+storage.v1alpha1.swift",
"API Groups/KubernetesClient+storage.v1beta1.swift",
"API Groups/KubernetesClient+storagemigration.v1alpha1.swift",
"Client/ClusterScopedGenericKubernetesClient.swift",
"Client/GenericKubernetesClient.swift",
"Client/KubernetesClient.swift",
"Client/KubernetesRequest.swift",
"Client/NamespacedGenericKubernetesClient+Pod.swift",
"Client/NamespacedGenericKubernetesClient.swift",
"Client/RequestBuilder.swift",
"Client/RequestHandlerType.swift",
"Client/Selectors.swift",
"Config/AuthInfo+Authentication.swift",
"Config/Cluster+TLS.swift",
"Config/KubeConfig+Loaders.swift",
"Config/KubeConfig.swift",
"Config/KubernetesClientConfig+Init.swift",
"Config/KubernetesClientConfig.swift",
"Discovery/DiscoveryRequestBuilder.swift",
"Discovery/KubernetesClient+Discovery.swift",
"Metrics/KubernetesClient+Metrics.swift",
"Model/UnstructuredResource+YAML.swift",
"SwiftkubeClient.swift",
"Watch/AnyDataStreamerTransformer.swift",
"Watch/DataStreamer.swift",
"Watch/IdentityTransfomer.swift",
"Watch/ResourceEventTransformer.swift",
"Watch/RetryStrategy.swift",
"Watch/SwiftkubeClientTask.swift",
"Watch/WatchEvent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/swiftkube/model.git
Fetching https://github.com/swift-server/async-http-client.git
[1/3886] Fetching swift-log
[2722/6105] Fetching swift-log, swift-metrics
[5396/25841] Fetching swift-log, swift-metrics, model
[6522/39948] Fetching swift-log, swift-metrics, model, async-http-client
[6841/51079] Fetching swift-log, swift-metrics, model, async-http-client, yams
[12839/128576] Fetching swift-log, swift-metrics, model, async-http-client, yams, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (3.10s)
[75610/114469] Fetching swift-log, swift-metrics, model, yams, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (10.68s)
Fetched https://github.com/apple/swift-log.git from cache (10.69s)
Fetched https://github.com/swiftkube/model.git from cache (10.73s)
Fetched https://github.com/jpsim/Yams.git from cache (10.83s)
Fetched https://github.com/apple/swift-nio from cache (10.94s)
Computing version for https://github.com/swiftkube/model.git
Computed https://github.com/swiftkube/model.git at 0.18.0 (14.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.05s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.06s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.17s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (1.18s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-ssl.git
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-nio-http2.git
[1/2701] Fetching swift-nio-transport-services
[191/8828] Fetching swift-nio-transport-services, swift-nio-extras
[726/14796] Fetching swift-nio-transport-services, swift-nio-extras, swift-algorithms
[848/16604] Fetching swift-nio-transport-services, swift-nio-extras, swift-algorithms, swift-atomics
[1794/28265] Fetching swift-nio-transport-services, swift-nio-extras, swift-algorithms, swift-atomics, swift-nio-http2
[7387/43308] Fetching swift-nio-transport-services, swift-nio-extras, swift-algorithms, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.44s)
[16135/37181] Fetching swift-nio-transport-services, swift-algorithms, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.10s)
Fetched https://github.com/apple/swift-atomics.git from cache (4.11s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.12s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.14s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.16s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (5.32s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.04s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.86.0 (1.38s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4878] Fetching swift-system
[587/21855] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.91s)
[3396/16977] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.31s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.13s)
Fetching https://github.com/apple/swift-numerics.git
[1/6335] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.00s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (2.12s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.15s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.15s)
Fetching https://github.com/apple/swift-http-types.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-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
[1630/2805] Fetching swift-asn1, swift-http-structured-headers
[2054/3722] Fetching swift-asn1, swift-http-structured-headers, swift-http-types
[2487/10182] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-certificates
[2762/12615] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git from cache (0.66s)
[4765/10986] Fetching swift-http-structured-headers, swift-http-types, swift-certificates, swift-service-lifecycle
[4985/16078] Fetching swift-http-structured-headers, swift-http-types, swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.75s)
[5910/15161] Fetching swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.29s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.30s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.29s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.31s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.38s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.13s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.10s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (2.72s)
Fetching https://github.com/apple/swift-crypto.git
[1/16263] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.10s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (4.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.31s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (3.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.76s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.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.4.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.4.0
Creating working copy for https://github.com/swiftkube/model.git
Working copy of https://github.com/swiftkube/model.git resolved at 0.18.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.7.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.86.0
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.29.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.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.26.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.4.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.33.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.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.12.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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.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.0.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.25.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.0.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Building for debugging...
[0/451] Write sources
[22/451] Compiling _NumericsShims _NumericsShims.c
[23/451] Write sources
/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.
[25/451] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[25/451] Compiling _AtomicsShims.c
[25/451] Compiling reader.c
[25/451] Compiling parser.c
[25/451] Compiling scanner.c
[25/451] Compiling emitter.c
[25/451] Compiling api.c
[25/451] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/426] Write sources
[4/426] Compiling _AtomicsShims.c
[5/426] Compiling CNIOWindows shim.c
[6/426] Compiling CNIOWindows WSAStartup.c
[7/426] Compiling writer.c
[8/426] Compiling CNIOWASI CNIOWASI.c
[9/426] Compiling reader.c
[10/426] Compiling CNIOLinux shim.c
[11/426] Compiling CNIOPosix event_loop_id.c
[12/426] Compiling CNIOLinux liburing_shims.c
[13/426] Compiling CNIOLLHTTP c_nio_http.c
[14/426] Compiling api.c
[15/426] Compiling parser.c
[16/426] Compiling CNIOExtrasZlib empty.c
[17/426] Compiling CNIODarwin shim.c
[18/426] Compiling CNIOLLHTTP c_nio_api.c
[19/426] Compiling fiat_p256_adx_sqr.S
[20/426] Compiling fiat_curve25519_adx_square.S
[21/426] Compiling fiat_p256_adx_mul.S
[22/426] Compiling emitter.c
[23/426] Compiling fiat_curve25519_adx_mul.S
[24/426] Write swift-version-24593BA9C3E375BF.txt
[25/426] Compiling scanner.c
[26/430] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[27/432] Compiling tls_record.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.
[27/432] Compiling tls13_enc.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.
[27/432] Compiling tls13_server.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>
| ^~~~~~~~~~~
1 error generated.
[27/432] Compiling tls_method.cc
[27/432] Compiling CNIOLLHTTP c_nio_llhttp.c
[28/432] Emitting module _NIOBase64
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>
| ^~~~~~~~~~~
[28/432] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm