The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoogleAPIClientForREST, reference main (fca2dd), with Swift 6.2 for Linux on 12 Oct 2026 17:10:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/google-api-objectivec-client-for-rest.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/google-api-objectivec-client-for-rest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fca2ddc Version bump for a release
Cloned https://github.com/google/google-api-objectivec-client-for-rest.git
Revision (git rev-parse @):
fca2ddc892173d82edf10cefe079d3697ecf4fc9
SUCCESS checkout https://github.com/google/google-api-objectivec-client-for-rest.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/google/google-api-objectivec-client-for-rest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:24009fa1488c01937630ee3297a7a7a1872c773069724929dff85071fefc3743
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/google/gtm-session-fetcher.git
[1/5076] Fetching gtm-session-fetcher
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.74s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 5.3.1 (0.91s)
Creating working copy for https://github.com/google/gtm-session-fetcher.git
Working copy of https://github.com/google/gtm-session-fetcher.git resolved at 5.3.1
warning: 'spi-builder-workspace': ignoring target 'objc-import-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'GoogleAPIClientForRESTTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AdSensePlatform/GTLRAdSensePlatformObjects.m:9:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AdSensePlatform/Public/GoogleAPIClientForREST/GTLRAdSensePlatformObjects.h:9:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/961] Compiling GoogleAPIClientForREST_AdSensePlatform GTLRAdSensePlatformObjects.m
[0/961] Compiling GoogleAPIClientForREST_CloudAlloyDBAdmin GTLRCloudAlloyDBAdminService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIGateway/GTLRAPIGatewayService.m:9:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGateway.h:9:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h:9:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/961] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h:12:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/961] Compiling GoogleAPIClientForREST_APIManagement GTLRAPIManagementObjects.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIGateway/GTLRAPIGatewayQuery.m:9:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h:9:
In file included from /host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRQuery.h:19:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/961] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AccessContextManager/GTLRAccessContextManagerObjects.m:20:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h:20:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/961] Compiling GoogleAPIClientForREST_AccessContextManager GTLRAccessContextManagerObjects.m
[0/961] Compiling GoogleAPIClientForREST_BigQueryConnectionService GTLRBigQueryConnectionServiceService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIGateway/GTLRAPIGatewayObjects.m:9:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h:9:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRObject.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/961] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayObjects.m
BUILD FAILURE 6.2 linux