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 SwiftProtoReflect, reference 2.1.1 (62fee0), with Swift 6.1 for Wasm on 27 Sep 2025 02:29:19 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/truewebber/swift-protoreflect.git
Reference: 2.1.1
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/truewebber/swift-protoreflect
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 62fee0e Add new dependencies for HTTP2 and logging - Included swift-nio-http2 and swift-log packages in Package.swift to enhance networking capabilities and logging functionality.
Cloned https://github.com/truewebber/swift-protoreflect.git
Revision (git rev-parse @):
62fee0e1e1d7f91821c410786624aa10d197cb7b
SUCCESS checkout https://github.com/truewebber/swift-protoreflect.git at 2.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/truewebber/swift-protoreflect.git
https://github.com/truewebber/swift-protoreflect.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.29.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "grpc-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.23.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.86.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-http2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.38.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-http2.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "SwiftProtoReflect",
  "name" : "SwiftProtoReflect",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftProtoReflect",
      "targets" : [
        "SwiftProtoReflect"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftProtoReflectTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftProtoReflectTests",
      "path" : "Tests/SwiftProtoReflectTests",
      "product_dependencies" : [
        "SwiftProtobuf",
        "GRPC",
        "NIOCore",
        "NIOPosix"
      ],
      "sources" : [
        "Bridge/DescriptorBridgeTests.swift",
        "Bridge/StaticMessageBridgeTests.swift",
        "Compatibility/CPPCompatibilityTests.swift",
        "Compatibility/CrossPlatformTests.swift",
        "Compatibility/GoogleConformanceTests.swift",
        "Descriptor/EnumDescriptorTests.swift",
        "Descriptor/FieldDescriptorTests.swift",
        "Descriptor/FileDescriptorTests.swift",
        "Descriptor/MessageDescriptorTests.swift",
        "Descriptor/ServiceDescriptorTests.swift",
        "Dynamic/DynamicFieldAccessTests.swift",
        "Dynamic/DynamicMessageCreationTests.swift",
        "Dynamic/DynamicMessageEquatableTests.swift",
        "Dynamic/DynamicMessageExtendedTests.swift",
        "Dynamic/DynamicMessageTests.swift",
        "Dynamic/FieldAccessorTests.swift",
        "Dynamic/MessageFactoryTests.swift",
        "Error/ErrorHandlingTests.swift",
        "Integration/AnyHandlerTests.swift",
        "Integration/DurationHandlerTests.swift",
        "Integration/EmptyHandlerTests.swift",
        "Integration/FieldMaskHandlerTests.swift",
        "Integration/StructHandlerTests.swift",
        "Integration/TimestampHandlerTests.swift",
        "Integration/ValueHandlerTests.swift",
        "Integration/WellKnownTypesTests.swift",
        "Performance/DynamicMessageBenchmarks.swift",
        "Performance/RegistryBenchmarks.swift",
        "Performance/SerializationBenchmarks.swift",
        "Registry/DescriptorPoolTests.swift",
        "Registry/TypeRegistryTests.swift",
        "Serialization/BinaryDeserializationTests.swift",
        "Serialization/BinarySerializationTests.swift",
        "Serialization/BinarySerializerTypeMismatchTests.swift",
        "Serialization/JSONDeserializationTests.swift",
        "Serialization/JSONSerializationTests.swift",
        "Serialization/JSONSerializerTypeMismatchTests.swift",
        "Serialization/WireFormatTests.swift",
        "Service/GRPCIntegrationTests.swift",
        "Service/ServiceClientTests.swift",
        "Spec/Proto3SpecTests.swift",
        "Spec/SchemaEvolutionTests.swift",
        "Spec/ValidationTests.swift",
        "SwiftProtoReflectTests.swift"
      ],
      "target_dependencies" : [
        "SwiftProtoReflect"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftProtoReflect",
      "module_type" : "SwiftTarget",
      "name" : "SwiftProtoReflect",
      "path" : "Sources/SwiftProtoReflect",
      "product_dependencies" : [
        "SwiftProtobuf",
        "GRPC",
        "NIOCore",
        "NIOFoundationCompat",
        "NIOHTTP2",
        "Logging"
      ],
      "product_memberships" : [
        "SwiftProtoReflect"
      ],
      "sources" : [
        "Bridge/DescriptorBridge.swift",
        "Bridge/StaticMessageBridge.swift",
        "Descriptor/EnumDescriptor.swift",
        "Descriptor/FieldDescriptor.swift",
        "Descriptor/FileDescriptor.swift",
        "Descriptor/MessageDescriptor.swift",
        "Descriptor/ServiceDescriptor.swift",
        "Dynamic/DynamicMessage.swift",
        "Dynamic/FieldAccessor.swift",
        "Dynamic/MessageFactory.swift",
        "Integration/AnyHandler.swift",
        "Integration/DurationHandler.swift",
        "Integration/EmptyHandler.swift",
        "Integration/FieldMaskHandler.swift",
        "Integration/StructHandler.swift",
        "Integration/TimestampHandler.swift",
        "Integration/ValueHandler.swift",
        "Integration/WellKnownTypes.swift",
        "Registry/DescriptorPool.swift",
        "Registry/TypeRegistry.swift",
        "Serialization/BinaryDeserializer.swift",
        "Serialization/BinarySerializer.swift",
        "Serialization/JSONDeserializer.swift",
        "Serialization/JSONSerializer.swift",
        "Serialization/WireFormat.swift",
        "Service/ServiceClient.swift",
        "SwiftProtoReflect.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-log.git
[1/3910] Fetching swift-log
[1135/15593] Fetching swift-log, swift-nio-http2
[1839/66896] Fetching swift-log, swift-nio-http2, grpc-swift
[9048/145470] Fetching swift-log, swift-nio-http2, grpc-swift, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
[5651/141560] Fetching swift-nio-http2, grpc-swift, swift-nio
[23617/181748] Fetching swift-nio-http2, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.32s)
[133633/170065] Fetching grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (5.39s)
[83134/118762] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (15.69s)
Fetched https://github.com/apple/swift-nio.git from cache (15.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (16.83s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.01s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (2.27s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5009] Fetching swift-system
[1254/22671] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.86s)
[2826/17662] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.49s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.1 (1.04s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (4.21s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2771] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.60s)
[1/15120] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.54s)
[1/6170] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.73s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (5.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.16s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.24s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
[1/1645] Fetching swift-asn1
[709/2835] Fetching swift-asn1, swift-http-structured-headers
[776/5340] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle
[1720/11326] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms
[3041/16781] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
[3269/23373] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (1.19s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.20s)
[14160/15742] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.79s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.84s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.85s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.84s)
[10/931] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.83s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (3.02s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.27s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.05s)
Fetching https://github.com/apple/swift-numerics.git
[1/6369] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.78s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.98s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.93s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.87s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (1.17s)
Fetching https://github.com/apple/swift-crypto.git
[1/17156] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (4.22s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (0.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.05s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.95s)
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
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
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.2
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.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.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.14.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.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.34.1
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-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-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.4
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/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 (2.72s)
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/440] Write sources
[3/440] Copying PrivacyInfo.xcprivacy
[3/440] Write sources
[24/440] Compiling CNIOWindows shim.c
[25/440] Compiling CNIOWASI CNIOWASI.c
[26/440] Compiling CNIOPosix event_loop_id.c
[27/440] Compiling CNIOLinux shim.c
[28/440] Compiling _AtomicsShims.c
[29/440] Compiling CNIOWindows WSAStartup.c
[30/440] Compiling CNIOLinux liburing_shims.c
[31/440] Compiling CNIODarwin shim.c
[32/440] Compiling CNIOLLHTTP c_nio_http.c
[33/440] Compiling fiat_p256_adx_mul.S
[34/440] Compiling fiat_curve25519_adx_square.S
[34/440] Compiling fiat_p256_adx_sqr.S
[36/440] Compiling CNIOLLHTTP c_nio_api.c
[37/440] Compiling fiat_curve25519_adx_mul.S
[38/440] Write swift-version-24593BA9C3E375BF.txt
[39/440] Compiling CNIOBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
1 error generated.
[40/440] Compiling tls13_enc.cc
[40/440] Compiling tls_method.cc
[40/440] Compiling tls13_server.cc
[40/440] Compiling tls13_both.cc
[40/440] Compiling tls13_client.cc
[40/440] Compiling tls_record.cc
[40/440] Compiling CNIOLLHTTP c_nio_llhttp.c
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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] 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.
[2/403] 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>
      |          ^~~~~~~~~~~
[2/403] Compiling tls13_client.cc
[2/403] Compiling ssl_x509.cc
[2/403] Compiling tls13_enc.cc
[2/403] Compiling t1_enc.cc
[2/403] 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>
      |          ^~~~~~~~~~~
[2/403] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[2/403] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm