The Swift Package Index logo.Swift Package Index

Build Information

Failed to build google-cloud-tracing, reference main (3a609d), with Swift 6.1 for Wasm on 16 Aug 2025 21:20:46 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.67.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rosecoder/google-cloud-tracing-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-tracing-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3a609dd feat: Optimized gRPC client configuration for server side
Submodule path 'googleapis': checked out '48d30c4966ef9ea31b897e13f75d8f94070cc8e9'
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-tracing-swift.git
Revision (git rev-parse @):
3a609dd1074355073953420e01c928792a16a035
SUCCESS checkout https://github.com/rosecoder/google-cloud-tracing-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rosecoder/google-cloud-tracing-swift.git
https://github.com/rosecoder/google-cloud-tracing-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "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" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.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"
    }
  ],
  "manifest_display_name" : "google-cloud-tracing",
  "name" : "google-cloud-tracing",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleCloudTracing",
      "targets" : [
        "GoogleCloudTracing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleCloudTracingTests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleCloudTracingTests",
      "path" : "Tests/GoogleCloudTracingTests",
      "sources" : [
        "ExtractAndInjectTests.swift",
        "IntegrationTests.swift"
      ],
      "target_dependencies" : [
        "GoogleCloudTracing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleCloudTracing",
      "module_type" : "SwiftTarget",
      "name" : "GoogleCloudTracing",
      "path" : "Sources/GoogleCloudTracing",
      "product_dependencies" : [
        "Logging",
        "Tracing",
        "ServiceLifecycle",
        "GRPCProtobuf",
        "GRPCNIOTransportHTTP2",
        "RetryableTask",
        "GoogleCloudAuth",
        "GoogleCloudAuthGRPC",
        "GoogleCloudServiceContext"
      ],
      "product_memberships" : [
        "GoogleCloudTracing"
      ],
      "sources" : [
        "Extensions/Google_Devtools_Cloudtrace_V2_TruncatableString+Init.swift",
        "Extensions/Google_Protobuf_Timestamp+Nanoseconds.swift",
        "Extensions/UInt64+HexRepresentation.swift",
        "Span.swift",
        "SpanIdentifier.swift",
        "TraceIdentifier.swift",
        "Tracer+Extract.swift",
        "Tracer+Inject.swift",
        "Tracer+Timer.swift",
        "Tracer+Write.swift",
        "Tracer.swift",
        "gRPC_generated/google/devtools/cloudtrace/v2/trace.grpc.swift",
        "gRPC_generated/google/devtools/cloudtrace/v2/trace.pb.swift",
        "gRPC_generated/google/devtools/cloudtrace/v2/tracing.grpc.swift",
        "gRPC_generated/google/devtools/cloudtrace/v2/tracing.pb.swift",
        "gRPC_generated/google/rpc/status.grpc.swift",
        "gRPC_generated/google/rpc/status.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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/rosecoder/google-cloud-service-context.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/2591] Fetching retryable-task, swift-service-lifecycle
[1181/2807] Fetching retryable-task, swift-service-lifecycle, google-cloud-auth-swift
[1446/2858] Fetching retryable-task, swift-service-lifecycle, google-cloud-auth-swift, google-cloud-service-context
[2835/7460] Fetching retryable-task, swift-service-lifecycle, google-cloud-auth-swift, google-cloud-service-context, grpc-swift-nio-transport
Fetched https://github.com/rosecoder/google-cloud-service-context.git from cache (0.43s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[2992/7409] Fetching retryable-task, swift-service-lifecycle, google-cloud-auth-swift, grpc-swift-nio-transport
Fetched https://github.com/rosecoder/google-cloud-auth-swift.git from cache (0.60s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.59s)
[3472/4760] Fetching retryable-task, grpc-swift-nio-transport
Fetching https://github.com/apple/swift-log.git
[4761/9876] Fetching retryable-task, grpc-swift-nio-transport, swift-distributed-tracing
Fetched https://github.com/rosecoder/retryable-task.git from cache (0.93s)
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (0.94s)
[1/3886] Fetching swift-log
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.66s)
[3887/6195] Fetching swift-log, grpc-swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (0.71s)
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.48s)
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 (2.27s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/swift-server/async-http-client.git
[1/1088] Fetching swift-service-context
[1046/15195] Fetching swift-service-context, async-http-client
Fetched https://github.com/apple/swift-service-context.git from cache (1.85s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.86s)
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/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.0.0 (1.07s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift-2.git
[1/29751] Fetching grpc-swift-2
[29752/69870] Fetching grpc-swift-2, swift-protobuf
Fetched https://github.com/grpc/grpc-swift-2.git from cache (2.23s)
[8827/40119] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (9.28s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.1.0 (10.22s)
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
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1629] Fetching swift-asn1
[767/4330] Fetching swift-asn1, swift-nio-transport-services
[1412/15991] Fetching swift-asn1, swift-nio-transport-services, swift-nio-http2
[1836/22451] Fetching swift-asn1, swift-nio-transport-services, swift-nio-http2, swift-certificates
[3423/28578] Fetching swift-asn1, swift-nio-transport-services, swift-nio-http2, swift-certificates, swift-nio-extras
[6325/43621] Fetching swift-asn1, swift-nio-transport-services, swift-nio-http2, swift-certificates, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.04s)
[19739/40920] Fetching swift-asn1, swift-nio-http2, swift-certificates, swift-nio-extras, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-asn1.git from cache (1.17s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.18s)
[14834/33164] Fetching swift-nio-http2, swift-certificates, swift-nio-ssl
Fetched https://github.com/apple/swift-certificates.git from cache (1.18s)
[8607/26704] Fetching swift-nio-http2, swift-nio-ssl
[22193/104201] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.68s)
[73941/92540] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.70s)
[59673/77497] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.58s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (12.13s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.87s)
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.63s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.1.0 (1.53s)
Fetching https://github.com/apple/swift-collections.git
[1/16977] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (4.38s)
Computing version for https://github.com/rosecoder/google-cloud-auth-swift.git
Computed https://github.com/rosecoder/google-cloud-auth-swift.git at 1.2.3 (7.17s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9137] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.93s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (2.87s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.92s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.98s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1176] Fetching swift-http-structured-headers
[1177/7144] Fetching swift-http-structured-headers, swift-algorithms
[1416/12236] Fetching swift-http-structured-headers, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.45s)
[6527/11060] Fetching swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.71s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.71s)
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.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.8.0 (1.77s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.39s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.07s)
Fetching https://github.com/apple/swift-numerics.git
[1/6335] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.68s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.80s)
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.79s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (0.97s)
Fetching https://github.com/apple/swift-crypto.git
[1/16263] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.81s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (3.85s)
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.79s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.95s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.18s)
Fetching https://github.com/apple/swift-system.git
[1/4878] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.60s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.2.0 (0.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.72s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.56s)
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 (0.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (2.57s)
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.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.1.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
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/rosecoder/google-cloud-auth-swift.git
Working copy of https://github.com/rosecoder/google-cloud-auth-swift.git resolved at 1.2.3
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.26.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.0.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.33.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.2.1
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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.1.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.12.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.0.3
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.8.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.86.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-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-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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.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.2
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.2.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.38.0
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/842] Write sources
[26/842] Copying PrivacyInfo.xcprivacy
[26/842] Write sources
[54/842] Compiling CNIOWASI CNIOWASI.c
[55/842] Compiling _AtomicsShims.c
[56/842] Compiling _NumericsShims _NumericsShims.c
[57/842] Compiling CNIOWindows WSAStartup.c
[58/842] Compiling CNIOWindows shim.c
[59/842] Compiling CNIOLinux liburing_shims.c
[60/842] Compiling CNIOLinux shim.c
[61/842] Compiling CNIOPosix event_loop_id.c
[62/842] Compiling CNIOExtrasZlib empty.c
[63/842] Compiling CNIODarwin shim.c
[64/842] Write swift-version-24593BA9C3E375BF.txt
[65/842] Compiling CNIOLLHTTP c_nio_http.c
[66/842] Compiling fiat_curve25519_adx_square.S
[67/842] Compiling fiat_p256_adx_mul.S
[68/842] Compiling fiat_p256_adx_sqr.S
[68/842] Compiling fiat_curve25519_adx_mul.S
[70/842] Compiling CNIOLLHTTP c_nio_api.c
[71/842] Compiling CNIOBoringSSLShims shims.c
[73/963] Emitting module _NIODataStructures
[73/963] Compiling CNIOLLHTTP c_nio_llhttp.c
[75/968] Emitting module Logging
[76/968] Emitting module _NIOBase64
[77/968] Compiling _NIOBase64 Base64.swift
[78/969] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[79/969] Compiling SwiftProtobuf BinaryDelimited.swift
[80/971] Compiling Logging Locks.swift
[81/971] Compiling RealModule Real.swift
[82/971] Compiling RealModule Float80+Real.swift
[83/972] Compiling RealModule Float16+Real.swift
[84/972] Compiling ServiceContextModule ServiceContext.swift
[85/972] Emitting module ServiceContextModule
[86/972] Compiling ServiceContextModule ServiceContextKey.swift
[87/972] Compiling SwiftProtobuf BinaryEncoder.swift
[88/972] Compiling SwiftProtobuf BinaryEncodingError.swift
[89/972] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[90/972] Compiling SwiftProtobuf AnyMessageStorage.swift
[91/972] Compiling SwiftProtobuf AnyUnpackError.swift
[92/972] Compiling SwiftProtobuf AsyncMessageSequence.swift
[93/972] Compiling SwiftProtobuf BinaryDecoder.swift
[94/972] Compiling SwiftProtobuf BinaryDecodingError.swift
[95/973] Compiling SwiftProtobuf DoubleParser.swift
[96/973] Compiling SwiftProtobuf Enum.swift
[97/973] Compiling RealModule ElementaryFunctions.swift
[98/973] Compiling RealModule Float+Real.swift
[101/973] Emitting module _CertificateInternals
[104/973] Emitting module RealModule
[105/973] Compiling _NIODataStructures PriorityQueue.swift
[106/973] Compiling _NIODataStructures _TinyArray.swift
[107/973] Compiling _CertificateInternals _TinyArray.swift
[110/974] Compiling RealModule RealFunctions.swift
[113/998] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[114/998] Compiling InternalCollectionsUtilities Debugging.swift
[115/999] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
[116/999] Emitting module SwiftASN1
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/999] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 65 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 66 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
 74 |         // SRWLOCK does not need to be free'd
 75 |         #else
 76 |         let err = pthread_mutex_destroy(mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 77 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 78 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
 98 |         ReleaseSRWLockExclusive(mutex)
 99 |         #else
100 |         let err = pthread_mutex_unlock(mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
101 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 |     @inlinable
137 |     static func create(value: Value) -> Self {
138 |         let buffer = Self.create(minimumCapacity: 1) { _ in
    |                           `- error: type of expression is ambiguous without a type annotation
139 |             return value
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 |     @inlinable
152 |     func lock() {
153 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
154 |             LockOperations.lock(lockPtr)
155 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 |     @inlinable
159 |     func unlock() {
160 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
161 |             LockOperations.unlock(lockPtr)
162 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 |     @inlinable
166 |     deinit {
167 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
168 |             LockOperations.destroy(lockPtr)
169 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 |     @inlinable
173 |     func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 |         try self.withUnsafeMutablePointerToElements { lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
175 |             return try body(lockPtr)
176 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 |     @inlinable
180 |     func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 |         try self.withUnsafeMutablePointers { valuePtr, lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
182 |             LockOperations.lock(lockPtr)
183 |             defer { LockOperations.unlock(lockPtr) }
[118/999] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 65 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 66 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
 74 |         // SRWLOCK does not need to be free'd
 75 |         #else
 76 |         let err = pthread_mutex_destroy(mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 77 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 78 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
 98 |         ReleaseSRWLockExclusive(mutex)
 99 |         #else
100 |         let err = pthread_mutex_unlock(mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
101 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 |     @inlinable
137 |     static func create(value: Value) -> Self {
138 |         let buffer = Self.create(minimumCapacity: 1) { _ in
    |                           `- error: type of expression is ambiguous without a type annotation
139 |             return value
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 |     @inlinable
152 |     func lock() {
153 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
154 |             LockOperations.lock(lockPtr)
155 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 |     @inlinable
159 |     func unlock() {
160 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
161 |             LockOperations.unlock(lockPtr)
162 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 |     @inlinable
166 |     deinit {
167 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
168 |             LockOperations.destroy(lockPtr)
169 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 |     @inlinable
173 |     func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 |         try self.withUnsafeMutablePointerToElements { lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
175 |             return try body(lockPtr)
176 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 |     @inlinable
180 |     func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 |         try self.withUnsafeMutablePointers { valuePtr, lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
182 |             LockOperations.lock(lockPtr)
183 |             defer { LockOperations.unlock(lockPtr) }
[119/999] Compiling Instrumentation MultiplexInstrument.swift
[120/999] Compiling Logging LogHandler.swift
[120/999] Compiling tls_record.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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/773] Compiling fiat_p256_adx_sqr.S
[4/773] Compiling fiat_p256_adx_mul.S
[5/773] Write swift-version-24593BA9C3E375BF.txt
[6/773] Compiling CCryptoBoringSSLShims shims.c
[8/777] Compiling _NIODataStructures Heap.swift
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.
[8/777] 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>
      |          ^~~~~~~~~~~
[8/777] Compiling tls13_client.cc
[9/777] Emitting module _NIODataStructures
[10/777] Compiling _NIODataStructures PriorityQueue.swift
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>
      |          ^~~~~~~~~~~
[10/777] 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>
      |          ^~~~~~~~~~~
[10/777] Compiling tls13_server.cc
[10/777] Compiling t1_enc.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>
      |          ^~~~~~~~~~~
1 error generated.
[10/777] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[10/777] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm