The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGRPCClient, reference 0.7.2 (684db7), with Swift 6.1 for Android on 27 May 2025 13:33:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/51057] Fetching grpc-swift
[14808/90011] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (2.53s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.37s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.5.0 (7.83s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 0.11.0 (0.52s)
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.23s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (2.43s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.11s)
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/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
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
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
error: 'spi-builder-workspace': the target 'CgRPC' in product 'SwiftGRPC' contains unsafe build flags
BUILD FAILURE 6.1 android