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 AppCheck, reference main (a95aaf), with Swift 6.2 for Linux on 4 Dec 2025 21:03:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/app-check.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/app-check
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a95aaf9 Update Xcode versions to fix CI (#87)
Cloned https://github.com/google/app-check.git
Revision (git rev-parse @):
a95aaf9fd4d7ce5465d294905a9789bf9636772e
SUCCESS checkout https://github.com/google/app-check.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/google/app-check.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/erikdoe/ocmock.git
[1/10906] Fetching ocmock
Fetched https://github.com/erikdoe/ocmock.git from cache (1.60s)
Fetching https://github.com/google/promises.git
Fetching https://github.com/google/GoogleUtilities.git
[1/2442] Fetching promises
[392/7534] Fetching promises, googleutilities
Fetched https://github.com/google/promises.git from cache (0.38s)
Fetched https://github.com/google/GoogleUtilities.git from cache (0.38s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (0.86s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 8.1.0 (0.39s)
Creating working copy for https://github.com/erikdoe/ocmock.git
Working copy of https://github.com/erikdoe/ocmock.git resolved at 2c0bfd373289f4a7716db5d6db471640f91a6507
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 2.4.0
Creating working copy for https://github.com/google/GoogleUtilities.git
Working copy of https://github.com/google/GoogleUtilities.git resolved at 8.1.0
warning: 'spi-builder-workspace': ignoring target 'AppCheckCoreUnit' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/Errors/GACAppAttestRejectionError.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckErrors.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppAttestRejectionError.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/DeviceCheckProvider/DCDevice+GACDeviceCheckTokenGenerator.m:17:
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/DeviceCheckProvider/DCDevice+GACDeviceCheckTokenGenerator.h:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckAvailability.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling DCDevice+GACDeviceCheckTokenGenerator.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/DCAppAttestService+GACAppAttestService.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/DCAppAttestService+GACAppAttestService.h:17:9: fatal error: 'TargetConditionals.h' file not found
   17 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling DCAppAttestService+GACAppAttestService.m
[0/34] Compiling GACDeviceCheckProvider.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/GACAppAttestProvider.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Public/AppCheckCore/GACAppAttestProvider.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestProvider.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAPIService.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAPIService.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestAPIService.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/GACAppAttestProviderState.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/GACAppAttestProviderState.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestProviderState.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/API/GACAppAttestAttestationResponse.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestAttestationResponse.m
BUILD FAILURE 6.2 linux