The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftkubeClient, reference main (5a40aa), with Swift 6.1 for Wasm on 7 Jun 2025 23:39:47 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftkube/client.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/swiftkube/client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5a40aaa Add support for KUBECONFIG env variable (#44)
Cloned https://github.com/swiftkube/client.git
Revision (git rev-parse @):
5a40aaa6b862fe931fdf107e1bf09b94ffc5e296
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftkube/client.git at main
========================================
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.17.0",
            "upper_bound" : "0.18.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+authentication.v1beta1.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+coordination.v1.swift",
        "API Groups/KubernetesClient+coordination.v1alpha2.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+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/Authentication.swift",
        "Config/KubeConfig.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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftkube/model.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/jpsim/Yams.git
[1/2206] Fetching swift-metrics
[2207/6042] Fetching swift-metrics, swift-log
[2399/16773] Fetching swift-metrics, swift-log, yams
[3206/30787] Fetching swift-metrics, swift-log, yams, async-http-client
[4128/49686] Fetching swift-metrics, swift-log, yams, async-http-client, model
[12201/125881] Fetching swift-metrics, swift-log, yams, async-http-client, model, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.67s)
[26016/122045] Fetching swift-metrics, yams, async-http-client, model, swift-nio
Fetched https://github.com/swiftkube/model.git from cache (1.32s)
[55166/103146] Fetching swift-metrics, yams, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.50s)
[54083/89132] Fetching swift-metrics, yams, swift-nio
Fetched https://github.com/jpsim/Yams.git from cache (1.87s)
[51733/78401] Fetching swift-metrics, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (7.38s)
Fetched https://github.com/apple/swift-nio from cache (7.53s)
Computing version for https://github.com/swiftkube/model.git
Computed https://github.com/swiftkube/model.git at 0.17.0 (11.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.97s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.16s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.40s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (1.57s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4428] Fetching swift-system
[1197/6225] Fetching swift-system, swift-atomics
[2238/22816] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.79s)
[8742/21019] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.05s)
Fetched https://github.com/apple/swift-collections.git from cache (2.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.96s)
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 (0.99s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5923] Fetching swift-nio-extras
[238/11882] Fetching swift-nio-extras, swift-algorithms
[1070/14549] Fetching swift-nio-extras, swift-algorithms, swift-nio-transport-services
[14314/29392] Fetching swift-nio-extras, swift-algorithms, swift-nio-transport-services, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.95s)
[10556/23469] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-ssl
[11893/34996] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.68s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.83s)
Fetched https://github.com/apple/swift-algorithms.git from cache (3.86s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.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.24.0 (4.91s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.96s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.20s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.01s)
Fetching https://github.com/apple/swift-numerics.git
[1/5739] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.66s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.86s)
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-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/904] Fetching swift-http-types
[905/2045] Fetching swift-http-types, swift-http-structured-headers
[1339/4471] Fetching swift-http-types, swift-http-structured-headers, swift-service-lifecycle
[1673/10626] Fetching swift-http-types, swift-http-structured-headers, swift-service-lifecycle, swift-certificates
[1986/12216] Fetching swift-http-types, swift-http-structured-headers, swift-service-lifecycle, swift-certificates, swift-asn1
[3204/17201] Fetching swift-http-types, swift-http-structured-headers, swift-service-lifecycle, swift-certificates, swift-asn1, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.03s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.03s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.11s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.11s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.12s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.12s)
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.11s)
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.13s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.12s)
Fetching https://github.com/apple/swift-crypto.git
[1/14671] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.87s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (6.06s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.02s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.92s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.97s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.28s)
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/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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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-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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.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.28.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.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.24.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.12.3
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.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.0
Creating working copy for https://github.com/swiftkube/model.git
Working copy of https://github.com/swiftkube/model.git resolved at 0.17.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.36.0
Building for debugging...
[0/450] 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.
[24/450] Compiling writer.c
[25/450] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[25/450] Compiling _NumericsShims _NumericsShims.c
[25/450] Compiling reader.c
[25/450] Compiling emitter.c
[25/450] Compiling parser.c
[25/450] Compiling _AtomicsShims.c
[25/450] Compiling scanner.c
[25/450] 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/425] Write sources
[2/425] Compiling _NumericsShims _NumericsShims.c
[3/425] Compiling CNIOWindows shim.c
[4/425] Compiling reader.c
[5/425] Compiling CNIOWindows WSAStartup.c
[6/425] Compiling CNIOWASI CNIOWASI.c
[7/425] Compiling CNIOLinux shim.c
[8/425] Compiling CNIOLinux liburing_shims.c
[9/425] Compiling parser.c
[10/425] Compiling CNIOLLHTTP c_nio_http.c
[11/425] Compiling api.c
[12/425] Compiling CNIOExtrasZlib empty.c
[13/425] Compiling CNIODarwin shim.c
[14/425] Compiling CNIOLLHTTP c_nio_api.c
[15/425] Compiling fiat_p256_adx_sqr.S
[16/425] Compiling emitter.c
[17/425] Compiling fiat_curve25519_adx_square.S
[18/425] Compiling _AtomicsShims.c
[19/425] Write swift-version-24593BA9C3E375BF.txt
[20/425] Compiling fiat_p256_adx_mul.S
[21/425] Compiling fiat_curve25519_adx_mul.S
[22/425] Compiling scanner.c
[23/451] Compiling CNIOBoringSSLShims shims.c
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.
[24/627] Compiling tls_method.cc
[25/627] Emitting module _NIOBase64
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.
[25/627] Compiling tls13_server.cc
[25/627] Compiling CNIOLLHTTP c_nio_llhttp.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>
      |          ^~~~~~~~~~~
[25/627] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm