The Swift Package Index logo.Swift Package Index

Build Information

Failed to build google-cloud-pubsub, reference main (208604), with Swift 6.1 for Wasm on 4 Mar 2026 00:36:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/rosecoder/google-cloud-pubsub-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/rosecoder/google-cloud-pubsub-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-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 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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/rosecoder/retryable-task.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/rosecoder/google-cloud-service-context.git
Fetching https://github.com/rosecoder/google-cloud-auth-swift.git
[1/226] Fetching google-cloud-auth-swift
[227/277] Fetching google-cloud-auth-swift, google-cloud-service-context
[278/5396] Fetching google-cloud-auth-swift, google-cloud-service-context, grpc-swift-nio-transport
[534/8046] Fetching google-cloud-auth-swift, google-cloud-service-context, grpc-swift-nio-transport, swift-service-lifecycle
[8047/8204] Fetching google-cloud-auth-swift, google-cloud-service-context, grpc-swift-nio-transport, swift-service-lifecycle, retryable-task
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (0.90s)
Fetching https://github.com/grpc/grpc-swift-protobuf.git
[1/82632] Fetching swift-nio
[3307/85072] Fetching swift-nio, grpc-swift-protobuf
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.51s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[5785/82632] Fetching swift-nio
[17354/88297] Fetching swift-nio, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.82s)
Fetching https://github.com/apple/swift-log.git
[35532/82632] Fetching swift-nio
[35533/88744] Fetching swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.87s)
[36359/82632] Fetching swift-nio
Fetched https://github.com/rosecoder/google-cloud-auth-swift.git from cache (10.94s)
Fetched https://github.com/rosecoder/retryable-task.git from cache (10.95s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (10.95s)
Fetched https://github.com/rosecoder/google-cloud-service-context.git from cache (10.95s)
Fetched https://github.com/apple/swift-nio.git from cache (11.16s)
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 (12.17s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-service-context.git
[1/1203] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.42s)
[1/15419] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.59s)
Computing version for https://github.com/rosecoder/retryable-task.git
Computed https://github.com/rosecoder/retryable-task.git at 1.1.2 (2.65s)
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 (0.93s)
Fetching https://github.com/grpc/grpc-swift-2.git
Fetching https://github.com/vapor/jwt-kit.git
[1/29992] Fetching grpc-swift-2
[7200/39525] Fetching grpc-swift-2, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.94s)
Fetched https://github.com/grpc/grpc-swift-2.git from cache (2.78s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.2.1 (3.88s)
Fetching https://github.com/apple/swift-collections.git
[1/20397] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.94s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.2.0 (3.08s)
Fetching https://github.com/apple/swift-protobuf.git
[1/42821] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (10.83s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (11.83s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.3.0 (0.99s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
[1/7122] Fetching swift-certificates
[5272/24367] Fetching swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (0.87s)
[1035/17245] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.39s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (9.95s)
Fetching https://github.com/apple/swift-asn1.git
[1/1766] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (1.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.05s)
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.13s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.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
[650/9312] Fetching swift-nio-transport-services, swift-nio-extras
[4445/21312] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[4760/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.74s)
[9796/33841] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.69s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.77s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.81s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (5.29s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.40.0 (1.04s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.68s)
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.95s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (1.31s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1216] Fetching swift-http-structured-headers
[62/2167] Fetching swift-http-structured-headers, swift-http-types
[2168/8225] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms
[2471/14371] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.49s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.49s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.49s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.50s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.42s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.25s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (3.09s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
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 (1.73s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.2 (1.19s)
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.98s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.97s)
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 (1.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.01s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.18s)
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 (1.07s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.35.1 (1.19s)
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 (1.06s)
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/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/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/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-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-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-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-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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.35.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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
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/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/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-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/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/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/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-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-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-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/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/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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.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
[48/850] Compiling CNIOWindows WSAStartup.c
[49/850] Compiling CNIOWASI CNIOWASI.c
[49/850] Write sources
[52/850] Compiling _CWASI _CWASI.c
[52/850] Copying PrivacyInfo.xcprivacy
[52/850] Write sources
[58/850] Compiling CNIOPosix event_loop_id.c
[59/850] Compiling CNIOOpenBSD shim.c
[60/850] Compiling CNIOLinux shim.c
[61/850] Compiling CNIOWindows shim.c
[61/850] Compiling _NumericsShims _NumericsShims.c
[63/850] Compiling _AtomicsShims.c
[64/850] Compiling CXKCPShims shims.c
[65/850] Compiling SimpleFIPS202.c
[66/850] Compiling CNIOLinux liburing_shims.c
[67/850] Compiling KeccakSponge.c
[68/850] Compiling KeccakHash.c
[69/850] Compiling CNIODarwin shim.c
[70/850] Compiling CNIOExtrasZlib empty.c
[71/850] Compiling CNIOLLHTTP c_nio_http.c
[72/850] Compiling fiat_p256_adx_sqr.S
[73/850] Compiling fiat_p256_adx_mul.S
[74/850] Compiling CNIOLLHTTP c_nio_api.c
[75/850] Compiling fiat_curve25519_adx_square.S
[76/850] Compiling fiat_curve25519_adx_mul.S
[77/850] Write swift-version-24593BA9C3E375BF.txt
[78/850] Compiling CNIOBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
1 error generated.
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.
[79/854] Compiling tls_record.cc
[79/854] Compiling tls_method.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>
      |          ^~~~~~~~~~~
1 error generated.
[79/854] Compiling tls13_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>
      |          ^~~~~~~~~~~
1 error generated.
[79/854] Compiling tls13_server.cc
[79/854] Compiling CNIOLLHTTP c_nio_llhttp.c
[79/854] Compiling KeccakP-1600-opt64.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>
      |          ^~~~~~~~~~~
[79/854] Compiling tls13_client.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/775] Compiling CGRPCNIOTransportZlib empty.c
[4/775] Write swift-version-24593BA9C3E375BF.txt
[5/775] Compiling fiat_p256_adx_mul.S
[6/775] Compiling fiat_p256_adx_sqr.S
[7/775] Compiling fiat_curve25519_adx_square.S
[8/781] Compiling CCryptoBoringSSLShims shims.c
[10/868] Emitting module _NIODataStructures
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.
[10/868] Compiling tls_record.cc
[10/868] Compiling tls_method.cc
[11/868] Emitting module _NIOBase64
[11/868] Compiling KeccakP-1600-opt64.c
[11/868] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm