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 GoogleAPIClientForREST, reference v5.0.0 (3981be), with Swift 6.2 (beta) for Wasm on 8 Jul 2025 15:56:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/google-api-objectivec-client-for-rest.git
Reference: v5.0.0
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
 * tag               v5.0.0     -> FETCH_HEAD
HEAD is now at 3981bee Version bump to prepare for a release.
Cloned https://github.com/google/google-api-objectivec-client-for-rest.git
Revision (git rev-parse @):
3981beeb0ece282c6ed8e965cbb5b1bccfbe1543
SUCCESS checkout https://github.com/google/google-api-objectivec-client-for-rest.git at v5.0.0
========================================
Build
========================================
Selected platform:         wasm
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/google/gtm-session-fetcher.git
[1/4570] Fetching gtm-session-fetcher
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.56s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 5.0.0 (0.97s)
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.0.0
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/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h:11:
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/919] Compiling GoogleAPIClientForREST_AIPlatformNotebooks GTLRAIPlatformNotebooksQuery.m
[0/919] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayObjects.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceQuery.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceQuery.h:12:
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/919] Compiling GoogleAPIClientForREST_AuthorizedBuyersMarketplace GTLRAuthorizedBuyersMarketplaceQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksService.m:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooks.h:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h:11:
/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/919] Compiling GoogleAPIClientForREST_AIPlatformNotebooks GTLRAIPlatformNotebooksService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsService.m:9:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloads.h:9:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.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/919] Compiling GoogleAPIClientForREST_Assuredworkloads GTLRAssuredworkloadsService.m
[0/919] Compiling GoogleAPIClientForREST_Assuredworkloads GTLRAssuredworkloadsObjects.m
[0/919] Compiling GoogleAPIClientForREST_Assuredworkloads GTLRAssuredworkloadsQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/919] Compiling GoogleAPIClientForREST_AuthorizedBuyersMarketplace GTLRAuthorizedBuyersMarketplaceObjects.m
BUILD FAILURE 6.2 wasm