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 main (3bce61), with Swift 6.2 for Wasm on 13 Dec 2025 01:54:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 3bce616 Generate current service sources.
Cloned https://github.com/google/google-api-objectivec-client-for-rest.git
Revision (git rev-parse @):
3bce61669f791f407e3a807c7b36a4ca03fad3ea
SUCCESS checkout https://github.com/google/google-api-objectivec-client-for-rest.git at main
========================================
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/google/gtm-session-fetcher.git
[1/4695] Fetching gtm-session-fetcher
Fetched https://github.com/google/gtm-session-fetcher.git from cache (1.08s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 5.0.0 (1.85s)
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/ACMEDNS/GTLRACMEDNSObjects.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/Public/GoogleAPIClientForREST/GTLRACMEDNSObjects.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/934] Compiling GoogleAPIClientForREST_ACMEDNS GTLRACMEDNSObjects.m
[0/934] Compiling GoogleAPIClientForREST_AIPlatformNotebooks GTLRAIPlatformNotebooksQuery.m
[0/934] Compiling GoogleAPIClientForREST_Acceleratedmobilepageurl GTLRAcceleratedmobilepageurlService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/Acceleratedmobilepageurl/GTLRAcceleratedmobilepageurlQuery.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/Acceleratedmobilepageurl/Public/GoogleAPIClientForREST/GTLRAcceleratedmobilepageurlQuery.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/934] Compiling GoogleAPIClientForREST_Acceleratedmobilepageurl GTLRAcceleratedmobilepageurlQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/GTLRACMEDNSService.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/Public/GoogleAPIClientForREST/GTLRACMEDNS.h:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/Public/GoogleAPIClientForREST/GTLRACMEDNSObjects.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/934] Compiling GoogleAPIClientForREST_ACMEDNS GTLRACMEDNSService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m: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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/934] Compiling GoogleAPIClientForREST_AIPlatformNotebooks GTLRAIPlatformNotebooksObjects.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/GTLRACMEDNSQuery.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/Public/GoogleAPIClientForREST/GTLRACMEDNSQuery.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/934] Compiling GoogleAPIClientForREST_ACMEDNS GTLRACMEDNSQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/934] Compiling GoogleAPIClientForREST_AccessApproval GTLRAccessApprovalObjects.m
BUILD FAILURE 6.2 wasm