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 Yorkie, reference main (14c906), with Swift 6.1 for Wasm on 8 Sep 2025 15:58:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/yorkie-team/yorkie-ios-sdk.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/yorkie-team/yorkie-ios-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 14c9069 Sync #1003 (#218)
Cloned https://github.com/yorkie-team/yorkie-ios-sdk.git
Revision (git rev-parse @):
14c906984c97fa2ad536b2f73d54dc4b7763aa4b
SUCCESS checkout https://github.com/yorkie-team/yorkie-ios-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yorkie-team/yorkie-ios-sdk.git
https://github.com/yorkie-team/yorkie-ios-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "connect-swift",
      "requirement" : {
        "exact" : [
          "1.0.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/connectrpc/connect-swift"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "exact" : [
          "1.6.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "semaphore",
      "requirement" : {
        "exact" : [
          "0.0.8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/Semaphore.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "exact" : [
          "1.4.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Yorkie",
  "name" : "Yorkie",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Yorkie",
      "targets" : [
        "Yorkie"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YorkieUnitTests",
      "module_type" : "SwiftTarget",
      "name" : "YorkieUnitTests",
      "path" : "Tests/Unit",
      "sources" : [
        "API/V1/ConverterTests.swift",
        "Document/CRDT/CRDTArrayTests.swift",
        "Document/CRDT/CRDTCountTests.swift",
        "Document/CRDT/CRDTElementTests.swift",
        "Document/CRDT/CRDTObjectTests.swift",
        "Document/CRDT/CRDTRootTests.swift",
        "Document/CRDT/CRDTTextTests.swift",
        "Document/CRDT/CRDTTreeTests.swift",
        "Document/CRDT/ElementRHTTests.swift",
        "Document/CRDT/PrimitiveTests.swift",
        "Document/CRDT/RGATreeListTests.swift",
        "Document/CRDT/RHTTests.swift",
        "Document/Change/ChangeContextTests.swift",
        "Document/Change/ChangeIDTests.swift",
        "Document/Change/ChangePackTests.swift",
        "Document/Change/ChangeTests.swift",
        "Document/Change/CheckpointTests.swift",
        "Document/DocumentConcurrentAccessTests.swift",
        "Document/DocumentTests.swift",
        "Document/GCTests.swift",
        "Document/Json/JONSTreeTests.swift",
        "Document/Json/JSONArrayTests.swift",
        "Document/Json/JSONObjectTests.swift",
        "Document/Json/JSONTextTest.swift",
        "Document/Operation/AddOperationTests.swift",
        "Document/Operation/MoveOperationTests.swift",
        "Document/Operation/RemoveOperationTests.swift",
        "Document/Operation/SetOperationTests.swift",
        "Document/Time/TimeTicketTests.swift",
        "Document/Time/VersionVectorTest.swift",
        "Document/Util/DocumentSizeTest.swift",
        "Document/Util/PayloadTests.swift",
        "Document/Util/StringEscapingTests.swift",
        "Document/Util/StringValueTypeDictionaryTests.swift",
        "Document/Util/YorkieJSONObjectableTests.swift",
        "TestUtils/XCTestCase+Extension.swift",
        "Util/Helper.swift",
        "Util/IndexTreeTests.swift",
        "Util/LLRBTreeTests.swift",
        "Util/SplayTreeTests.swift",
        "Util/StringExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "Yorkie",
        "YorkieTestHelper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YorkieTestHelper",
      "module_type" : "SwiftTarget",
      "name" : "YorkieTestHelper",
      "path" : "Tests/Helper",
      "product_dependencies" : [
        "ConnectNIO"
      ],
      "sources" : [
        "TestHelper.swift",
        "WebhookServer.swift",
        "YorkieProjectHelper.swift"
      ],
      "target_dependencies" : [
        "Yorkie"
      ],
      "type" : "library"
    },
    {
      "c99name" : "YorkieIntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "YorkieIntegrationTests",
      "path" : "Tests/Integration",
      "sources" : [
        "ClientIntegrationTests.swift",
        "CounterIntegrationTests.swift",
        "DocumentIntegrationTests.swift",
        "DocumentLimitTests.swift",
        "GCIntegrationTests.swift",
        "GRPCTests.swift",
        "PresenceTests.swift",
        "SnapshotTests.swift",
        "TextIntegrationTests.swift",
        "TreeConcurrencyTests.swift",
        "TreeIntegrationTests.swift",
        "WebhookIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "Yorkie",
        "YorkieTestHelper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YorkieBenchmarkTests",
      "module_type" : "SwiftTarget",
      "name" : "YorkieBenchmarkTests",
      "path" : "Tests/Benchmark",
      "sources" : [
        "DocumentBenchmarkTests.swift",
        "SplayTreeBenchmarkTests.swift"
      ],
      "target_dependencies" : [
        "Yorkie",
        "YorkieTestHelper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Yorkie",
      "module_type" : "SwiftTarget",
      "name" : "Yorkie",
      "path" : "Sources",
      "product_dependencies" : [
        "Connect",
        "Logging",
        "Semaphore"
      ],
      "product_memberships" : [
        "Yorkie"
      ],
      "sources" : [
        "API/Converter.swift",
        "API/GRPCTypeAlias.swift",
        "API/V1/Generated/googleapis/google/rpc/error_details.pb.swift",
        "API/V1/Generated/yorkie/v1/resources.pb.swift",
        "API/V1/Generated/yorkie/v1/yorkie.connect.swift",
        "API/V1/Generated/yorkie/v1/yorkie.pb.swift",
        "Core/Attachment.swift",
        "Core/Auth.swift",
        "Core/AuthTokenInjector.swift",
        "Core/Client.swift",
        "Core/Logger.swift",
        "Core/YorkieService.swift",
        "Document/CRDT/CRDTArray.swift",
        "Document/CRDT/CRDTCounter.swift",
        "Document/CRDT/CRDTElement.swift",
        "Document/CRDT/CRDTObject.swift",
        "Document/CRDT/CRDTRoot.swift",
        "Document/CRDT/CRDTText.swift",
        "Document/CRDT/CRDTTree.swift",
        "Document/CRDT/ElementRHT.swift",
        "Document/CRDT/GC.swift",
        "Document/CRDT/Primitive.swift",
        "Document/CRDT/RGATreeList.swift",
        "Document/CRDT/RGATreeSplit.swift",
        "Document/CRDT/RHT.swift",
        "Document/Change/Change.swift",
        "Document/Change/ChangeContext.swift",
        "Document/Change/ChangeID.swift",
        "Document/Change/ChangePack.swift",
        "Document/Change/Checkpoint.swift",
        "Document/DocEvent.swift",
        "Document/Document.swift",
        "Document/Json/ElementConverter.swift",
        "Document/Json/JSONArray.swift",
        "Document/Json/JSONCounter.swift",
        "Document/Json/JSONDatable.swift",
        "Document/Json/JSONObject.swift",
        "Document/Json/JSONText.swift",
        "Document/Json/JSONTree.swift",
        "Document/Json/ObjectDataHandler.swift",
        "Document/Json/Strings.swift",
        "Document/Operation/AddOperation.swift",
        "Document/Operation/EditOperation.swift",
        "Document/Operation/IncreaseOperation.swift",
        "Document/Operation/MoveOperation.swift",
        "Document/Operation/Operation.swift",
        "Document/Operation/RemoveOperation.swift",
        "Document/Operation/SetOperation.swift",
        "Document/Operation/StyleOperation.swift",
        "Document/Operation/TreeEditOperation.swift",
        "Document/Operation/TreeSytleOperation.swift",
        "Document/Presence/Presence.swift",
        "Document/Time/ActorID.swift",
        "Document/Time/TimeTicket.swift",
        "Document/Time/VersionVector.swift",
        "Document/Util/JSONObjectable.swift",
        "Document/Util/Payload.swift",
        "Document/Util/YorkieCountable.swift",
        "Util/Codable+Extension.swift",
        "Util/Collection+Extensions.swift",
        "Util/Dictionary+Extension.swift",
        "Util/Errors.swift",
        "Util/IndexTree.swift",
        "Util/LLRBTree.swift",
        "Util/Optional+Extensions.swift",
        "Util/SplayTree.swift",
        "Util/String+Extensions.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/groue/Semaphore.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/connectrpc/connect-swift
Fetching https://github.com/apple/swift-docc-plugin
[1/293] Fetching semaphore
[294/8951] Fetching semaphore, connect-swift
[554/11045] Fetching semaphore, connect-swift, swift-docc-plugin
[3123/14948] Fetching semaphore, connect-swift, swift-docc-plugin, swift-log
Fetched https://github.com/groue/Semaphore.git from cache (0.40s)
Fetched https://github.com/connectrpc/connect-swift from cache (0.41s)
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.96s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3507] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.0.8 (1.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.64s)
Computing version for https://github.com/connectrpc/connect-swift
Computed https://github.com/connectrpc/connect-swift at 1.0.3 (0.82s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/11661] Fetching swift-nio-http2
[2567/26736] Fetching swift-nio-http2, swift-nio-ssl
[10008/104773] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
[27456/144919] Fetching swift-nio-http2, swift-nio-ssl, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.94s)
[43593/133258] Fetching swift-nio-ssl, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.72s)
[75169/118183] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (10.86s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (11.94s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.53s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (4.78s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.68s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.91s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.90s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
[4938/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.17s)
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.83s)
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.34.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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.3.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.0
Creating working copy for https://github.com/connectrpc/connect-swift
Working copy of https://github.com/connectrpc/connect-swift resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/groue/Semaphore.git
Working copy of https://github.com/groue/Semaphore.git resolved at 0.0.8
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1369/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (1.53s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/441] Write sources
[23/441] Compiling CNIOWASI CNIOWASI.c
[23/441] Compiling CNIOWindows WSAStartup.c
[25/441] Copying PrivacyInfo.xcprivacy
[25/441] Write sources
[28/441] Compiling CNIOWindows shim.c
[28/441] Compiling CNIOLinux shim.c
[30/441] Compiling CNIOPosix event_loop_id.c
[31/441] Compiling CNIOLinux liburing_shims.c
[32/441] Compiling CNIODarwin shim.c
[33/441] Compiling _AtomicsShims.c
[34/441] Compiling CNIOLLHTTP c_nio_http.c
[35/441] Compiling CNIOLLHTTP c_nio_api.c
[36/441] Compiling fiat_p256_adx_mul.S
[37/441] Compiling fiat_p256_adx_sqr.S
[38/441] Compiling fiat_curve25519_adx_square.S
[39/441] Compiling fiat_curve25519_adx_mul.S
[40/441] Write swift-version-24593BA9C3E375BF.txt
[41/441] Compiling CNIOBoringSSLShims shims.c
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 error generated.
[42/445] Compiling tls13_both.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.
[42/445] Compiling tls13_server.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 error generated.
[42/445] Compiling tls13_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>
      |          ^~~~~~~~~~~
[42/445] Compiling tls_record.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.
[42/445] Compiling tls13_client.cc
[42/445] Compiling CNIOLLHTTP c_nio_llhttp.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>
      |          ^~~~~~~~~~~
[42/445] Compiling tls_method.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Benchmark/editing-trace.json
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
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.
[3/403] 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>
      |          ^~~~~~~~~~~
1 error generated.
[3/403] Compiling tls13_enc.cc
[3/403] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[3/403] 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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls13_server.cc
[3/403] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm