The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoogleAPIClientForREST, reference main (97e780), with Swift 6.1 for Wasm on 23 Apr 2026 01:32:27 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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 97e7803 Update SGGenerator.m
Cloned https://github.com/google/google-api-objectivec-client-for-rest.git
Revision (git rev-parse @):
97e780364a1b1a4200ca09f1f48e0a66bd1e52f7
SUCCESS checkout https://github.com/google/google-api-objectivec-client-for-rest.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/google/google-api-objectivec-client-for-rest.git
https://github.com/google/google-api-objectivec-client-for-rest.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/google/gtm-session-fetcher.git
[1/4838] Fetching gtm-session-fetcher
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.61s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 5.2.0 (1.15s)
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.2.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/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.
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/919] Compiling GoogleAPIClientForREST_APIManagement GTLRAPIManagementObjects.m
[0/919] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayObjects.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/APIManagement/GTLRAPIManagementService.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagement.h: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/919] Compiling GoogleAPIClientForREST_APIManagement GTLRAPIManagementService.m
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
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/919] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/919] Compiling GoogleAPIClientForREST_APIManagement GTLRAPIManagementQuery.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/919] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayService.m
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/919] Copying PrivacyInfo.xcprivacy
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/GTLRYouTubeReportingObjects.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/Public/GoogleAPIClientForREST/GTLRYouTubeReportingObjects.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.
[1/919] Compiling GoogleAPIClientForREST_YouTubeReporting GTLRYouTubeReportingObjects.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeAnalytics/GTLRYouTubeAnalyticsObjects.m:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeAnalytics/Public/GoogleAPIClientForREST/GTLRYouTubeAnalyticsObjects.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.
[1/919] Compiling GoogleAPIClientForREST_YouTubeAnalytics GTLRYouTubeAnalyticsObjects.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeAnalytics/GTLRYouTubeAnalyticsService.m:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeAnalytics/Public/GoogleAPIClientForREST/GTLRYouTubeAnalytics.h:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeAnalytics/Public/GoogleAPIClientForREST/GTLRYouTubeAnalyticsObjects.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.
[1/919] Compiling GoogleAPIClientForREST_YouTubeAnalytics GTLRYouTubeAnalyticsService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/GTLRYouTubeReportingQuery.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/Public/GoogleAPIClientForREST/GTLRYouTubeReportingQuery.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/919] Compiling GoogleAPIClientForREST_YouTubeReporting GTLRYouTubeReportingQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeAnalytics/GTLRYouTubeAnalyticsQuery.m:11:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeAnalytics/Public/GoogleAPIClientForREST/GTLRYouTubeAnalyticsQuery.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.
[1/919] Compiling GoogleAPIClientForREST_YouTubeAnalytics GTLRYouTubeAnalyticsQuery.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/GTLRYouTubeReportingService.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/Public/GoogleAPIClientForREST/GTLRYouTubeReporting.h:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/Public/GoogleAPIClientForREST/GTLRYouTubeReportingObjects.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.
[1/919] Compiling GoogleAPIClientForREST_YouTubeReporting GTLRYouTubeReportingService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTube/GTLRYouTubeService.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTube.h:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.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/919] Compiling GoogleAPIClientForREST_YouTube GTLRYouTubeService.m
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m:12:
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/919] Compiling GoogleAPIClientForREST_YouTube GTLRYouTubeQuery.m
BUILD FAILURE 6.1 wasm