Build Information
Failed to build GRPCClient, reference master (d088e3
), with Swift 6.1 for Wasm on 27 May 2025 13:33:26 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/cats-oss/grpc-swift-client.git
Reference: master
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/cats-oss/grpc-swift-client
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d088e33 Update podspec
Cloned https://github.com/cats-oss/grpc-swift-client.git
Revision (git rev-parse @):
d088e331916a054898503ad48cc25bcf68b7aa4c
SUCCESS checkout https://github.com/cats-oss/grpc-swift-client.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/cats-oss/grpc-swift-client.git
https://github.com/cats-oss/grpc-swift-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.0",
"upper_bound" : "1.11.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "grpc-swift",
"requirement" : {
"exact" : [
"1.0.0-alpha.19"
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift.git"
}
],
"manifest_display_name" : "GRPCClient",
"name" : "GRPCClient",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "GRPCClient",
"targets" : [
"GRPCClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "protoc-gen-grpc-client-swift",
"targets" : [
"protoc-gen-grpc-client-swift"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "protoc_gen_grpc_client_swift",
"module_type" : "SwiftTarget",
"name" : "protoc-gen-grpc-client-swift",
"path" : "Sources/protoc-gen-grpc-client-swift",
"product_dependencies" : [
"SwiftProtobufPluginLibrary"
],
"product_memberships" : [
"protoc-gen-grpc-client-swift"
],
"sources" : [
"CodePrinter+Extensions.swift",
"CommandLine+Extensions.swift",
"FileGenerator.swift",
"FileIo.swift",
"GenerationError.swift",
"GeneratorOptions.swift",
"MethodGenerator.swift",
"ServiceGenerator.swift",
"StringUtils.swift",
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "GRPCClient",
"module_type" : "SwiftTarget",
"name" : "GRPCClient",
"path" : "Sources/GRPCClient",
"product_dependencies" : [
"GRPC"
],
"product_memberships" : [
"GRPCClient"
],
"sources" : [
"Call/CancellableCall.swift",
"Call/ReceivableCall.swift",
"Call/SendableCall.swift",
"CallMethod.swift",
"Dependency.swift",
"NetworkMonitor.swift",
"Request.swift",
"Session.swift",
"SessionErrorDelegate.swift",
"Stream/BidirectionalStream.swift",
"Stream/ClientStream.swift",
"Stream/ServerStream.swift",
"Stream/Stream.swift",
"Stream/Unary.swift",
"Streaming/CancellableStreaming.swift",
"Streaming/ReceivableStreaming.swift",
"Streaming/SendableStreaming.swift",
"Streaming/Streaming.swift",
"StreamingError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/51057] Fetching grpc-swift
[16850/90011] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (3.04s)
[38954/38954] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.68s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.10.2 (11.45s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.0.0-alpha.19 (0.65s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2667] Fetching swift-nio-transport-services
[828/6503] Fetching swift-nio-transport-services, swift-log
[3509/18030] Fetching swift-nio-transport-services, swift-log, swift-nio-http2
[9040/94072] Fetching swift-nio-transport-services, swift-log, swift-nio-http2, swift-nio
[9801/108915] Fetching swift-nio-transport-services, swift-log, swift-nio-http2, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.06s)
[14757/106248] Fetching swift-log, swift-nio-http2, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.63s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.64s)
[58587/79878] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (6.08s)
Fetched https://github.com/apple/swift-nio.git from cache (6.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (7.85s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.55s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.53s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[1275/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.29s)
Fetched https://github.com/apple/swift-collections.git from cache (1.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.98s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.79s)
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.59s)
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.61s)
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-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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.10.2
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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.0.0-alpha.19
Building for debugging...
[0/442] Write sources
[22/442] Compiling CNIOLLHTTP c_nio_http.c
[23/442] Write sources
[24/442] Compiling CGRPCZlib empty.c
[25/442] Compiling CNIOWindows WSAStartup.c
[26/442] Compiling _AtomicsShims.c
[27/442] Compiling CNIOWindows shim.c
[28/442] Compiling CNIOWASI CNIOWASI.c
[29/442] Compiling CNIOLinux shim.c
[30/442] Compiling CNIOLinux liburing_shims.c
[31/442] Compiling CNIODarwin shim.c
[31/442] Compiling CNIOLLHTTP c_nio_api.c
[33/442] Compiling fiat_p256_adx_mul.S
[34/442] Compiling fiat_p256_adx_sqr.S
[35/442] Compiling fiat_curve25519_adx_square.S
[36/442] Compiling fiat_curve25519_adx_mul.S
[37/442] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[38/442] Compiling a_bitstr.cc
[38/442] Compiling tls_record.cc
[38/442] Compiling tls13_server.cc
[38/442] Compiling a_bool.cc
[38/442] Compiling tls13_enc.cc
[38/442] Compiling tls_method.cc
[38/442] Compiling CNIOLLHTTP c_nio_llhttp.c
[38/442] Write swift-version-24593BA9C3E375BF.txt
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/404] Compiling t1_enc.cc
[0/404] Compiling tls13_enc.cc
[0/404] Compiling tls_record.cc
[0/404] Compiling tls13_server.cc
[0/404] Compiling c-nioatomics.c
[0/404] Compiling tls13_both.cc
[0/404] Compiling tls13_client.cc
[0/404] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm