The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GRPCClient, reference 1.0.0-alpha.8 (d088e3), with Swift 6.1 for Wasm on 27 May 2025 13:32:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cats-oss/grpc-swift-client.git
Reference: 1.0.0-alpha.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/cats-oss/grpc-swift-client
 * tag               1.0.0-alpha.8 -> FETCH_HEAD
HEAD is now at d088e33 Update podspec
Cloned https://github.com/cats-oss/grpc-swift-client.git
Revision (git rev-parse @):
d088e331916a054898503ad48cc25bcf68b7aa4c
SUCCESS checkout https://github.com/cats-oss/grpc-swift-client.git at 1.0.0-alpha.8
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/cats-oss/grpc-swift-client.git
https://github.com/cats-oss/grpc-swift-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.10.0",
            "upper_bound" : "1.11.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "grpc-swift",
      "requirement" : {
        "exact" : [
          "1.0.0-alpha.19"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift.git"
    }
  ],
  "manifest_display_name" : "GRPCClient",
  "name" : "GRPCClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "GRPCClient",
      "targets" : [
        "GRPCClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "protoc-gen-grpc-client-swift",
      "targets" : [
        "protoc-gen-grpc-client-swift"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "protoc_gen_grpc_client_swift",
      "module_type" : "SwiftTarget",
      "name" : "protoc-gen-grpc-client-swift",
      "path" : "Sources/protoc-gen-grpc-client-swift",
      "product_dependencies" : [
        "SwiftProtobufPluginLibrary"
      ],
      "product_memberships" : [
        "protoc-gen-grpc-client-swift"
      ],
      "sources" : [
        "CodePrinter+Extensions.swift",
        "CommandLine+Extensions.swift",
        "FileGenerator.swift",
        "FileIo.swift",
        "GenerationError.swift",
        "GeneratorOptions.swift",
        "MethodGenerator.swift",
        "ServiceGenerator.swift",
        "StringUtils.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GRPCClient",
      "module_type" : "SwiftTarget",
      "name" : "GRPCClient",
      "path" : "Sources/GRPCClient",
      "product_dependencies" : [
        "GRPC"
      ],
      "product_memberships" : [
        "GRPCClient"
      ],
      "sources" : [
        "Call/CancellableCall.swift",
        "Call/ReceivableCall.swift",
        "Call/SendableCall.swift",
        "CallMethod.swift",
        "Dependency.swift",
        "NetworkMonitor.swift",
        "Request.swift",
        "Session.swift",
        "SessionErrorDelegate.swift",
        "Stream/BidirectionalStream.swift",
        "Stream/ClientStream.swift",
        "Stream/ServerStream.swift",
        "Stream/Stream.swift",
        "Stream/Unary.swift",
        "Streaming/CancellableStreaming.swift",
        "Streaming/ReceivableStreaming.swift",
        "Streaming/SendableStreaming.swift",
        "Streaming/Streaming.swift",
        "StreamingError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/51057] Fetching grpc-swift
[51058/90011] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (6.07s)
Fetched https://github.com/apple/swift-protobuf.git from cache (6.12s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.10.2 (8.65s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.0.0-alpha.19 (0.63s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
[2242/6503] Fetching swift-nio-transport-services, swift-log
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.89s)
[1/14843] Fetching swift-nio-ssl
[4306/26370] Fetching swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.12s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (2.08s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.11s)
[1/76042] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (8.16s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.57s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.79s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[4392/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
[7632/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.57s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.20s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.10.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.0.0-alpha.19
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Building for debugging...
[0/442] Write sources
[21/442] Compiling CNIOLLHTTP c_nio_http.c
[22/442] Write sources
[23/442] Compiling _AtomicsShims.c
[24/442] Compiling CNIOWindows shim.c
[25/442] Compiling CNIOLLHTTP c_nio_api.c
[26/442] Compiling CNIOWindows WSAStartup.c
[27/442] Compiling CNIOWASI CNIOWASI.c
[28/442] Compiling CNIOLinux shim.c
[29/442] Compiling CNIOLinux liburing_shims.c
[30/442] Compiling CNIODarwin shim.c
[31/442] Write swift-version-24593BA9C3E375BF.txt
[31/442] Compiling CGRPCZlib empty.c
[33/442] Compiling fiat_p256_adx_sqr.S
[34/442] Compiling fiat_p256_adx_mul.S
[34/442] Compiling fiat_curve25519_adx_square.S
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: fatal error: 'netdb.h' file not found
   30 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
[36/444] Compiling socket_helper.cc
[36/444] Compiling CNIOBoringSSLShims shims.c
[36/444] Compiling x_x509a.cc
[36/444] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/407] Compiling fiat_curve25519_adx_mul.S
[1/407] Write swift-version-24593BA9C3E375BF.txt
[2/407] Compiling CNIOBoringSSLShims shims.c
[4/411] Compiling _NIODataStructures PriorityQueue.swift
[5/411] Compiling _NIODataStructures _TinyArray.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.
[5/411] Compiling tls_record.cc
[5/411] Compiling c-nioatomics.c
[5/411] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[5/411] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[5/411] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[5/411] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[5/411] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm