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 (3d50c0), with Swift 6.1 for Android on 25 Jul 2025 02:35:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 3d50c0e [AppCheckCore] Fix import in `GACAppCheckAPIService.h` (#83)
Cloned https://github.com/google/app-check.git
Revision (git rev-parse @):
3d50c0ed6dbc1211fe5f3b1fcbee36cf7b0e47dd
SUCCESS checkout https://github.com/google/app-check.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/google/app-check.git
https://github.com/google/app-check.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "promises",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/promises.git"
    },
    {
      "identity" : "googleutilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/GoogleUtilities.git"
    },
    {
      "identity" : "ocmock",
      "requirement" : {
        "revision" : [
          "2c0bfd373289f4a7716db5d6db471640f91a6507"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/erikdoe/ocmock.git"
    }
  ],
  "manifest_display_name" : "AppCheck",
  "name" : "AppCheck",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "AppCheckCore",
      "targets" : [
        "AppCheckCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppCheckCoreUnitSwift",
      "module_type" : "SwiftTarget",
      "name" : "AppCheckCoreUnitSwift",
      "path" : "AppCheckCore/Tests/Unit/Swift",
      "sources" : [
        "AppCheckAPITests.swift"
      ],
      "target_dependencies" : [
        "AppCheckCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppCheckCoreUnit",
      "module_type" : "ClangTarget",
      "name" : "AppCheckCoreUnit",
      "path" : "AppCheckCore/Tests",
      "product_dependencies" : [
        "OCMock"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/AppCheckCore/Tests/Fixture/AppAttestAttestationResponseSuccess.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/AppCheckCore/Tests/Fixture/AppAttestResponseMissingChallenge.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/AppCheckCore/Tests/Fixture/AppAttestResponseSuccess.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/AppCheckCore/Tests/Fixture/DeviceCheckResponseMissingTimeToLive.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/AppCheckCore/Tests/Fixture/DeviceCheckResponseMissingToken.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/AppCheckCore/Tests/Fixture/FACTokenExchangeResponseSuccess.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Integration/GACDeviceCheckAPIServiceE2ETests.m",
        "Unit/AppAttestProvider/GACAppAttestAPIServiceTests.m",
        "Unit/AppAttestProvider/GACAppAttestProviderTests.m",
        "Unit/AppAttestProvider/Storage/GACAppAttestArtifactStorageTests.m",
        "Unit/AppAttestProvider/Storage/GACAppAttestKeyIDStorageTests.m",
        "Unit/Core/GACAppCheckAPIServiceTests.m",
        "Unit/Core/GACAppCheckBackoffWrapperTests.m",
        "Unit/Core/GACAppCheckCryptoUtilsTests.m",
        "Unit/Core/GACAppCheckLoggerTests.m",
        "Unit/Core/GACAppCheckStorageTests.m",
        "Unit/Core/GACAppCheckStoredTokenTests.m",
        "Unit/Core/GACAppCheckTests.m",
        "Unit/Core/GACAppCheckTimerTests.m",
        "Unit/Core/GACAppCheckTokenRefresherTests.m",
        "Unit/Core/GACAppCheckTokenResultTests.m",
        "Unit/DebugProvider/GACAppCheckDebugProviderAPIServiceTests.m",
        "Unit/DebugProvider/GACAppCheckDebugProviderTests.m",
        "Unit/DeviceCheckProvider/GACDeviceCheckAPIServiceTests.m",
        "Unit/DeviceCheckProvider/GACDeviceCheckProviderTests.m",
        "Unit/Utils/GACFakeTimer.m",
        "Unit/Utils/GACFixtureLoader.m",
        "Utils/AppCheckBackoffWrapperFake/GACAppCheckBackoffWrapperFake.m",
        "Utils/Date/GACDateTestUtils.m",
        "Utils/URLSession/GACURLSessionOCMockStub.m"
      ],
      "target_dependencies" : [
        "AppCheckCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppCheckCore",
      "module_type" : "ClangTarget",
      "name" : "AppCheckCore",
      "path" : "AppCheckCore/Sources",
      "product_dependencies" : [
        "FBLPromises",
        "GULEnvironment",
        "GULUserDefaults"
      ],
      "product_memberships" : [
        "AppCheckCore"
      ],
      "sources" : [
        "AppAttestProvider/API/GACAppAttestAPIService.m",
        "AppAttestProvider/API/GACAppAttestAttestationResponse.m",
        "AppAttestProvider/DCAppAttestService+GACAppAttestService.m",
        "AppAttestProvider/Errors/GACAppAttestRejectionError.m",
        "AppAttestProvider/GACAppAttestProvider.m",
        "AppAttestProvider/GACAppAttestProviderState.m",
        "AppAttestProvider/Storage/GACAppAttestArtifactStorage.m",
        "AppAttestProvider/Storage/GACAppAttestKeyIDStorage.m",
        "AppAttestProvider/Storage/GACAppAttestStoredArtifact.m",
        "Core/APIService/GACAppCheckAPIService.m",
        "Core/APIService/GACAppCheckToken+APIResponse.m",
        "Core/APIService/GACURLSessionDataResponse.m",
        "Core/APIService/NSURLSession+GACPromises.m",
        "Core/Backoff/GACAppCheckBackoffWrapper.m",
        "Core/Errors/GACAppCheckErrorUtil.m",
        "Core/Errors/GACAppCheckErrors.m",
        "Core/Errors/GACAppCheckHTTPError.m",
        "Core/GACAppCheck.m",
        "Core/GACAppCheckLogger.m",
        "Core/GACAppCheckSettings.m",
        "Core/GACAppCheckToken.m",
        "Core/GACAppCheckTokenResult.m",
        "Core/Storage/GACAppCheckStorage.m",
        "Core/Storage/GACAppCheckStoredToken+GACAppCheckToken.m",
        "Core/Storage/GACAppCheckStoredToken.m",
        "Core/TokenRefresh/GACAppCheckTimer.m",
        "Core/TokenRefresh/GACAppCheckTokenRefreshResult.m",
        "Core/TokenRefresh/GACAppCheckTokenRefresher.m",
        "Core/Utils/GACAppCheckCryptoUtils.m",
        "DebugProvider/API/GACAppCheckDebugProviderAPIService.m",
        "DebugProvider/GACAppCheckDebugProvider.m",
        "DeviceCheckProvider/API/GACDeviceCheckAPIService.m",
        "DeviceCheckProvider/DCDevice+GACDeviceCheckTokenGenerator.m",
        "DeviceCheckProvider/GACDeviceCheckProvider.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
warning: 'spi-builder-workspace': ignoring target 'AppCheckCoreUnit' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/erikdoe/ocmock.git
[1/10909] Fetching ocmock
Fetched https://github.com/erikdoe/ocmock.git from cache (0.85s)
Fetching https://github.com/google/GoogleUtilities.git
Fetching https://github.com/google/promises.git
[1/2442] Fetching promises
[2443/7523] Fetching promises, googleutilities
Fetched https://github.com/google/promises.git from cache (0.40s)
Fetched https://github.com/google/GoogleUtilities.git from cache (0.40s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (1.02s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 8.1.0 (0.62s)
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/erikdoe/ocmock.git
Working copy of https://github.com/erikdoe/ocmock.git resolved at 2c0bfd373289f4a7716db5d6db471640f91a6507
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/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
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestKeyIDStorage.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestKeyIDStorage.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestKeyIDStorage.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/GACURLSessionDataResponse.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/GACURLSessionDataResponse.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACURLSessionDataResponse.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/DeviceCheckProvider/GACDeviceCheckProvider.m: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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestRejectionError.m
[0/34] Compiling GACDeviceCheckProvider.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/GACAppCheckAPIService.m:16:
/host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/GACAppCheckAPIService.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppCheckAPIService.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/GACAppCheckToken+APIResponse.m:17:
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/GACAppCheckToken+APIResponse.h:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckToken.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppCheckToken+APIResponse.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/NSURLSession+GACPromises.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Core/APIService/NSURLSession+GACPromises.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling NSURLSession+GACPromises.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': ignoring target 'AppCheckCoreUnit' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
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/DebugProvider/API/GACAppCheckDebugProviderAPIService.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/DebugProvider/API/GACAppCheckDebugProviderAPIService.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppCheckDebugProviderAPIService.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/TokenRefresh/GACAppCheckTokenRefresher.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Core/TokenRefresh/GACAppCheckTokenRefresher.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppCheckTokenRefresher.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/DebugProvider/GACAppCheckDebugProvider.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Public/AppCheckCore/GACAppCheckDebugProvider.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppCheckDebugProvider.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/DeviceCheckProvider/GACDeviceCheckProvider.m: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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACDeviceCheckProvider.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/DeviceCheckProvider/API/GACDeviceCheckAPIService.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/DeviceCheckProvider/API/GACDeviceCheckAPIService.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACDeviceCheckAPIService.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/TokenRefresh/GACAppCheckTokenRefreshResult.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Core/TokenRefresh/GACAppCheckTokenRefreshResult.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppCheckTokenRefreshResult.m
In file included from /host/spi-builder-workspace/AppCheckCore/Sources/Core/Utils/GACAppCheckCryptoUtils.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/Core/Utils/GACAppCheckCryptoUtils.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppCheckCryptoUtils.m
BUILD FAILURE 6.1 android