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 (f0e310), with Swift 6.1 for Linux on 29 Apr 2025 17:13:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.61.1
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 f0e310e [CI] Update macOS / Xcode versions for pod_lib_lint (#81)
Cloned https://github.com/google/app-check.git
Revision (git rev-parse @):
f0e310ec5ab28ffa420157fe2624b022171dc5fd
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-0":/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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/10899] Fetching ocmock
Fetched https://github.com/erikdoe/ocmock.git from cache (0.72s)
Fetching https://github.com/google/promises.git
Fetching https://github.com/google/GoogleUtilities.git
[1/5057] Fetching googleutilities
[3390/7499] Fetching googleutilities, promises
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.0.2 (0.45s)
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.0.2
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/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/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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestRejectionError.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
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/Storage/GACAppAttestStoredArtifact.m:17:
/host/spi-builder-workspace/AppCheckCore/Sources/AppAttestProvider/Storage/GACAppAttestStoredArtifact.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/34] Compiling GACAppAttestStoredArtifact.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/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/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
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
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.
[0/34] Compiling GACAppCheckTokenRefreshResult.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/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/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
BUILD FAILURE 6.1 linux