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 Linux on 25 Jul 2025 02:35:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/erikdoe/ocmock.git
[1/10909] Fetching ocmock
Fetched https://github.com/erikdoe/ocmock.git from cache (0.73s)
Fetching https://github.com/google/promises.git
Fetching https://github.com/google/GoogleUtilities.git
[1/2442] Fetching promises
[2443/7523] Fetching promises, googleutilities
Fetched https://github.com/google/promises.git from cache (0.30s)
Fetched https://github.com/google/GoogleUtilities.git from cache (0.30s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (0.76s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 8.1.0 (0.46s)
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
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 2.4.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.
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppAttestProviderState.m
[0/34] Compiling DCAppAttestService+GACAppAttestService.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
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppAttestAttestationResponse.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/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/Storage/GACAppAttestArtifactStorage.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestArtifactStorage.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestArtifactStorage.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppCheckCryptoUtils.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppCheckTokenRefresher.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACDeviceCheckAPIService.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACDeviceCheckProvider.m
[0/34] Compiling GACAppCheckTokenRefreshResult.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppCheckDebugProvider.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppCheckDebugProviderAPIService.m
BUILD FAILURE 6.1 linux