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 (1e83bf), with Swift 6.1 for Wasm on 12 Jun 2025 02:19:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/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 1e83bfa Update README.md
Cloned https://github.com/orlandos-nl/MongoKitten.git
Revision (git rev-parse @):
1e83bfa3fa5216234e0b2d1979e56cd0f63afa77
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-0":/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 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/orlandos-nl/DNSClient.git
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/apple/swift-nio.git
Fetching https://github.com/orlandos-nl/BSON.git
[1/1144] Fetching dnsclient
[1145/7148] Fetching dnsclient, bson
[1686/12122] Fetching dnsclient, bson, swift-distributed-tracing
[6508/13919] Fetching dnsclient, bson, swift-distributed-tracing, swift-atomics
Fetched https://github.com/orlandos-nl/DNSClient.git from cache (0.38s)
[12176/12775] Fetching bson, swift-distributed-tracing, swift-atomics
Fetching https://github.com/apple/swift-metrics.git
[12776/27624] Fetching bson, swift-distributed-tracing, swift-atomics, swift-nio-ssl
[13964/103867] Fetching bson, swift-distributed-tracing, swift-atomics, swift-nio-ssl, swift-nio
Fetched https://github.com/orlandos-nl/BSON.git from cache (0.53s)
Fetching https://github.com/apple/swift-log.git
[8406/97863] Fetching swift-distributed-tracing, swift-atomics, swift-nio-ssl, swift-nio
[12347/100069] Fetching swift-distributed-tracing, swift-atomics, swift-nio-ssl, swift-nio, swift-metrics
[16355/103905] Fetching swift-distributed-tracing, swift-atomics, swift-nio-ssl, swift-nio, swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.42s)
[20012/101699] Fetching swift-distributed-tracing, swift-atomics, swift-nio-ssl, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
[28940/97863] Fetching swift-distributed-tracing, swift-atomics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (5.17s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (5.17s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.19s)
Fetched https://github.com/apple/swift-nio.git from cache (5.25s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.4.4 (7.11s)
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.31s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (0.75s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.22s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.46s)
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.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.76s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4428] Fetching swift-system
[4429/21028] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
[1660/16600] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.59s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 8.2.0 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.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.52s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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/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-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-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-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-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-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/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-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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/438] Write sources
[27/438] Compiling CNIOWindows shim.c
[27/438] Compiling _AtomicsShims.c
[29/438] Compiling CNIOLinux shim.c
[30/438] Compiling CNIOWASI CNIOWASI.c
[31/438] Compiling CNIODarwin shim.c
[32/438] Compiling CNIOLinux liburing_shims.c
[33/438] Compiling CNIOWindows WSAStartup.c
[34/438] Compiling fiat_p256_adx_sqr.S
[35/438] Compiling fiat_p256_adx_mul.S
[36/438] Compiling fiat_curve25519_adx_square.S
[37/438] Compiling fiat_curve25519_adx_mul.S
[38/438] Write swift-version-24593BA9C3E375BF.txt
[39/438] 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.
[40/442] Compiling tls_method.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 error generated.
[40/442] Compiling tls13_client.cc
[40/442] Compiling t1_enc.cc
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>
      |          ^~~~~~~~~~~
[40/442] Compiling tls_record.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>
      |          ^~~~~~~~~~~
[40/442] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[40/442] 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>
      |          ^~~~~~~~~~~
[40/442] Compiling tls13_both.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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...
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 error generated.
[0/399] 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>
      |          ^~~~~~~~~~~
[0/399] Compiling t1_enc.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/399] 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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[0/399] Compiling tls_record.cc
[0/399] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[0/399] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[0/399] Compiling tls13_server.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/399] Compiling ssl_x509.cc
BUILD FAILURE 6.1 wasm