The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VaporValkey, reference 1.2.0 (9f1700), with Swift 6.1 for Wasm on 5 Mar 2026 06:40:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/valkey.git
Reference: 1.2.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/vapor-community/valkey
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 9f1700b Merge pull request #2 from vapor-community/build/valkey-swift-v1.0
Cloned https://github.com/vapor-community/valkey.git
Revision (git rev-parse @):
9f1700b93ed3131ec9cf507b6b16bf8b83f05ddc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor-community/valkey.git at 1.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor-community/valkey.git
https://github.com/vapor-community/valkey.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "valkey-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/valkey-io/valkey-swift.git"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.100.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    }
  ],
  "manifest_display_name" : "VaporValkey",
  "name" : "VaporValkey",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "VaporValkey",
      "targets" : [
        "VaporValkey"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VaporValkeyTests",
      "module_type" : "SwiftTarget",
      "name" : "VaporValkeyTests",
      "path" : "Tests/VaporValkeyTests",
      "product_dependencies" : [
        "VaporTesting"
      ],
      "sources" : [
        "TestCache.swift",
        "TestService.swift",
        "TestSessions.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "VaporValkey"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VaporValkey",
      "module_type" : "SwiftTarget",
      "name" : "VaporValkey",
      "path" : "Sources/VaporValkey",
      "product_dependencies" : [
        "ServiceLifecycle",
        "Valkey",
        "Vapor"
      ],
      "product_memberships" : [
        "VaporValkey"
      ],
      "sources" : [
        "Service.swift",
        "Valkey+Cache.swift",
        "Valkey+Sessions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 -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 finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/valkey-io/valkey-swift.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2650] Fetching swift-service-lifecycle
[2466/18255] Fetching swift-service-lifecycle, valkey-swift
[3276/95056] Fetching swift-service-lifecycle, valkey-swift, vapor
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.91s)
[34806/92406] Fetching valkey-swift, vapor
Fetched https://github.com/valkey-io/valkey-swift.git from cache (1.69s)
[45313/76801] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.20s)
Computing version for https://github.com/valkey-io/valkey-swift.git
Computed https://github.com/valkey-io/valkey-swift.git at 1.0.0 (4.03s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.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-collections.git
[1/5665] Fetching swift-distributed-tracing
[1304/8486] Fetching swift-distributed-tracing, swift-nio-transport-services
[5094/28890] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-collections
[10324/44240] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.66s)
Fetching https://github.com/apple/swift-atomics.git
[9345/124087] Fetching swift-distributed-tracing, swift-collections, swift-nio-ssl, swift-nio
[19707/125907] Fetching swift-distributed-tracing, swift-collections, swift-nio-ssl, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.83s)
[54573/124087] Fetching swift-distributed-tracing, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.58s)
Fetched https://github.com/apple/swift-collections.git from cache (2.63s)
[51608/98018] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.04s)
[36374/82668] Fetching swift-nio
[49602/88822] Fetching swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
[54561/82668] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.36s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (11.78s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.0 (0.62s)
Fetching https://github.com/apple/swift-service-context.git
[1/1203] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (1.80s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.14s)
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.82s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (0.59s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6206] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.42s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.11s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.80s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.60s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.3 (0.74s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/vapor/multipart-kit.git
[1/2652] Fetching websocket-kit
[1274/6268] Fetching websocket-kit, multipart-kit
[2334/13390] Fetching websocket-kit, multipart-kit, swift-certificates
[3475/19448] Fetching websocket-kit, multipart-kit, swift-certificates, swift-algorithms
[3563/22227] Fetching websocket-kit, multipart-kit, swift-certificates, swift-algorithms, swift-metrics
[6508/23993] Fetching websocket-kit, multipart-kit, swift-certificates, swift-algorithms, swift-metrics, swift-asn1
Fetched https://github.com/apple/swift-algorithms.git from cache (1.10s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/vapor/websocket-kit.git from cache (1.14s)
Fetching https://github.com/apple/swift-nio-http2.git
[12753/21774] Fetching multipart-kit, swift-certificates, swift-metrics, swift-asn1, swift-nio-extras
[19279/33774] Fetching multipart-kit, swift-certificates, swift-metrics, swift-asn1, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.71s)
Fetching https://github.com/vapor/routing-kit.git
[15427/27283] Fetching multipart-kit, swift-certificates, swift-metrics, swift-asn1, swift-nio-http2
[19388/48639] Fetching multipart-kit, swift-certificates, swift-metrics, swift-asn1, swift-nio-http2, routing-kit
Fetched https://github.com/apple/swift-metrics.git from cache (3.96s)
Fetched https://github.com/apple/swift-asn1.git from cache (3.96s)
Fetched https://github.com/apple/swift-certificates.git from cache (3.97s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/vapor/multipart-kit.git from cache (4.04s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/routing-kit.git from cache (2.90s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.59s)
[1/2454] Fetching async-kit
[2455/9006] Fetching async-kit, console-kit
[9007/24480] Fetching async-kit, console-kit, async-http-client
[9008/41725] Fetching async-kit, console-kit, async-http-client, swift-crypto
Fetched https://github.com/vapor/async-kit.git from cache (1.10s)
[9082/39271] Fetching console-kit, async-http-client, swift-crypto
Fetched https://github.com/vapor/console-kit.git from cache (1.15s)
[5506/32719] Fetching async-http-client, swift-crypto
Fetched https://github.com/swift-server/async-http-client.git from cache (2.17s)
[3277/17245] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.05s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (10.87s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (1.43s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (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.68s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (2.47s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (0.69s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.68s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.73s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.56s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (2.88s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (0.81s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1216] Fetching swift-http-structured-headers
[913/2167] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.31s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.31s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.87s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.40.0 (0.78s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.32.0 (0.66s)
Creating working copy for https://github.com/valkey-io/valkey-swift.git
Working copy of https://github.com/valkey-io/valkey-swift.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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.40.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.26.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.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.5.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.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.95.0
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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.3
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/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.32.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.8.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
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.4.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.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.10.1
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.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.10.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.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.36.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.32.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Building for debugging...
[0/857] Write sources
[59/857] Compiling _CWASI _CWASI.c
[60/857] Compiling _NumericsShims _NumericsShims.c
[61/857] Compiling _AtomicsShims.c
[62/857] Compiling CXKCPShims shims.c
[63/857] Compiling KeccakHash.c
[64/857] Compiling SimpleFIPS202.c
[65/857] Compiling KeccakSponge.c
[66/857] Compiling CSystem shims.c
[67/857] Compiling CVaporBcrypt bcrypt.c
[67/857] Compiling CNIOWindows WSAStartup.c
[69/857] Compiling CNIOWindows shim.c
[70/857] Compiling CVaporBcrypt blf.c
[71/857] Compiling CNIOPosix event_loop_id.c
[72/857] Compiling CNIOOpenBSD shim.c
[73/857] Compiling CNIOLinux shim.c
[74/857] Compiling CNIOWASI CNIOWASI.c
[75/857] Compiling CNIOLinux liburing_shims.c
[76/857] Compiling CNIOSHA1 c_nio_sha1.c
[77/857] Compiling CNIOExtrasZlib empty.c
[78/857] Compiling CNIOLLHTTP c_nio_http.c
[79/857] Compiling CNIODarwin shim.c
[80/857] Compiling fiat_p256_adx_mul.S
[81/857] Compiling fiat_p256_adx_sqr.S
[82/857] Compiling fiat_curve25519_adx_square.S
[83/857] Compiling CNIOLLHTTP c_nio_api.c
[84/857] Compiling fiat_curve25519_adx_mul.S
[85/857] Write swift-version-24593BA9C3E375BF.txt
[86/857] 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.
[87/861] 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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[87/861] Compiling tls13_enc.cc
[87/861] 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
[87/861] Compiling CNIOLLHTTP c_nio_llhttp.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>
      |          ^~~~~~~~~~~
[87/861] Compiling tls_method.cc
[87/861] Compiling KeccakP-1600-opt64.c
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>
      |          ^~~~~~~~~~~
[87/861] Compiling tls13_client.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/770] Write sources
[3/771] Compiling fiat_p256_adx_sqr.S
[4/771] Compiling fiat_p256_adx_mul.S
[5/771] Compiling fiat_curve25519_adx_mul.S
[6/771] Compiling fiat_curve25519_adx_square.S
[7/771] Compiling CCryptoBoringSSLShims shims.c
[8/771] Write swift-version-24593BA9C3E375BF.txt
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.
[9/771] Compiling tls_method.cc
[9/771] Compiling tls13_client.cc
[9/771] Compiling tls13_both.cc
[9/771] Compiling CNIOLLHTTP c_nio_llhttp.c
[9/771] Compiling KeccakP-1600-opt64.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.
[9/771] 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>
      |          ^~~~~~~~~~~
[9/771] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[9/771] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm