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 (723fe7), with Swift 6.1 for Wasm on 2 Jun 2025 13:48:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/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 723fe78 Bump to 0.5.5
Cloned https://github.com/yorkie-team/yorkie-ios-sdk.git
Revision (git rev-parse @):
723fe78f738bdaa8fd508de0874f0cb947a7ecc8
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/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",
        "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-4606859-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/groue/Semaphore.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/connectrpc/connect-swift
Fetching https://github.com/apple/swift-log.git
[1/293] Fetching semaphore
[294/4129] Fetching semaphore, swift-log
[525/12649] Fetching semaphore, swift-log, connect-swift
[756/14698] Fetching semaphore, swift-log, connect-swift, swift-docc-plugin
Fetched https://github.com/connectrpc/connect-swift from cache (1.01s)
Fetched https://github.com/groue/Semaphore.git from cache (1.02s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.02s)
Fetched https://github.com/apple/swift-log.git from cache (1.02s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3395] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.86s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.0.8 (1.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.53s)
Computing version for https://github.com/connectrpc/connect-swift
Computed https://github.com/connectrpc/connect-swift at 1.0.3 (0.78s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.git
[1/11527] Fetching swift-nio-http2
[2537/26370] Fetching swift-nio-http2, swift-nio-ssl
[4104/102517] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
[31488/141839] Fetching swift-nio-http2, swift-nio-ssl, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (6.22s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (7.04s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.04s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.10s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (7.72s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.63s)
Fetching https://github.com/apple/swift-atomics.git
[1/1717] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (8.05s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (16.85s)
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.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.01s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
[665/20982] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.08s)
Fetched https://github.com/apple/swift-collections.git from cache (2.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.00s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.93s)
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-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/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/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-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/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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/440] Write sources
[6/440] Copying PrivacyInfo.xcprivacy
[6/440] Write sources
[26/440] Compiling _AtomicsShims.c
[27/440] Compiling CNIOWASI CNIOWASI.c
[28/440] Compiling CNIOWindows shim.c
[29/440] Compiling CNIOLinux liburing_shims.c
[30/440] Compiling CNIOLinux shim.c
[30/440] Compiling CNIOWindows WSAStartup.c
[32/440] Compiling CNIODarwin shim.c
[33/440] Compiling CNIOLLHTTP c_nio_http.c
[34/440] Compiling fiat_p256_adx_mul.S
[35/440] Compiling fiat_p256_adx_sqr.S
[36/440] Compiling fiat_curve25519_adx_mul.S
[37/440] Compiling fiat_curve25519_adx_square.S
[38/440] Compiling CNIOLLHTTP c_nio_api.c
[39/440] Write swift-version-24593BA9C3E375BF.txt
[40/440] Compiling CNIOBoringSSLShims shims.c
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.
[41/444] 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.
[41/444] Compiling tls13_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>
      |          ^~~~~~~~~~~
1 error generated.
[41/444] 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>
      |          ^~~~~~~~~~~
[41/444] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[41/444] Compiling tls13_server.cc
[42/444] Emitting module _NIODataStructures
[42/444] Compiling CNIOLLHTTP c_nio_llhttp.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>
      |          ^~~~~~~~~~~
[42/444] Compiling tls13_both.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
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/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.
[3/403] 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>
      |          ^~~~~~~~~~~
[3/403] 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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls13_both.cc
[3/403] Compiling tls_record.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/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
[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_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
BUILD FAILURE 6.1 wasm