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 gRPC, reference main (75b31c), with Swift 6.1 for Linux on 22 Aug 2025 13:45:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/grpc-binary.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/google/grpc-binary
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 75b31c8 [Infra] Update Package.swift for 1.69.1 (#23)
Cloned https://github.com/google/grpc-binary.git
Revision (git rev-parse @):
75b31c842f664a0f46a2e590a570e370249fd8f6
SUCCESS checkout https://github.com/google/grpc-binary.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/google/grpc-binary.git
https://github.com/google/grpc-binary.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "abseil-cpp-binary",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2024072200.0",
            "upper_bound" : "1.2024072300.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/abseil-cpp-binary.git"
    }
  ],
  "manifest_display_name" : "gRPC",
  "name" : "gRPC",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "gRPC-Core",
      "targets" : [
        "grpcWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "gRPC-C++",
      "targets" : [
        "grpcppWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "openssl_grpc",
      "module_type" : "BinaryTarget",
      "name" : "openssl_grpc",
      "path" : "remote/archive/openssl_grpc.zip",
      "product_memberships" : [
        "gRPC-C++"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "opensslWrapper",
      "module_type" : "ClangTarget",
      "name" : "opensslWrapper",
      "path" : "openssl-grpc-Wrapper",
      "product_memberships" : [
        "gRPC-C++"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/openssl-grpc-Wrapper/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "empty.m"
      ],
      "target_dependencies" : [
        "openssl_grpc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "grpcppWrapper",
      "module_type" : "ClangTarget",
      "name" : "grpcppWrapper",
      "path" : "grpcpp-Wrapper",
      "product_dependencies" : [
        "abseil"
      ],
      "product_memberships" : [
        "gRPC-C++"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/grpcpp-Wrapper/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "empty.m"
      ],
      "target_dependencies" : [
        "grpcpp",
        "grpcWrapper",
        "opensslWrapper"
      ],
      "type" : "library"
    },
    {
      "c99name" : "grpcpp",
      "module_type" : "BinaryTarget",
      "name" : "grpcpp",
      "path" : "remote/archive/grpcpp.zip",
      "product_memberships" : [
        "gRPC-C++"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "grpcWrapper",
      "module_type" : "ClangTarget",
      "name" : "grpcWrapper",
      "path" : "grpc-Wrapper",
      "product_memberships" : [
        "gRPC-Core",
        "gRPC-C++"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/grpc-Wrapper/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "empty.m"
      ],
      "target_dependencies" : [
        "grpc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "grpc",
      "module_type" : "BinaryTarget",
      "name" : "grpc",
      "path" : "remote/archive/grpc.zip",
      "product_memberships" : [
        "gRPC-Core",
        "gRPC-C++"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/google/abseil-cpp-binary.git
[1/100] Fetching abseil-cpp-binary
Fetched https://github.com/google/abseil-cpp-binary.git from cache (2.10s)
Computing version for https://github.com/google/abseil-cpp-binary.git
Computed https://github.com/google/abseil-cpp-binary.git at 1.2024072200.0 (3.52s)
Creating working copy for https://github.com/google/abseil-cpp-binary.git
Working copy of https://github.com/google/abseil-cpp-binary.git resolved at 1.2024072200.0
Downloading binary artifact https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpc.zip
Downloading binary artifact https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/openssl_grpc.zip
Downloading binary artifact https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpcpp.zip
Downloading binary artifact https://dl.google.com/firebase/ios/bin/abseil/1.2024072200.0/rc0/absl.zip
[1369/102462124] Downloading https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpc.zip
[17302457/114772510] Downloading https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpc.zip, https://dl.google.com/firebase/ios/bin/abseil/1.2024072200.0/rc0/absl.zip
[35095371/133806933] Downloading https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpc.zip, https://dl.google.com/firebase/ios/bin/abseil/1.2024072200.0/rc0/absl.zip, https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/openssl_grpc.zip
[66311019/156990558] Downloading https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpc.zip, https://dl.google.com/firebase/ios/bin/abseil/1.2024072200.0/rc0/absl.zip, https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/openssl_grpc.zip, https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpcpp.zip
Downloaded https://dl.google.com/firebase/ios/bin/abseil/1.2024072200.0/rc0/absl.zip (4.42s)
Downloaded https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/openssl_grpc.zip (6.35s)
Downloaded https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpcpp.zip (16.71s)
Downloaded https://dl.google.com/firebase/ios/bin/grpc/1.69.1/rc0/grpc.zip (24.61s)
Building for debugging...
[0/9] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/grpcppWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling grpcppWrapper resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/grpcppWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling grpcppWrapper empty.m
[3/9] Compiling grpcWrapper empty.m
[3/9] Compiling opensslWrapper resource_bundle_accessor.m
[3/9] Compiling opensslWrapper empty.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/grpcWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/9] Compiling grpcWrapper resource_bundle_accessor.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/grpcWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling grpcWrapper resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/opensslWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/opensslWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling opensslWrapper empty.m
[0/6] Compiling opensslWrapper resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/grpcppWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling grpcppWrapper empty.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/grpcWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling grpcWrapper empty.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/grpcppWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling grpcppWrapper resource_bundle_accessor.m
BUILD FAILURE 6.1 linux