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 Ferno, reference main (3fcc40), with Swift 6.1 for Wasm on 28 May 2025 22:12:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/vapor-community/ferno.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/vapor-community/ferno
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3fcc40c Update README.md
Cloned https://github.com/vapor-community/ferno.git
Revision (git rev-parse @):
3fcc40ce9a8ae89143697b77e0eb208761babe5d
SUCCESS checkout https://github.com/vapor-community/ferno.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor-community/ferno.git
https://github.com/vapor-community/ferno.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "jwt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/jwt.git"
    }
  ],
  "manifest_display_name" : "Ferno",
  "name" : "Ferno",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Ferno",
      "targets" : [
        "Ferno"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FernoTests",
      "module_type" : "SwiftTarget",
      "name" : "FernoTests",
      "path" : "Tests/FernoTests",
      "product_dependencies" : [
        "XCTVapor"
      ],
      "sources" : [
        "Application+Testing.swift",
        "FernoDefaultTests.swift",
        "FernoServiceJsonTests.swift",
        "Models/FirebaseAccountKey.swift",
        "Models/Student.swift",
        "Models/Teacher.swift",
        "Models/UpdateStudentInfo.swift"
      ],
      "target_dependencies" : [
        "Ferno"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ferno",
      "module_type" : "SwiftTarget",
      "name" : "Ferno",
      "path" : "Sources/Ferno",
      "product_dependencies" : [
        "Vapor",
        "JWT"
      ],
      "product_memberships" : [
        "Ferno"
      ],
      "sources" : [
        "Application+Ferno.swift",
        "Extensions/String+Extensions.swift",
        "FernoClient.swift",
        "FernoDefaultConfiguration.swift",
        "FernoDriver.swift",
        "FernoErrors.swift",
        "FernoPath.swift",
        "FernoQuery.swift",
        "FernoServiceJsonConfiguration.swift",
        "FernoValue.swift",
        "JWTPayload.swift",
        "Snapshot.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/vapor/jwt.git
[1/2707] Fetching jwt
Fetched https://github.com/vapor/jwt.git from cache (0.31s)
[1/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (1.85s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 4.2.2 (2.38s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9049] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (0.86s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (1.35s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.60s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (6.53s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.36s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (2.28s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (1.00s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2609] Fetching websocket-kit
[2610/5928] Fetching websocket-kit, multipart-kit
[3307/10902] Fetching websocket-kit, multipart-kit, swift-distributed-tracing
[3441/16861] Fetching websocket-kit, multipart-kit, swift-distributed-tracing, swift-algorithms
[4562/17924] Fetching websocket-kit, multipart-kit, swift-distributed-tracing, swift-algorithms, swift-service-context
[7528/19634] Fetching websocket-kit, multipart-kit, swift-distributed-tracing, swift-algorithms, swift-service-context, swift-atomics
Fetched https://github.com/apple/swift-service-context.git from cache (0.79s)
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/vapor/websocket-kit.git from cache (0.87s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.88s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.90s)
Fetching https://github.com/apple/swift-nio-http2.git
[3338/7235] Fetching multipart-kit, swift-atomics, swift-metrics
[5544/11071] Fetching multipart-kit, swift-atomics, swift-metrics, swift-log
[7616/22598] Fetching multipart-kit, swift-atomics, swift-metrics, swift-log, swift-nio-http2
Fetched https://github.com/apple/swift-metrics.git from cache (0.60s)
[6967/20392] Fetching multipart-kit, swift-atomics, swift-log, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-log.git from cache (0.87s)
[6357/16556] Fetching multipart-kit, swift-atomics, swift-nio-http2
[8778/31399] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio-ssl
[16966/37313] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio-ssl, swift-nio-extras
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.09s)
[20824/31399] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/vapor/routing-kit.git
[26057/52126] Fetching multipart-kit, swift-atomics, swift-nio-http2, swift-nio-ssl, routing-kit
Fetched https://github.com/apple/swift-atomics.git from cache (3.55s)
[32136/50416] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (3.71s)
[38026/47097] Fetching swift-nio-http2, swift-nio-ssl, routing-kit
Fetching https://github.com/vapor/async-kit.git
[38027/123190] Fetching swift-nio-http2, swift-nio-ssl, routing-kit, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.08s)
[28940/111663] Fetching swift-nio-ssl, routing-kit, swift-nio
Fetching https://github.com/swift-server/async-http-client.git
[34581/117304] Fetching swift-nio-ssl, routing-kit, swift-nio, console-kit
[40232/119674] Fetching swift-nio-ssl, routing-kit, swift-nio, console-kit, async-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.08s)
Fetched https://github.com/vapor/async-kit.git from cache (0.90s)
[40898/125677] Fetching swift-nio-ssl, routing-kit, swift-nio, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (2.23s)
[30262/104950] Fetching swift-nio-ssl, swift-nio, async-http-client
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.08s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.48s)
[44134/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (13.40s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.79s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.85s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.89s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.84s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[2241/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.62s)
[1991/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (2.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.87s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.88s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.51s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (1.35s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.87s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.80s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (1.07s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
[1/904] Fetching swift-http-types
[905/5889] Fetching swift-http-types, swift-async-algorithms
[955/8315] Fetching swift-http-types, swift-async-algorithms, swift-service-lifecycle
[2625/14470] Fetching swift-http-types, swift-async-algorithms, swift-service-lifecycle, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.62s)
[9890/12044] Fetching swift-http-types, swift-async-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.94s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.94s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.95s)
[1/1141] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.49s)
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.12s)
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.09s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (2.83s)
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.15s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (2.81s)
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 (1.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.49s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.83s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.93s)
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.89s)
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.87s)
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 (0.94s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.87s)
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
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/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 4.2.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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.4.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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/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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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/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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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/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-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/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/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/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/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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.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.27.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.36.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.0
warning: 'jwt': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/jwt/Sources/JWT/Docs.docc
Building for debugging...
[0/1255] Write sources
[42/1255] Compiling CNIOLinux shim.c
[42/1255] Write sources
[44/1255] Compiling CNIOWASI CNIOWASI.c
[45/1255] Compiling CNIOLinux liburing_shims.c
[45/1255] Write sources
[53/1255] Compiling CVaporBcrypt bcrypt.c
[54/1255] Compiling CNIOWindows WSAStartup.c
[55/1255] Compiling CNIOWindows shim.c
[56/1255] Compiling _NumericsShims _NumericsShims.c
[57/1255] Compiling CSystem shims.c
[58/1255] Compiling _AtomicsShims.c
[59/1255] Compiling CNIODarwin shim.c
[60/1255] Compiling CNIOLLHTTP c_nio_http.c
[61/1255] Compiling CNIOExtrasZlib empty.c
[62/1255] Compiling CVaporBcrypt blf.c
[63/1255] Compiling CNIOSHA1 c_nio_sha1.c
[64/1255] Compiling fiat_p256_adx_sqr.S
[65/1255] Compiling fiat_p256_adx_mul.S
[66/1255] Compiling fiat_curve25519_adx_mul.S
[67/1255] Compiling CNIOLLHTTP c_nio_api.c
[68/1255] Compiling fiat_curve25519_adx_square.S
[69/1255] Write swift-version-24593BA9C3E375BF.txt
[70/1255] 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.
[71/1259] Compiling tls_method.cc
[71/1259] Compiling tls13_server.cc
[71/1259] Compiling CNIOLLHTTP c_nio_llhttp.c
[71/1259] Compiling tls13_client.cc
[71/1259] Compiling tls13_both.cc
[71/1259] Compiling tls_record.cc
[71/1259] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'jwt': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/jwt/Sources/JWT/Docs.docc
[0/1] Planning build
Building for debugging...
[0/1185] Compiling fiat_curve25519_adx_square.S
[1/1185] Compiling fiat_p256_adx_mul.S
[2/1185] Compiling fiat_curve25519_adx_mul.S
[3/1185] Compiling fiat_p256_adx_sqr.S
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_x509.c:71:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/../internal.h:141:10: fatal error: 'pthread.h' file not found
  141 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/1185] Compiling x_x509.c
[4/1185] Compiling x_x509a.c
[4/1185] Compiling tls13_server.cc
[4/1185] Compiling CNIOLLHTTP c_nio_llhttp.c
[4/1185] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/x_val.c:62:
In file included from /host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/internal.h:67:
/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/crypto/x509/../internal.h:141:10: fatal error: 'pthread.h' file not found
  141 | #include <pthread.h>
      |          ^~~~~~~~~~~
[4/1185] Compiling x_val.c
[4/1185] Compiling tls_method.cc
[4/1185] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm