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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 0.5.5
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.5.5      -> FETCH_HEAD
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 0.5.5
========================================
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-1":/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/connectrpc/connect-swift
Fetching https://github.com/groue/Semaphore.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
[1/293] Fetching semaphore
[294/4129] Fetching semaphore, swift-log
[525/6178] Fetching semaphore, swift-log, swift-docc-plugin
[2630/14698] Fetching semaphore, swift-log, swift-docc-plugin, connect-swift
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Fetched https://github.com/groue/Semaphore.git from cache (0.59s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.60s)
Fetched https://github.com/connectrpc/connect-swift from cache (0.60s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.29s)
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.50s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.0.8 (1.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.56s)
Computing version for https://github.com/connectrpc/connect-swift
Computed https://github.com/connectrpc/connect-swift at 1.0.3 (0.58s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/11527] Fetching swift-nio-http2
[2537/26370] Fetching swift-nio-http2, swift-nio-ssl
[4022/102517] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
[35593/141839] Fetching swift-nio-http2, swift-nio-ssl, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio-http2.git from cache (6.95s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.97s)
Fetched https://github.com/apple/swift-nio.git from cache (7.08s)
Fetched https://github.com/apple/swift-protobuf.git from cache (8.01s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (8.66s)
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.57s)
Fetching https://github.com/apple/swift-atomics.git
[1/1717] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.95s)
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.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.93s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[4392/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.14s)
Fetched https://github.com/apple/swift-collections.git from cache (1.16s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.73s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.68s)
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-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-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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-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/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-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-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
[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
[4/440] Copying PrivacyInfo.xcprivacy
[4/440] Write sources
[26/440] Compiling CNIODarwin shim.c
[27/440] Compiling CNIOWindows WSAStartup.c
[27/440] Compiling CNIOWindows shim.c
[29/440] Compiling CNIOWASI CNIOWASI.c
[30/440] Compiling _AtomicsShims.c
[31/440] Compiling CNIOLinux shim.c
[32/440] Compiling CNIOLinux liburing_shims.c
[33/440] Compiling CNIOLLHTTP c_nio_http.c
[34/440] Compiling fiat_p256_adx_sqr.S
[35/440] Compiling fiat_p256_adx_mul.S
[36/440] Compiling CNIOLLHTTP c_nio_api.c
[37/440] Compiling fiat_curve25519_adx_square.S
[38/440] Compiling fiat_curve25519_adx_mul.S
[39/440] Write swift-version-24593BA9C3E375BF.txt
[40/440] Compiling CNIOBoringSSLShims shims.c
[42/444] Emitting module _NIODataStructures
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.
[42/444] Compiling tls_method.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>
      |          ^~~~~~~~~~~
1 error generated.
[42/444] Compiling tls_record.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/444] Compiling tls13_server.cc
[42/444] Compiling c-atomics.c
[42/444] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/444] Compiling c-nioatomics.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>
      |          ^~~~~~~~~~~
[42/444] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/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.
[3/403] Compiling tls_method.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>
      |          ^~~~~~~~~~~
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/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>
      |          ^~~~~~~~~~~
1 error generated.
[3/403] Compiling t1_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>
      |          ^~~~~~~~~~~
[3/403] 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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls13_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>
      |          ^~~~~~~~~~~
[3/403] 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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/ssl_x509.cc:23:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[3/403] Compiling ssl_x509.cc
BUILD FAILURE 6.1 wasm