The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGRPCClient, reference 0.7.2 (684db7), with Swift 6.1 for Wasm on 27 May 2025 13:32:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 0.7.2
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               0.7.2      -> FETCH_HEAD
HEAD is now at 684db7f Update podspec
Cloned https://github.com/cats-oss/grpc-swift-client.git
Revision (git rev-parse @):
684db7f8d9b120631a579acb47190a287482df31
SUCCESS checkout https://github.com/cats-oss/grpc-swift-client.git at 0.7.2
========================================
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.5.0",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "grpc-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift.git"
    }
  ],
  "manifest_display_name" : "SwiftGRPCClient",
  "name" : "SwiftGRPCClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftGRPCClient",
      "targets" : [
        "SwiftGRPCClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "protoc-gen-swiftgrpc-client",
      "targets" : [
        "protoc-gen-swiftgrpc-client"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "protoc_gen_swiftgrpc_client",
      "module_type" : "SwiftTarget",
      "name" : "protoc-gen-swiftgrpc-client",
      "path" : "Sources/protoc-gen-swiftgrpc-client",
      "product_dependencies" : [
        "SwiftProtobufPluginLibrary",
        "protoc-gen-swift"
      ],
      "product_memberships" : [
        "protoc-gen-swiftgrpc-client"
      ],
      "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" : "SwiftGRPCClient",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGRPCClient",
      "path" : "Sources/SwiftGRPCClient",
      "product_dependencies" : [
        "SwiftGRPC"
      ],
      "product_memberships" : [
        "SwiftGRPCClient"
      ],
      "sources" : [
        "CallMethod.swift",
        "CallProtocol.swift",
        "ChannelProtocol.swift",
        "CompletionTask.swift",
        "Dependency.swift",
        "MessageType.swift",
        "NetworkMonitor.swift",
        "ReconnectionPolicy.swift",
        "Request.swift",
        "Session.swift",
        "Stream.swift",
        "Streaming.swift",
        "StreamingError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[33699/90011] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (2.12s)
[25710/38954] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.35s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.5.0 (8.53s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 0.11.0 (0.57s)
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.32s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (3.83s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.29s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.21s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.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.5.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 0.11.0
error: 'spi-builder-workspace': the target 'CgRPC' in product 'SwiftGRPC' contains unsafe build flags
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
error: 'spi-builder-workspace': the target 'CgRPC' in product 'SwiftGRPC' contains unsafe build flags
BUILD FAILURE 6.1 wasm