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 MongoKitten, reference main (fe4364), with Swift 6.1 for Wasm on 31 Aug 2025 21:25:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/MongoKitten.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/orlandos-nl/MongoKitten
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fe4364c Remove logo
Cloned https://github.com/orlandos-nl/MongoKitten.git
Revision (git rev-parse @):
fe4364cfffb2f44f1c2994dc20c7614caeaa0ad5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orlandos-nl/MongoKitten.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/orlandos-nl/MongoKitten.git
https://github.com/orlandos-nl/MongoKitten.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "bson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.9",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/orlandos-nl/BSON.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.43.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "dnsclient",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/orlandos-nl/DNSClient.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-distributed-tracing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-distributed-tracing.git"
    }
  ],
  "manifest_display_name" : "MongoKitten",
  "name" : "MongoKitten",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MongoKitten",
      "targets" : [
        "MongoKitten"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Meow",
      "targets" : [
        "Meow"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MongoClient",
      "targets" : [
        "MongoClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MongoCore",
      "targets" : [
        "MongoCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_MongoKittenCrypto",
      "module_type" : "SwiftTarget",
      "name" : "_MongoKittenCrypto",
      "path" : "Sources/_MongoKittenCrypto",
      "product_memberships" : [
        "MongoKitten",
        "Meow",
        "MongoClient"
      ],
      "sources" : [
        "HMAC.swift",
        "Hash.swift",
        "Hex.swift",
        "MD5.swift",
        "PBKDF2.swift",
        "SHA1.swift",
        "SHA256.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MongoKittenTests",
      "module_type" : "SwiftTarget",
      "name" : "MongoKittenTests",
      "path" : "Tests/MongoKittenTests",
      "sources" : [
        "CRUDTests.swift",
        "ConnectionSettingsTests.swift",
        "CryptoPerformanceTests.swift",
        "CryptoTests.swift",
        "TransactionTests.swift"
      ],
      "target_dependencies" : [
        "MongoKitten"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MongoKittenCore",
      "module_type" : "SwiftTarget",
      "name" : "MongoKittenCore",
      "path" : "Sources/MongoKittenCore",
      "product_memberships" : [
        "MongoKitten",
        "Meow"
      ],
      "sources" : [
        "Commands/Aggregate.swift",
        "Commands/Count.swift",
        "Commands/CreateIndexes.swift",
        "Commands/Delete.swift",
        "Commands/Distinct.swift",
        "Commands/Drop.swift",
        "Commands/Find.swift",
        "Commands/FindAndModify.swift",
        "Commands/Insert.swift",
        "Commands/ListCollections.swift",
        "Commands/ListDatabases.swift",
        "Commands/Update.swift",
        "Cursor.swift",
        "FieldPath.swift",
        "QueryPrimitives/Projection.swift",
        "QueryPrimitives/QueryBuilder.swift",
        "QueryPrimitives/Sorting.swift"
      ],
      "target_dependencies" : [
        "MongoClient"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MongoKitten",
      "module_type" : "SwiftTarget",
      "name" : "MongoKitten",
      "path" : "Sources/MongoKitten",
      "product_memberships" : [
        "MongoKitten",
        "Meow"
      ],
      "sources" : [
        "Aggregate.swift",
        "AggregateBuilder.swift",
        "AggregateStage.swift",
        "AsyncSequence.swift",
        "BSON2JSON.swift",
        "CLI+Helpers.swift",
        "ChangeStream.swift",
        "CollectionHelpers/Collection+Count.swift",
        "CollectionHelpers/Collection+Delete.swift",
        "CollectionHelpers/Collection+Distinct.swift",
        "CollectionHelpers/Collection+Find.swift",
        "CollectionHelpers/Collection+FindAndModify.swift",
        "CollectionHelpers/Collection+Indexes.swift",
        "CollectionHelpers/Collection+Insert.swift",
        "CollectionHelpers/Collection+Update.swift",
        "Cursor.swift",
        "Date+ISO8601Format.swift",
        "Error.swift",
        "Exports.swift",
        "GridFS/GridFSBucket.swift",
        "GridFS/GridFSChunk.swift",
        "GridFS/GridFSError.swift",
        "GridFS/GridFSFile.swift",
        "GridFS/GridFSFileWriter.swift",
        "GridFS/GridFSReader.swift",
        "IndexBuilder.swift",
        "MongoCollection.swift",
        "MongoDatabase.swift",
        "MongoTransactionDatabase.swift"
      ],
      "target_dependencies" : [
        "MongoClient",
        "MongoKittenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MongoCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "MongoCoreTests",
      "path" : "Tests/MongoCoreTests",
      "sources" : [
        "ProtocolTests.swift"
      ],
      "target_dependencies" : [
        "MongoCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MongoCore",
      "module_type" : "SwiftTarget",
      "name" : "MongoCore",
      "path" : "Sources/MongoCore",
      "product_dependencies" : [
        "BSON",
        "NIO",
        "NIOSSL",
        "NIOFoundationCompat",
        "Logging",
        "Metrics",
        "Atomics"
      ],
      "product_memberships" : [
        "MongoKitten",
        "Meow",
        "MongoClient",
        "MongoCore"
      ],
      "sources" : [
        "CommandPrimitives.swift",
        "Error.swift",
        "MongoReplyDeserializer.swift",
        "Primitives/Collation.swift",
        "Primitives/ConnectionSettings.swift",
        "Primitives/Namespace.swift",
        "Primitives/ReadConcern.swift",
        "Primitives/ServerHandshake.swift",
        "Primitives/WireVersion.swift",
        "Primitives/WriteConcern.swift",
        "Protocol/MessageHeader.swift",
        "Protocol/MongoReply.swift",
        "Protocol/MongoRequest.swift",
        "Protocol/OpMessage.swift",
        "Protocol/OpQuery.swift",
        "Protocol/OpReply.swift",
        "Protocol/ProtocolHelpers.swift",
        "Sessions.swift",
        "Tansaction.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MongoClient",
      "module_type" : "SwiftTarget",
      "name" : "MongoClient",
      "path" : "Sources/MongoClient",
      "product_dependencies" : [
        "DNSClient",
        "Tracing"
      ],
      "product_memberships" : [
        "MongoKitten",
        "Meow",
        "MongoClient"
      ],
      "sources" : [
        "Authenticate+ChallengeResponse.swift",
        "Authenticate+SASL.swift",
        "Authenticate.swift",
        "Channel+Connection.swift",
        "Cluster.swift",
        "Connection+Execute.swift",
        "Connection.swift",
        "ConnectionContext.swift",
        "ConnectionPool.swift",
        "Cursor.swift",
        "Error.swift",
        "Exports.swift",
        "Helpers.swift",
        "InternalCommands/GetMore.swift",
        "InternalCommands/IsMaster.swift",
        "InternalCommands/KillCursors.swift",
        "MongoSingleConnectionPool.swift",
        "Responses/MongoCursorResponse.swift",
        "Responses/OK.swift",
        "SASL.swift"
      ],
      "target_dependencies" : [
        "MongoCore",
        "_MongoKittenCrypto"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MeowTests",
      "module_type" : "SwiftTarget",
      "name" : "MeowTests",
      "path" : "Tests/MeowTests",
      "sources" : [
        "MeowTests.swift"
      ],
      "target_dependencies" : [
        "Meow"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Meow",
      "module_type" : "SwiftTarget",
      "name" : "Meow",
      "path" : "Sources/Meow",
      "product_memberships" : [
        "Meow"
      ],
      "sources" : [
        "Aggregates.swift",
        "Database.swift",
        "Error.swift",
        "Exports.swift",
        "Indexes.swift",
        "KeyPathModel/FindHelpers.swift",
        "KeyPathModel/KeyPathModels.swift",
        "KeyPathModel/MeowCollection+KeyPath.swift",
        "KeyPathModel/TestDecoder.swift",
        "MeowCollection.swift",
        "Migrations.swift",
        "Model.swift",
        "Operators.swift",
        "PartialModel.swift",
        "Reference.swift"
      ],
      "target_dependencies" : [
        "MongoKitten"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/orlandos-nl/DNSClient.git
Fetching https://github.com/orlandos-nl/BSON.git
Fetching https://github.com/apple/swift-nio.git
[1/1312] Fetching dnsclient
[211/3120] Fetching dnsclient, swift-atomics
[1910/8263] Fetching dnsclient, swift-atomics, swift-distributed-tracing
[3069/14267] Fetching dnsclient, swift-atomics, swift-distributed-tracing, bson
[3050/8263] Fetching dnsclient, swift-atomics, swift-distributed-tracing
[3274/14267] Fetching dnsclient, swift-atomics, swift-distributed-tracing, bson
[10496/29342] Fetching dnsclient, swift-atomics, swift-distributed-tracing, bson, swift-nio-ssl
[15776/107275] Fetching dnsclient, swift-atomics, swift-distributed-tracing, bson, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (3.68s)
[81308/105467] Fetching dnsclient, swift-distributed-tracing, bson, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.70s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
[76945/100324] Fetching dnsclient, bson, swift-nio-ssl, swift-nio
[79284/102665] Fetching dnsclient, bson, swift-nio-ssl, swift-nio, swift-metrics
[79495/106562] Fetching dnsclient, bson, swift-nio-ssl, swift-nio, swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.71s)
[85518/104221] Fetching dnsclient, bson, swift-nio-ssl, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.82s)
[82400/100324] Fetching dnsclient, bson, swift-nio-ssl, swift-nio
Fetched https://github.com/orlandos-nl/DNSClient.git from cache (9.28s)
Fetched https://github.com/orlandos-nl/BSON.git from cache (9.30s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (9.36s)
Fetched https://github.com/apple/swift-nio.git from cache (9.48s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.4.4 (12.90s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2698] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.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.45s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.98s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.37s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.20s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 8.2.0 (0.85s)
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.96s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.23s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4941] Fetching swift-system
[4942/22335] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
[1740/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (2.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.06s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.89s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.92s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (1.12s)
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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.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-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/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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.2
Creating working copy for https://github.com/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at 8.2.0
Creating working copy for https://github.com/orlandos-nl/DNSClient.git
Working copy of https://github.com/orlandos-nl/DNSClient.git resolved at 2.4.4
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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.1
Building for debugging...
[0/439] Write sources
[28/439] Compiling _AtomicsShims.c
[29/439] Compiling CNIOWindows shim.c
[30/439] Compiling CNIOWindows WSAStartup.c
[31/439] Compiling CNIOWASI CNIOWASI.c
[32/439] Compiling CNIOLinux shim.c
[33/439] Compiling CNIODarwin shim.c
[34/439] Compiling CNIOPosix event_loop_id.c
[35/439] Compiling CNIOLinux liburing_shims.c
[36/439] Compiling fiat_p256_adx_mul.S
[37/439] Compiling fiat_p256_adx_sqr.S
[38/439] Compiling fiat_curve25519_adx_square.S
[39/439] Compiling fiat_curve25519_adx_mul.S
[40/439] Write swift-version-24593BA9C3E375BF.txt
[41/439] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[42/443] Compiling a_bitstr.cc
[42/443] Compiling tls13_server.cc
[42/443] Compiling tls_method.cc
[42/443] Compiling tls_record.cc
[42/443] Compiling tls13_enc.cc
[42/443] Compiling tls13_both.cc
[42/443] Compiling tls13_client.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/398] Write swift-version-24593BA9C3E375BF.txt
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.
[1/398] Compiling tls_record.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.
[1/398] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[1/398] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[1/398] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[1/398] Compiling ssl_x509.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.
[1/398] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[1/398] Compiling t1_enc.cc
[1/398] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm