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.1 for Wasm on 4 Dec 2025 21:04:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-3":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/erikdoe/ocmock.git
[1/10906] Fetching ocmock
Fetched https://github.com/erikdoe/ocmock.git from cache (1.82s)
Fetching https://github.com/google/promises.git
Fetching https://github.com/google/GoogleUtilities.git
[1/2442] Fetching promises
[1662/7534] Fetching promises, googleutilities
Fetched https://github.com/google/promises.git from cache (0.31s)
Fetched https://github.com/google/GoogleUtilities.git from cache (0.31s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (1.37s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 8.1.0 (0.88s)
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/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 GACAppAttestProviderState.m
In file included from [0/34] Compiling GACAppAttestRejectionError.m
[0/34] Compiling GACAppCheckCryptoUtils.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/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/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/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.
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/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/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/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/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
[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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/34] Compiling GACAppCheckDebugProviderAPIService.m
BUILD FAILURE 6.1 wasm