The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoogleAPIClientForREST with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.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 1194112 Update reserved word list as of Sonoma
Cloned https://github.com/google/google-api-objectivec-client-for-rest.git
Revision (git rev-parse @):
11941123a0d9c2641197fa83d57e6ff9f088b907
SUCCESS checkout https://github.com/google/google-api-objectivec-client-for-rest.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/google/google-api-objectivec-client-for-rest.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/google/gtm-session-fetcher.git
[1/3733] Fetching gtm-session-fetcher
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.57s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 3.4.0 (0.42s)
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 3.4.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...
While building module 'GoogleAPIClientForRESTCore' imported from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/Public/GoogleAPIClientForREST/GTLRACMEDNSQuery.h:12:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRBase64.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'GoogleAPIClientForRESTCore' imported from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/Public/GoogleAPIClientForREST/GTLRACMEDNSQuery.h:12:
While building module 'GTMSessionFetcherCore' imported from /host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRService.h:31:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Sources/Core/Public/GTMSessionFetcher/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/GTLRACMEDNSQuery.m:12:
/host/spi-builder-workspace/Sources/GeneratedServices/ACMEDNS/Public/GoogleAPIClientForREST/GTLRACMEDNSQuery.h:12:9: fatal error: could not build module 'GoogleAPIClientForRESTCore'
#import <GoogleAPIClientForREST/GTLRQuery.h>
 ~~~~~~~^
3 errors generated.
[0/853] Compiling GoogleAPIClientForREST_ACMEDNS GTLRACMEDNSQuery.m
[0/853] Compiling GoogleAPIClientForREST_APIGateway GTLRAPIGatewayObjects.m
[0/853] Compiling GoogleAPIClientForREST_AlertCenter GTLRAlertCenterObjects.m
[0/853] Compiling GoogleAPIClientForREST_Acceleratedmobilepageurl GTLRAcceleratedmobilepageurlObjects.m
[0/853] Compiling GoogleAPIClientForREST_AIPlatformNotebooks GTLRAIPlatformNotebooksQuery.m
[0/853] Compiling GoogleAPIClientForREST_AIPlatformNotebooks GTLRAIPlatformNotebooksObjects.m
[0/853] Compiling GoogleAPIClientForREST_AIPlatformNotebooks GTLRAIPlatformNotebooksService.m
[0/853] Compiling GoogleAPIClientForREST_ACMEDNS GTLRACMEDNSService.m
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/853] Copying PrivacyInfo.xcprivacy
While building module 'GoogleAPIClientForRESTCore' imported from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/Public/GoogleAPIClientForREST/GTLRYouTubeReportingQuery.h:12:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRBase64.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'GoogleAPIClientForRESTCore' imported from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/Public/GoogleAPIClientForREST/GTLRYouTubeReportingQuery.h:12:
While building module 'GTMSessionFetcherCore' imported from /host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRService.h:31:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Sources/Core/Public/GTMSessionFetcher/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/GTLRYouTubeReportingQuery.m:12:
/host/spi-builder-workspace/Sources/GeneratedServices/YouTubeReporting/Public/GoogleAPIClientForREST/GTLRYouTubeReportingQuery.h:12:9: fatal error: could not build module 'GoogleAPIClientForRESTCore'
#import <GoogleAPIClientForREST/GTLRQuery.h>
 ~~~~~~~^
3 errors generated.
[1/853] Compiling GoogleAPIClientForREST_YouTubeReporting GTLRYouTubeReportingQuery.m
[1/853] Compiling GoogleAPIClientForREST_YouTube GTLRYouTubeQuery.m
[1/853] Compiling GoogleAPIClientForREST_YouTubeReporting GTLRYouTubeReportingService.m
[1/853] Compiling GoogleAPIClientForREST_YouTubeAnalytics GTLRYouTubeAnalyticsObjects.m
[1/853] Compiling GoogleAPIClientForREST_YouTubeAnalytics GTLRYouTubeAnalyticsService.m
[1/853] Compiling GoogleAPIClientForREST_YouTubeAnalytics GTLRYouTubeAnalyticsQuery.m
While building module 'GoogleAPIClientForRESTCore' imported from /host/spi-builder-workspace/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h:12:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Sources/Core/Public/GoogleAPIClientForREST/GTLRBase64.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/853] Compiling GoogleAPIClientForREST_YouTube GTLRYouTubeService.m
[1/853] Compiling GoogleAPIClientForREST_YouTubeReporting GTLRYouTubeReportingObjects.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 2