Build Information
Failed to build Connect, reference main (db631a
), with Swift 6.1 for Wasm on 20 Jun 2025 05:51:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/connectrpc/connect-swift.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/connectrpc/connect-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at db631a8 Fixed memory leak caused by retain cycle in channel handlers (#354)
Cloned https://github.com/connectrpc/connect-swift.git
Revision (git rev-parse @):
db631a89c7612a39dd24bd296b7b1d02d5978101
SUCCESS checkout https://github.com/connectrpc/connect-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/connectrpc/connect-swift.git
https://github.com/connectrpc/connect-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.81.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.35.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-http2.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.29.3",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.30.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
}
],
"manifest_display_name" : "Connect",
"name" : "Connect",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Connect",
"targets" : [
"Connect"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ConnectMocks",
"targets" : [
"ConnectMocks"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ConnectNIO",
"targets" : [
"ConnectNIO"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "protoc-gen-connect-swift",
"targets" : [
"ConnectSwiftPlugin"
],
"type" : {
"executable" : null
}
},
{
"name" : "protoc-gen-connect-swift-mocks",
"targets" : [
"ConnectMocksPlugin"
],
"type" : {
"executable" : null
}
},
{
"name" : "ConnectConformanceClient",
"targets" : [
"ConnectConformanceClient"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6",
"5"
],
"targets" : [
{
"c99name" : "ConnectSwiftPlugin",
"module_type" : "SwiftTarget",
"name" : "ConnectSwiftPlugin",
"path" : "Plugins/ConnectSwiftPlugin",
"product_dependencies" : [
"SwiftProtobufPluginLibrary"
],
"product_memberships" : [
"protoc-gen-connect-swift"
],
"sources" : [
"ConnectClientGenerator.swift"
],
"target_dependencies" : [
"ConnectPluginUtilities"
],
"type" : "executable"
},
{
"c99name" : "ConnectPluginUtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "ConnectPluginUtilitiesTests",
"path" : "Tests/UnitTests/ConnectPluginUtilitiesTests",
"sources" : [
"FilePathComponentsTests.swift"
],
"target_dependencies" : [
"ConnectPluginUtilities"
],
"type" : "test"
},
{
"c99name" : "ConnectPluginUtilities",
"module_type" : "SwiftTarget",
"name" : "ConnectPluginUtilities",
"path" : "Plugins/ConnectPluginUtilities",
"product_dependencies" : [
"SwiftProtobuf",
"SwiftProtobufPluginLibrary"
],
"product_memberships" : [
"protoc-gen-connect-swift",
"protoc-gen-connect-swift-mocks"
],
"sources" : [
"FilePathComponents.swift",
"Generator.swift",
"GeneratorOptions.swift",
"MethodDescriptor+Extensions.swift",
"ServiceDescriptor+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "ConnectNIO",
"module_type" : "SwiftTarget",
"name" : "ConnectNIO",
"path" : "Libraries/ConnectNIO",
"product_dependencies" : [
"NIOConcurrencyHelpers",
"NIOCore",
"NIOFoundationCompat",
"NIOHTTP1",
"NIOHTTP2",
"NIOPosix",
"NIOSSL"
],
"product_memberships" : [
"ConnectNIO",
"ConnectConformanceClient"
],
"sources" : [
"Internal/ConnectStreamChannelHandler.swift",
"Internal/ConnectUnaryChannelHandler.swift",
"Internal/Extensions/ConnectError+Extensions.swift",
"Internal/Extensions/HTTPRequestHead+Extensions.swift",
"Internal/Extensions/Headers+Extensions.swift",
"Internal/GRPCInterceptor.swift",
"Public/NIOHTTPClient.swift",
"Public/NetworkProtocol+Extensions.swift"
],
"target_dependencies" : [
"Connect"
],
"type" : "library"
},
{
"c99name" : "ConnectMocksPlugin",
"module_type" : "SwiftTarget",
"name" : "ConnectMocksPlugin",
"path" : "Plugins/ConnectMocksPlugin",
"product_dependencies" : [
"SwiftProtobufPluginLibrary"
],
"product_memberships" : [
"protoc-gen-connect-swift-mocks"
],
"sources" : [
"ConnectMockGenerator.swift"
],
"target_dependencies" : [
"ConnectPluginUtilities"
],
"type" : "executable"
},
{
"c99name" : "ConnectMocks",
"module_type" : "SwiftTarget",
"name" : "ConnectMocks",
"path" : "Libraries/ConnectMocks",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"ConnectMocks"
],
"sources" : [
"MockBidirectionalAsyncStream.swift",
"MockBidirectionalStream.swift",
"MockClientOnlyAsyncStream.swift",
"MockClientOnlyStream.swift",
"MockServerOnlyAsyncStream.swift",
"MockServerOnlyStream.swift"
],
"target_dependencies" : [
"Connect"
],
"type" : "library"
},
{
"c99name" : "ConnectLibraryTests",
"module_type" : "SwiftTarget",
"name" : "ConnectLibraryTests",
"path" : "Tests/UnitTests/ConnectLibraryTests",
"product_dependencies" : [
"SwiftProtobuf"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/UnitTests/ConnectLibraryTests/TestResources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ConnectMocksTests/ConnectMocksTests.swift",
"ConnectTests/ConnectEndStreamResponseTests.swift",
"ConnectTests/ConnectErrorTests.swift",
"ConnectTests/EnvelopeTests.swift",
"ConnectTests/GzipCompressionPoolTests.swift",
"ConnectTests/InterceptorChainIterationTests.swift",
"ConnectTests/InterceptorFactoryTests.swift",
"ConnectTests/InterceptorIntegrationTests.swift",
"ConnectTests/JSONCodecTests.swift",
"ConnectTests/ProtoCodecTests.swift",
"ConnectTests/ProtocolClientConfigTests.swift",
"ConnectTests/ServiceMetadataTests.swift",
"GeneratedSources/connectrpc/conformance/v1/client_compat.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/config.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/server_compat.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/service.connect.swift",
"GeneratedSources/connectrpc/conformance/v1/service.mock.swift",
"GeneratedSources/connectrpc/conformance/v1/service.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/suite.pb.swift"
],
"target_dependencies" : [
"Connect",
"ConnectMocks"
],
"type" : "test"
},
{
"c99name" : "ConnectConformanceClient",
"module_type" : "SwiftTarget",
"name" : "ConnectConformanceClient",
"path" : "Tests/ConformanceClient",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"ConnectConformanceClient"
],
"sources" : [
"GeneratedSources/connectrpc/conformance/v1/client_compat.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/config.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/server_compat.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/service.connect.swift",
"GeneratedSources/connectrpc/conformance/v1/service.pb.swift",
"GeneratedSources/connectrpc/conformance/v1/suite.pb.swift",
"Sources/CommandLineArgument.swift",
"Sources/ConformanceInvoker.swift",
"Sources/main.swift"
],
"target_dependencies" : [
"Connect",
"ConnectNIO"
],
"type" : "executable"
},
{
"c99name" : "Connect",
"module_type" : "SwiftTarget",
"name" : "Connect",
"path" : "Libraries/Connect",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"Connect",
"ConnectMocks",
"ConnectNIO",
"ConnectConformanceClient"
],
"sources" : [
"Internal/GeneratedSources/proto/grpc/status/v1/status.pb.swift",
"Internal/Interceptors/ConnectInterceptor.swift",
"Internal/Interceptors/GRPCWebInterceptor.swift",
"Internal/Interceptors/InterceptorChain.swift",
"Internal/Streaming/BidirectionalAsyncStream.swift",
"Internal/Streaming/BidirectionalStream.swift",
"Internal/Streaming/ClientOnlyAsyncStream.swift",
"Internal/Streaming/ClientOnlyStream.swift",
"Internal/Streaming/ClientOnlyStreamValidation.swift",
"Internal/Streaming/ConnectEndStreamResponse.swift",
"Internal/Streaming/ServerOnlyAsyncStream.swift",
"Internal/Streaming/ServerOnlyStream.swift",
"Internal/Streaming/URLSessionStream.swift",
"Internal/Unary/UnaryAsyncWrapper.swift",
"Internal/Utilities/Lock.swift",
"Internal/Utilities/Locked.swift",
"Internal/Utilities/TimeoutTimer.swift",
"PackageInternal/ConnectError+GRPC.swift",
"PackageInternal/Envelope.swift",
"PackageInternal/Headers+GRPC.swift",
"PackageInternal/Trailers+gRPC.swift",
"Public/Implementation/Clients/ProtocolClient.swift",
"Public/Implementation/Clients/URLSessionHTTPClient.swift",
"Public/Implementation/Codecs/JSONCodec.swift",
"Public/Implementation/Codecs/ProtoCodec.swift",
"Public/Implementation/Compression/GzipCompressionPool.swift",
"Public/Interfaces/Cancelable.swift",
"Public/Interfaces/Code.swift",
"Public/Interfaces/Codec.swift",
"Public/Interfaces/CompressionPool.swift",
"Public/Interfaces/ConnectError.swift",
"Public/Interfaces/HTTPClientInterface.swift",
"Public/Interfaces/HTTPMethod.swift",
"Public/Interfaces/HTTPMetrics.swift",
"Public/Interfaces/HTTPRequest.swift",
"Public/Interfaces/HTTPResponse.swift",
"Public/Interfaces/HeaderConstants.swift",
"Public/Interfaces/Headers.swift",
"Public/Interfaces/IdempotencyLevel.swift",
"Public/Interfaces/Interceptors/Interceptor.swift",
"Public/Interfaces/Interceptors/InterceptorFactory.swift",
"Public/Interfaces/Interceptors/StreamInterceptor.swift",
"Public/Interfaces/Interceptors/UnaryInterceptor.swift",
"Public/Interfaces/MethodSpec.swift",
"Public/Interfaces/NetworkProtocol.swift",
"Public/Interfaces/ProtobufMessage.swift",
"Public/Interfaces/ProtocolClientConfig.swift",
"Public/Interfaces/ProtocolClientInterface.swift",
"Public/Interfaces/ResponseMessage.swift",
"Public/Interfaces/Streaming/AsyncAwait/BidirectionalAsyncStreamInterface.swift",
"Public/Interfaces/Streaming/AsyncAwait/ClientOnlyAsyncStreamInterface.swift",
"Public/Interfaces/Streaming/AsyncAwait/ServerOnlyAsyncStreamInterface.swift",
"Public/Interfaces/Streaming/Callbacks/BidirectionalStreamInterface.swift",
"Public/Interfaces/Streaming/Callbacks/ClientOnlyStreamInterface.swift",
"Public/Interfaces/Streaming/Callbacks/RequestCallbacks.swift",
"Public/Interfaces/Streaming/Callbacks/ResponseCallbacks.swift",
"Public/Interfaces/Streaming/Callbacks/ServerOnlyStreamInterface.swift",
"Public/Interfaces/Streaming/StreamResult.swift",
"Public/Interfaces/Trailers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio-ssl.git
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
[1/11532] Fetching swift-nio-http2
[1731/87859] Fetching swift-nio-http2, swift-nio
[2424/102749] Fetching swift-nio-http2, swift-nio, swift-nio-ssl
[21363/142204] Fetching swift-nio-http2, swift-nio, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.21s)
[57443/130672] Fetching swift-nio, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (17.96s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (19.24s)
Fetched https://github.com/apple/swift-protobuf.git from cache (19.33s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (20.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.07s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.37s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[135/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.79s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (1.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.23s)
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.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.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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.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 SwiftProtobufPlugin
Building for debugging...
[1/471] Write sources
[11/471] Compiling _AtomicsShims.c
[12/471] Copying PrivacyInfo.xcprivacy
[14/471] Write sources
[28/471] Compiling CNIOWindows shim.c
[29/471] Compiling CNIOWindows WSAStartup.c
[30/471] Compiling CNIOWASI CNIOWASI.c
[31/471] Compiling CNIOLinux shim.c
[32/471] Compiling CNIOLinux liburing_shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/rsa_pss.cc:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/t_x509a.cc:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[33/471] Compiling rsa_pss.cc
[33/471] Compiling t_x509a.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/t_x509.cc:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[33/471] Write swift-version-24593BA9C3E375BF.txt
[33/471] Compiling t_x509.cc
[33/471] Compiling t_crl.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/v3_akey.cc:22:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[33/471] Compiling v3_akey.cc
[33/471] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/t_req.cc:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[33/471] Compiling t_req.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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 SwiftProtobufPlugin
Building for debugging...
[1/439] Write sources
[2/439] Compiling CNIODarwin shim.c
[3/439] Compiling CNIOLLHTTP c_nio_http.c
[4/439] Compiling fiat_p256_adx_mul.S
[5/439] Compiling fiat_curve25519_adx_square.S
[6/439] Compiling fiat_curve25519_adx_mul.S
[7/439] Compiling fiat_p256_adx_sqr.S
[8/439] Compiling CNIOLLHTTP c_nio_api.c
[9/439] Write swift-version-24593BA9C3E375BF.txt
[10/439] 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.
[11/443] Compiling tls_record.cc
[11/443] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[11/443] 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>
| ^~~~~~~~~~~
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>
| ^~~~~~~~~~~
[11/443] Compiling tls13_enc.cc
[11/443] 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>
| ^~~~~~~~~~~
[11/443] Compiling tls13_server.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>
| ^~~~~~~~~~~
[11/443] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm