Build Information
Failed to build google-cloud-pubsub, reference 0.0.8 (208604), with Swift 6.1 for Wasm on 4 Mar 2026 00:25:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rosecoder/google-cloud-pubsub-swift.git
Reference: 0.0.8
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/rosecoder/google-cloud-pubsub-swift
* tag 0.0.8 -> FETCH_HEAD
HEAD is now at 208604a fix: prevent Publisher crash during graceful shutdown with shared gRPC client
Submodule path 'googleapis': checked out 'd57f2c114b2d1d3db7fa71a1333d72129f8fd1ae'
Submodule 'googleapis' (https://github.com/googleapis/googleapis.git) registered for path 'googleapis'
Cloning into '/host/spi-builder-workspace/googleapis'...
Cloned https://github.com/rosecoder/google-cloud-pubsub-swift.git
Revision (git rev-parse @):
208604ab7192d66bd7d6a4c7ca473465fe974e2c
SUCCESS checkout https://github.com/rosecoder/google-cloud-pubsub-swift.git at 0.0.8
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rosecoder/google-cloud-pubsub-swift.git
https://github.com/rosecoder/google-cloud-pubsub-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-distributed-tracing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-tracing.git"
},
{
"identity" : "grpc-swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-protobuf.git"
},
{
"identity" : "grpc-swift-nio-transport",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-nio-transport.git"
},
{
"identity" : "google-cloud-auth-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rosecoder/google-cloud-auth-swift.git"
},
{
"identity" : "retryable-task",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rosecoder/retryable-task.git"
},
{
"identity" : "google-cloud-service-context",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rosecoder/google-cloud-service-context.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.54.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
}
],
"manifest_display_name" : "google-cloud-pubsub",
"name" : "google-cloud-pubsub",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "GoogleCloudPubSub",
"targets" : [
"GoogleCloudPubSub"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GoogleCloudPubSubTesting",
"targets" : [
"GoogleCloudPubSubTesting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GoogleCloudPubSubTests",
"module_type" : "SwiftTarget",
"name" : "GoogleCloudPubSubTests",
"path" : "Tests/GoogleCloudPubSubTests",
"product_dependencies" : [
"ServiceLifecycle",
"ServiceLifecycleTestKit"
],
"sources" : [
"GracefulShutdownIntegrationTests.swift",
"Pub/PublisherIntegrationTests.swift",
"Sub/Pull/PullSubscriberIntegrationTests.swift",
"Sub/Pull/WithDisposablePullSubscriberIntegrationTests.swift",
"Sub/Push/PushSubscriberIncomingTests.swift",
"Sub/Push/PushSubscriberIntegrationTests.swift",
"Utils/CallbackHandler.swift",
"Utils/Tags.swift"
],
"target_dependencies" : [
"GoogleCloudPubSub"
],
"type" : "test"
},
{
"c99name" : "GoogleCloudPubSubTestingTests",
"module_type" : "SwiftTarget",
"name" : "GoogleCloudPubSubTestingTests",
"path" : "Tests/GoogleCloudPubSubTestingTests",
"sources" : [
"FakePublisherTests.swift"
],
"target_dependencies" : [
"GoogleCloudPubSubTesting"
],
"type" : "test"
},
{
"c99name" : "GoogleCloudPubSubTesting",
"module_type" : "SwiftTarget",
"name" : "GoogleCloudPubSubTesting",
"path" : "Sources/GoogleCloudPubSubTesting",
"product_memberships" : [
"GoogleCloudPubSubTesting"
],
"sources" : [
"FakePublisher.swift",
"Handler+Fake.swift",
"HandlerContext+Fake.swift"
],
"target_dependencies" : [
"GoogleCloudPubSub"
],
"type" : "library"
},
{
"c99name" : "GoogleCloudPubSub",
"module_type" : "SwiftTarget",
"name" : "GoogleCloudPubSub",
"path" : "Sources/GoogleCloudPubSub",
"product_dependencies" : [
"Logging",
"Tracing",
"GoogleCloudServiceContext",
"GoogleCloudAuth",
"GoogleCloudAuthGRPC",
"RetryableTask",
"NIOHTTP1",
"GRPCProtobuf",
"GRPCNIOTransportHTTP2"
],
"product_memberships" : [
"GoogleCloudPubSub",
"GoogleCloudPubSubTesting"
],
"sources" : [
"Messages/DataMessage.swift",
"Messages/JSONMessage.swift",
"Messages/Message.swift",
"Messages/PlainTextMessage.swift",
"Messages/ProtobufMessage.swift",
"Pub/PublishedMessage.swift",
"Pub/Publisher.swift",
"Pub/PublisherProtocol.swift",
"PubSubService.swift",
"Sub/Handler.swift",
"Sub/HandlerContext.swift",
"Sub/Pull/IncomingPullMessage.swift",
"Sub/Pull/PullSubscriber.swift",
"Sub/Pull/WithDisposablePullSubscriber.swift",
"Sub/Push/PushSubscriber.HTTPHandler.swift",
"Sub/Push/PushSubscriber.Incoming.swift",
"Sub/Push/PushSubscriber.Response.swift",
"Sub/Push/PushSubscriber.swift",
"Sub/Subscriber.swift",
"Sub/Subscription.swift",
"Topic.swift",
"gRPC_generated/google/pubsub/v1/pubsub.grpc.swift",
"gRPC_generated/google/pubsub/v1/pubsub.pb.swift",
"gRPC_generated/google/pubsub/v1/schema.grpc.swift",
"gRPC_generated/google/pubsub/v1/schema.pb.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/rosecoder/google-cloud-auth-swift.git
Fetching https://github.com/rosecoder/google-cloud-service-context.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/rosecoder/retryable-task.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/158] Fetching retryable-task
[159/209] Fetching retryable-task, google-cloud-service-context
[185/435] Fetching retryable-task, google-cloud-service-context, google-cloud-auth-swift
[436/3085] Fetching retryable-task, google-cloud-service-context, google-cloud-auth-swift, swift-service-lifecycle
[2106/8204] Fetching retryable-task, google-cloud-service-context, google-cloud-auth-swift, swift-service-lifecycle, grpc-swift-nio-transport
Fetched https://github.com/rosecoder/google-cloud-service-context.git from cache (0.84s)
Fetched https://github.com/rosecoder/retryable-task.git from cache (0.83s)
[5897/7995] Fetching google-cloud-auth-swift, swift-service-lifecycle, grpc-swift-nio-transport
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/rosecoder/google-cloud-auth-swift.git from cache (0.91s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.91s)
Fetching https://github.com/apple/swift-log.git
[1/2440] Fetching grpc-swift-protobuf
[245/85072] Fetching grpc-swift-protobuf, swift-nio
[808/90737] Fetching grpc-swift-protobuf, swift-nio, swift-distributed-tracing
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (1.19s)
[6441/96849] Fetching grpc-swift-protobuf, swift-nio, swift-distributed-tracing, swift-log
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.45s)
[10143/94409] Fetching swift-nio, swift-distributed-tracing, swift-log
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.68s)
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
[6611/82632] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.17s)
Computing version for https://github.com/rosecoder/google-cloud-service-context.git
Computed https://github.com/rosecoder/google-cloud-service-context.git at 0.0.2 (8.76s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/swift-server/async-http-client.git
[1/1203] Fetching swift-service-context
[1204/16622] Fetching swift-service-context, async-http-client
Fetched https://github.com/apple/swift-service-context.git from cache (9.78s)
Fetched https://github.com/swift-server/async-http-client.git from cache (9.79s)
Computing version for https://github.com/rosecoder/retryable-task.git
Computed https://github.com/rosecoder/retryable-task.git at 1.1.2 (10.44s)
Computing version for https://github.com/rosecoder/google-cloud-auth-swift.git
Computed https://github.com/rosecoder/google-cloud-auth-swift.git at 1.3.0 (1.40s)
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/grpc/grpc-swift-2.git
[1/29992] Fetching grpc-swift-2
[8699/39525] Fetching grpc-swift-2, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.92s)
Fetched https://github.com/grpc/grpc-swift-2.git from cache (1.94s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.2.1 (2.64s)
Fetching https://github.com/apple/swift-collections.git
[1/20397] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.72s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.2.0 (2.41s)
Fetching https://github.com/apple/swift-protobuf.git
[1/42821] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.37s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (9.01s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.3.0 (0.78s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
[1/7122] Fetching swift-certificates
[5343/24367] Fetching swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (3.26s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.33s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (9.37s)
Fetching https://github.com/apple/swift-asn1.git
[1/1766] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.58s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (1.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.37s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.06s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.4.3 (1.09s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2821] Fetching swift-nio-transport-services
[171/9312] Fetching swift-nio-transport-services, swift-nio-extras
[5391/21312] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[8106/36662] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.78s)
[10396/33841] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.07s)
[5557/27350] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.62s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.64s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (8.90s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.40.0 (0.80s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.04s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.0 (0.69s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (0.83s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1216] Fetching swift-http-structured-headers
[439/2167] Fetching swift-http-structured-headers, swift-http-types
[1998/8225] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms
[2120/14371] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
[10092/13420] Fetching swift-http-structured-headers, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.39s)
[9595/12204] Fetching swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.63s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.63s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.64s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (2.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (4.97s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.40s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (2.04s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.2 (0.68s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.82s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.81s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.71s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.82s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.35.1 (0.88s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.32.0 (0.91s)
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.5.1
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.3.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.40.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.4
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.32.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.32.0
Creating working copy for https://github.com/rosecoder/google-cloud-service-context.git
Working copy of https://github.com/rosecoder/google-cloud-service-context.git resolved at 0.0.2
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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.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.95.0
Creating working copy for https://github.com/rosecoder/google-cloud-auth-swift.git
Working copy of https://github.com/rosecoder/google-cloud-auth-swift.git resolved at 1.3.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.1.2
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/rosecoder/retryable-task.git
Working copy of https://github.com/rosecoder/retryable-task.git resolved at 1.1.2
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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.2.0
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.4.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.10.1
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.6.0
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.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.35.1
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/850] Write sources
[43/850] Compiling _CWASI _CWASI.c
[43/850] Compiling CNIOWindows shim.c
[45/850] Write sources
[47/850] Compiling CNIOWindows WSAStartup.c
[48/850] Copying PrivacyInfo.xcprivacy
[49/850] Write sources
[57/850] Compiling CNIOWASI CNIOWASI.c
[58/850] Compiling _NumericsShims _NumericsShims.c
[59/850] Compiling CNIOLinux shim.c
[60/850] Compiling CNIOOpenBSD shim.c
[61/850] Compiling CNIOLinux liburing_shims.c
[62/850] Compiling _AtomicsShims.c
[63/850] Compiling SimpleFIPS202.c
[64/850] Compiling KeccakSponge.c
[65/850] Compiling CXKCPShims shims.c
[66/850] Compiling KeccakHash.c
[67/850] Compiling CNIOPosix event_loop_id.c
[68/850] Compiling CNIOExtrasZlib empty.c
[69/850] Compiling CNIODarwin shim.c
[70/850] Compiling CNIOLLHTTP c_nio_http.c
[71/850] Compiling fiat_p256_adx_sqr.S
[72/850] Compiling fiat_p256_adx_mul.S
[73/850] Compiling fiat_curve25519_adx_square.S
[74/850] Compiling CNIOLLHTTP c_nio_api.c
[75/850] Compiling fiat_curve25519_adx_mul.S
[76/850] Write swift-version-24593BA9C3E375BF.txt
[77/850] Compiling CNIOBoringSSLShims shims.c
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.
[78/854] Compiling tls13_client.cc
[78/854] Compiling tls_record.cc
[78/854] Compiling KeccakP-1600-opt64.c
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>
| ^~~~~~~~~~~
[78/854] Compiling tls13_server.cc
[78/854] Compiling CNIOLLHTTP c_nio_llhttp.c
[78/854] Compiling tls_method.cc
[78/854] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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 generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/776] Compiling CGRPCNIOTransportZlib empty.c
[4/776] Compiling fiat_curve25519_adx_square.S
[5/776] Compiling fiat_p256_adx_sqr.S
[6/776] Compiling fiat_p256_adx_mul.S
[7/776] Compiling fiat_curve25519_adx_mul.S
[8/776] Compiling md5-x86_64-linux.S
[9/776] Write swift-version-24593BA9C3E375BF.txt
[10/776] Compiling CCryptoBoringSSLShims 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/780] Compiling tls_record.cc
[11/780] Compiling tls13_server.cc
[11/780] Compiling CNIOLLHTTP c_nio_llhttp.c
[11/780] Compiling tls13_client.cc
[11/780] Compiling tls13_enc.cc
[11/780] Compiling KeccakP-1600-opt64.c
[11/780] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm