The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Yorkie, reference 0.6.35 (6e8020), with Swift 6.1 for Wasm on 12 Jan 2026 04:26:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yorkie-team/yorkie-ios-sdk.git
Reference: 0.6.35
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
 * tag               0.6.35     -> FETCH_HEAD
HEAD is now at 6e80201 Sync 0.6.35 (#239)
Cloned https://github.com/yorkie-team/yorkie-ios-sdk.git
Revision (git rev-parse @):
6e8020136a9ac538ea8fbbe659f64429164f0a9a
SUCCESS checkout https://github.com/yorkie-team/yorkie-ios-sdk.git at 0.6.35
========================================
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"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.31.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    }
  ],
  "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+Ex.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",
        "Schema/RulesetValidatorTests.swift.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",
        "DocumentSchemaTest.swift",
        "GCIntegrationTests.swift",
        "GRPCTests.swift",
        "Helpers/Client+Ex.swift",
        "Helpers/ServerInfo.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/Attachable.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/ArraySetOperation.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/DocPresence.swift",
        "Document/Presence/Presence.swift",
        "Document/Ruleset/Ruleset.swift",
        "Document/Ruleset/RulesetValidator.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-0":/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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
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/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/connectrpc/connect-swift
[1/293] Fetching semaphore
[294/2451] Fetching semaphore, swift-docc-plugin
[510/11397] Fetching semaphore, swift-docc-plugin, connect-swift
[868/17162] Fetching semaphore, swift-docc-plugin, connect-swift, swift-log
Fetched https://github.com/apple/swift-docc-plugin from cache (0.52s)
Fetched https://github.com/connectrpc/connect-swift from cache (0.59s)
[1/41709] Fetching swift-protobuf
Fetched https://github.com/groue/Semaphore.git from cache (8.39s)
Fetched https://github.com/apple/swift-log.git from cache (8.39s)
Fetched https://github.com/apple/swift-protobuf.git from cache (8.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (9.07s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3639] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.0.8 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.54s)
Computing version for https://github.com/connectrpc/connect-swift
Computed https://github.com/connectrpc/connect-swift at 1.0.3 (0.61s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/11724] Fetching swift-nio-http2
[2581/27020] Fetching swift-nio-http2, swift-nio-ssl
[5589/108264] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (7.03s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.05s)
Fetched https://github.com/apple/swift-nio.git from cache (7.14s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (7.77s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.61s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.99s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.60s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.1 (1.09s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5361] Fetching swift-system
[5362/23977] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.35s)
Fetched https://github.com/apple/swift-collections.git from cache (1.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.81s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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.36.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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.1
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.39.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.3
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 SwiftProtobufPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/442] Write sources
[23/442] Compiling CNIOWindows WSAStartup.c
[23/442] Compiling CNIOWindows shim.c
[23/442] Compiling CNIOWASI CNIOWASI.c
[26/442] Copying PrivacyInfo.xcprivacy
[27/442] Write sources
[28/442] Compiling CNIOPosix event_loop_id.c
[29/442] Write sources
[30/442] Compiling CNIOLinux shim.c
[31/442] Compiling CNIOLinux liburing_shims.c
[32/442] Compiling CNIOOpenBSD shim.c
[33/442] Compiling CNIODarwin shim.c
[34/442] Compiling _AtomicsShims.c
[35/442] Compiling CNIOLLHTTP c_nio_http.c
[36/442] Compiling fiat_p256_adx_mul.S
[37/442] Compiling fiat_p256_adx_sqr.S
[38/442] Compiling fiat_curve25519_adx_mul.S
[39/442] Compiling fiat_curve25519_adx_square.S
[40/442] Compiling CNIOLLHTTP c_nio_api.c
[41/442] Write swift-version-24593BA9C3E375BF.txt
[42/442] 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.
[43/446] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[43/446] 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>
      |          ^~~~~~~~~~~
[43/446] 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>
      |          ^~~~~~~~~~~
[43/446] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[43/446] Compiling tls_record.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/446] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[43/446] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
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 SwiftProtobufPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
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/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
[3/403] 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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls_method.cc
[3/403] 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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls13_both.cc
[3/403] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm