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 s3-filesystem-kit, reference main (d43068), with Swift 6.1 for Wasm on 27 May 2025 21:45:31 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-fowler/s3-filesystem-kit.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/adam-fowler/s3-filesystem-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d43068f Update README.md
Cloned https://github.com/adam-fowler/s3-filesystem-kit.git
Revision (git rev-parse @):
d43068fc80f7a8a92ddad26612df1ec9d20b2375
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/adam-fowler/s3-filesystem-kit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/adam-fowler/s3-filesystem-kit.git
https://github.com/adam-fowler/s3-filesystem-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "soto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/soto-project/soto.git"
    }
  ],
  "manifest_display_name" : "s3-filesystem-kit",
  "name" : "s3-filesystem-kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "S3FileSystemKit",
      "targets" : [
        "S3FileSystemKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "S3FileSystemKitTests",
      "module_type" : "SwiftTarget",
      "name" : "S3FileSystemKitTests",
      "path" : "Tests/S3FileSystemKitTests",
      "sources" : [
        "S3FileSystemTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "S3FileSystemKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "S3FileSystemKit",
      "module_type" : "SwiftTarget",
      "name" : "S3FileSystemKit",
      "path" : "Sources/S3FileSystemKit",
      "product_dependencies" : [
        "SotoS3"
      ],
      "product_memberships" : [
        "S3FileSystemKit"
      ],
      "sources" : [
        "S3FileSystem.swift",
        "S3Path.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/soto-project/soto.git
[1/141069] Fetching soto
Fetched https://github.com/soto-project/soto.git from cache (97.44s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 5.13.2 (100.80s)
Fetching https://github.com/soto-project/soto-core.git
[1/56330] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git from cache (2.37s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 5.9.4 (2.94s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/adam-fowler/jmespath.swift.git
[1/2667] Fetching swift-nio-transport-services
[2668/3325] Fetching swift-nio-transport-services, jmespath.swift
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (0.33s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.33s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
[1/13936] Fetching swift-crypto
[2/28779] Fetching swift-crypto, swift-nio-ssl
[587/42793] Fetching swift-crypto, swift-nio-ssl, async-http-client
[3305/118848] Fetching swift-crypto, swift-nio-ssl, async-http-client, swift-nio
[15353/122684] Fetching swift-crypto, swift-nio-ssl, async-http-client, swift-nio, swift-log
[16534/124890] Fetching swift-crypto, swift-nio-ssl, async-http-client, swift-nio, swift-log, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.53s)
[33106/122684] Fetching swift-crypto, swift-nio-ssl, async-http-client, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
[32757/118848] Fetching swift-crypto, swift-nio-ssl, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.28s)
[46473/104834] Fetching swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (2.51s)
[73406/90898] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.43s)
Fetched https://github.com/apple/swift-nio.git from cache (5.49s)
Computing version for https://github.com/adam-fowler/jmespath.swift.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (5.99s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.06s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.54s)
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.49s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.40s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[4392/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.97s)
Fetched https://github.com/apple/swift-collections.git from cache (1.01s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.65s)
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.46s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5914] Fetching swift-nio-extras
[297/11873] Fetching swift-nio-extras, swift-algorithms
[8194/23400] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.44s)
[8566/17441] Fetching swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.98s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.99s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.56s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.55s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1590] Fetching swift-asn1
[192/2731] Fetching swift-asn1, swift-http-structured-headers
[2685/3635] Fetching swift-asn1, swift-http-structured-headers, swift-http-types
[2904/6061] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[3530/12216] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates
[7115/17201] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.50s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.50s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.50s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.50s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.50s)
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.97s)
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.55s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.00s)
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.00s)
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (3.10s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.10s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (2.39s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (6.59s)
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.85s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.89s)
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/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/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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.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.26.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
Creating working copy for https://github.com/adam-fowler/jmespath.swift.git
Working copy of https://github.com/adam-fowler/jmespath.swift.git resolved at 1.0.3
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/soto-project/soto.git
Working copy of https://github.com/soto-project/soto.git resolved at 5.13.2
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/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 5.9.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Building for debugging...
[0/871] Write sources
[33/871] Compiling CSotoExpat xmltok_impl.c
[33/871] Compiling CSotoZlib empty.c
[33/871] Compiling CSotoExpat xmltok_ns.c
[36/871] Compiling _NumericsShims _NumericsShims.c
[37/871] Compiling _AtomicsShims.c
[38/871] Compiling CNIOWindows shim.c
[39/871] Compiling CNIOWindows WSAStartup.c
[40/871] Compiling CNIOWASI CNIOWASI.c
[41/871] Compiling CNIOLinux shim.c
[42/871] Compiling CNIOLinux liburing_shims.c
[43/871] Compiling CSotoExpat xmlrole.c
[44/871] Compiling CNIOExtrasZlib empty.c
[45/871] Compiling CNIODarwin shim.c
[46/871] Compiling CNIOLLHTTP c_nio_http.c
[47/871] Write swift-version-24593BA9C3E375BF.txt
[48/871] Compiling fiat_p256_adx_sqr.S
[49/871] Compiling CNIOLLHTTP c_nio_api.c
[50/871] Compiling fiat_p256_adx_mul.S
[51/871] Compiling fiat_curve25519_adx_square.S
[52/871] Compiling CSotoExpat xmlparse.c
[53/871] Compiling CSotoExpat xmltok.c
[54/882] Compiling CNIOBoringSSLShims shims.c
[55/922] Compiling CNIOLLHTTP c_nio_llhttp.c
[57/924] Emitting module INIParser
[58/924] Compiling JMESPath Token.swift
[59/925] Compiling JMESPath Sendable.swift
[60/925] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[61/925] Compiling InternalCollectionsUtilities UInt+reversed.swift
[62/926] Compiling INIParser INIParser.swift
[63/927] Compiling JMESPath Runtime.swift
[64/927] Compiling JMESPath Parser.swift
[68/928] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/928] Compiling _NIODataStructures _TinyArray.swift
[70/928] Emitting module _NIOBase64
[71/928] Compiling _NIOBase64 Base64.swift
[72/928] Emitting module InternalCollectionsUtilities
[73/929] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[74/929] Compiling InternalCollectionsUtilities Integer rank.swift
[75/929] Emitting module RealModule
[78/929] Compiling InternalCollectionsUtilities Descriptions.swift
[79/929] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[80/929] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[81/929] Compiling InternalCollectionsUtilities Debugging.swift
[82/929] Compiling _NIODataStructures PriorityQueue.swift
[83/929] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[84/929] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[85/929] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[86/929] Compiling InternalCollectionsUtilities _SortedCollection.swift
[87/929] Compiling RealModule Float80+Real.swift
[88/929] Compiling RealModule RealFunctions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/929] Emitting module SotoXML
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[90/929] Compiling RealModule Float16+Real.swift
[91/929] Compiling RealModule Real.swift
[92/929] Compiling RealModule ElementaryFunctions.swift
[93/929] Compiling RealModule Float+Real.swift
[95/930] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[96/934] Compiling fiat_curve25519_adx_mul.S
[98/934] Compiling Logging LogHandler.swift
[99/934] Compiling Logging Locks.swift
[100/934] Emitting module Logging
[102/934] Compiling Logging Logging.swift
[103/934] Compiling Logging MetadataProvider.swift
[104/935] Emitting module _NIODataStructures
[105/935] Compiling _NIODataStructures Heap.swift
[109/936] Compiling SotoXML Expat.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[110/936] Compiling SotoXML XML.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[112/936] Compiling JMESPath Variable.swift
[113/936] Compiling SotoXML XMLDecoder.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[114/936] Compiling SotoXML XMLEncoder.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[115/936] Compiling tls_record.cc
[117/936] Emitting module JMESPath
[117/936] Compiling tls13_server.cc
[119/936] Compiling tls13_enc.cc
[119/936] Compiling tls_method.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: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/815] Compiling fiat_curve25519_adx_square.S
[1/815] Compiling fiat_curve25519_adx_mul.S
[2/815] Compiling CCryptoBoringSSLShims shims.c
[3/815] Compiling v3_utl.c
[4/815] Write swift-version-24593BA9C3E375BF.txt
[5/815] Compiling v3_skey.c
[7/819] Compiling _NIODataStructures _TinyArray.swift
[8/819] Compiling _NIODataStructures PriorityQueue.swift
[9/819] Compiling _NIODataStructures Heap.swift
[10/819] Emitting module _NIODataStructures
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.
[10/820] 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>
      |          ^~~~~~~~~~~
1 error generated.
[10/820] Compiling tls13_server.cc
[10/820] Compiling tls13_both.cc
[10/820] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[10/820] Compiling tls13_enc.cc
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>
      |          ^~~~~~~~~~~
[10/820] 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>
      |          ^~~~~~~~~~~
[10/820] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm