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 LSPService, reference 0.2.4 (8df70a), with Swift 6.1 for Wasm on 8 Aug 2025 07:33:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nohype-ai/LSPService.git
Reference: 0.2.4
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/nohype-ai/LSPService
 * tag               0.2.4      -> FETCH_HEAD
HEAD is now at 8df70a2 Update dependencies
Cloned https://github.com/nohype-ai/LSPService.git
Revision (git rev-parse @):
8df70a2ca4feab98d1b503ae1c304e023d2f2cf4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nohype-ai/LSPService.git at 0.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nohype-ai/LSPService.git
https://github.com/nohype-ai/LSPService.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "exact" : [
          "4.77.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "swiftlsp",
      "requirement" : {
        "exact" : [
          "0.3.16"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/codeface-io/SwiftLSP.git"
    },
    {
      "identity" : "foundationtoolz",
      "requirement" : {
        "exact" : [
          "0.4.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flowtoolz/FoundationToolz.git"
    },
    {
      "identity" : "swiftytoolz",
      "requirement" : {
        "exact" : [
          "0.5.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/flowtoolz/SwiftyToolz.git"
    }
  ],
  "manifest_display_name" : "LSPService",
  "name" : "LSPService",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "LSPService",
      "targets" : [
        "LSPService"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LSPServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "LSPServiceTests",
      "path" : "Tests",
      "product_dependencies" : [
        "XCTVapor"
      ],
      "sources" : [
        "LSPServiceTests.swift"
      ],
      "target_dependencies" : [
        "LSPService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LSPService",
      "module_type" : "SwiftTarget",
      "name" : "LSPService",
      "path" : "Sources",
      "product_dependencies" : [
        "Vapor",
        "FoundationToolz",
        "SwiftLSP",
        "SwiftyToolz"
      ],
      "product_memberships" : [
        "LSPService"
      ],
      "sources" : [
        "LSPServiceApp.swift",
        "RouteConfigurator.swift",
        "ServerExecutableConfigs.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 -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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/flowtoolz/FoundationToolz.git
Fetching https://github.com/flowtoolz/SwiftyToolz.git
Fetching https://github.com/codeface-io/SwiftLSP.git
[9/869] Fetching foundationtoolz
[747/1623] Fetching foundationtoolz, swiftytoolz
[1018/2509] Fetching foundationtoolz, swiftytoolz, swiftlsp
Fetched https://github.com/flowtoolz/SwiftyToolz.git from cache (0.25s)
Fetched https://github.com/flowtoolz/FoundationToolz.git from cache (0.25s)
[266/886] Fetching swiftlsp
[312/75564] Fetching swiftlsp, vapor
Fetched https://github.com/codeface-io/SwiftLSP.git from cache (0.53s)
[14936/74678] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (1.91s)
Computing version for https://github.com/flowtoolz/SwiftyToolz.git
Computed https://github.com/flowtoolz/SwiftyToolz.git at 0.5.1 (2.61s)
Computing version for https://github.com/flowtoolz/FoundationToolz.git
Computed https://github.com/flowtoolz/FoundationToolz.git at 0.4.1 (0.74s)
Computing version for https://github.com/codeface-io/SwiftLSP.git
Computed https://github.com/codeface-io/SwiftLSP.git at 0.3.16 (0.64s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.77.0 (0.75s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/multipart-kit.git
[1/3493] Fetching multipart-kit
[840/6102] Fetching multipart-kit, websocket-kit
[893/12229] Fetching multipart-kit, websocket-kit, swift-nio-extras
[2236/14448] Fetching multipart-kit, websocket-kit, swift-nio-extras, swift-metrics
[5810/20407] Fetching multipart-kit, websocket-kit, swift-nio-extras, swift-metrics, swift-algorithms
[6257/24287] Fetching multipart-kit, websocket-kit, swift-nio-extras, swift-metrics, swift-algorithms, swift-log
Fetched https://github.com/vapor/websocket-kit.git from cache (0.54s)
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.67s)
Fetching https://github.com/apple/swift-nio.git
[9989/23500] Fetching multipart-kit, swift-nio-extras, swift-metrics, swift-nio-http2
[12555/38485] Fetching multipart-kit, swift-nio-extras, swift-metrics, swift-nio-http2, swift-nio-ssl
[19784/115734] Fetching multipart-kit, swift-nio-extras, swift-metrics, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (1.83s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.83s)
[47124/107388] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/swift-server/swift-backtrace.git
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (1.90s)
Fetching https://github.com/apple/swift-crypto.git
[50884/103895] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.94s)
Fetching https://github.com/vapor/console-kit.git
[66742/92234] Fetching swift-nio-ssl, swift-nio
[68288/92865] Fetching swift-nio-ssl, swift-nio, swift-backtrace
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.06s)
[54707/98732] Fetching swift-nio, swift-backtrace, routing-kit
Fetching https://github.com/vapor/async-kit.git
[69953/114738] Fetching swift-nio, swift-backtrace, routing-kit, swift-crypto
[72923/120824] Fetching swift-nio, swift-backtrace, routing-kit, swift-crypto, console-kit
[81353/123194] Fetching swift-nio, swift-backtrace, routing-kit, swift-crypto, console-kit, async-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.43s)
[80189/117108] Fetching swift-nio, swift-backtrace, routing-kit, swift-crypto, async-kit
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/async-kit.git from cache (0.32s)
[78396/114738] Fetching swift-nio, swift-backtrace, routing-kit, swift-crypto
[100042/128804] Fetching swift-nio, swift-backtrace, routing-kit, swift-crypto, async-http-client
Fetched https://github.com/swift-server/swift-backtrace.git from cache (1.43s)
[100604/128173] Fetching swift-nio, routing-kit, swift-crypto, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (1.44s)
[80475/107321] Fetching swift-nio, swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.06s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.54s)
Fetched https://github.com/apple/swift-nio.git from cache (5.17s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.33s)
Fetching https://github.com/apple/swift-numerics.git
[1/5768] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.36s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.86s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.49s)
Fetching https://github.com/apple/swift-collections.git
[1/16947] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.55s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.47s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.58s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.44s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.68s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
[598/6647] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.49s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.49s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.42s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2701] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.28s)
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 (0.74s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.53s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.53s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/6460] Fetching swift-certificates
[518/7377] Fetching swift-certificates, swift-http-types
[1026/8553] Fetching swift-certificates, swift-http-types, swift-http-structured-headers
[1249/10182] Fetching swift-certificates, swift-http-types, swift-http-structured-headers, swift-asn1
[1371/15194] Fetching swift-certificates, swift-http-types, swift-http-structured-headers, swift-asn1, swift-async-algorithms
[5943/17627] Fetching swift-certificates, swift-http-types, swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.41s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.43s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.43s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.43s)
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 (0.90s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.71s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.72s)
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.54s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.00s)
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.00s)
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.00s)
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.00s)
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.00s)
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.00s)
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.53s)
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.00s)
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 (0.49s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.44s)
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.55s)
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/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/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/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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/codeface-io/SwiftLSP.git
Working copy of https://github.com/codeface-io/SwiftLSP.git resolved at 0.3.16
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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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.26.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.2.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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.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.33.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.77.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/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/flowtoolz/SwiftyToolz.git
Working copy of https://github.com/flowtoolz/SwiftyToolz.git resolved at 0.5.1
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/flowtoolz/FoundationToolz.git
Working copy of https://github.com/flowtoolz/FoundationToolz.git resolved at 0.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Building for debugging...
[0/945] Compiling CBacktrace dwarf.c
[1/945] Compiling CBacktrace fileline.c
[2/945] Compiling CBacktrace backtrace.c
[3/945] Write sources
[6/945] Compiling CBacktrace elf.c
[7/945] Write sources
[46/945] Compiling CBacktrace mmap.c
[47/945] Compiling _NumericsShims _NumericsShims.c
[47/945] Compiling _AtomicsShims.c
[49/945] Compiling a_dup.c
[50/945] Compiling a_d2i_fp.c
[51/945] Compiling a_gentm.c
[52/945] Compiling CVaporURLParser urlparser.c
[53/945] Compiling CNIOWASI CNIOWASI.c
[54/945] Compiling CNIOWindows shim.c
[54/945] Compiling CVaporBcrypt bcrypt.c
[56/945] Compiling CVaporBcrypt blf.c
[57/945] Compiling CNIOWindows WSAStartup.c
[58/945] Compiling CNIOPosix event_loop_id.c
[59/945] Compiling CNIOLinux liburing_shims.c
[60/945] Compiling CNIOLinux shim.c
[61/945] Compiling CNIODarwin shim.c
[62/945] Compiling CNIOSHA1 c_nio_sha1.c
[63/945] Compiling CNIOExtrasZlib empty.c
[64/945] Compiling CNIOLLHTTP c_nio_http.c
[65/945] Compiling fiat_p256_adx_mul.S
[66/945] Compiling fiat_p256_adx_sqr.S
[67/945] Compiling fiat_curve25519_adx_mul.S
[68/945] Write swift-version-24593BA9C3E375BF.txt
[69/945] Compiling fiat_curve25519_adx_square.S
[70/945] Compiling CNIOLLHTTP c_nio_api.c
[71/951] Compiling CNIOBoringSSLShims shims.c
[72/971] 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>
      |          ^~~~~~~~~~~
1 error generated.
[73/971] Compiling tls_record.cc
[73/971] 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>
      |          ^~~~~~~~~~~
[73/971] Compiling tls_method.cc
[73/971] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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.
[0/873] Compiling t1_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>
      |          ^~~~~~~~~~~
1 error generated.
[0/873] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/ssl_x509.cc:23:
/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>
      |          ^~~~~~~~~~~
[0/873] Compiling ssl_x509.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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[0/873] Compiling tls13_enc.cc
[0/873] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[0/873] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[0/873] Compiling tls13_client.cc
[0/873] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm