The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GAppAuth, reference 1.6.5 (6124bc), with Swift 6.1 for Android on 29 May 2025 02:02:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benlmyers/GAppAuth.git
Reference: 1.6.5
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/benlmyers/GAppAuth
 * tag               1.6.5      -> FETCH_HEAD
HEAD is now at 6124bcd 💻 Bump macOS compatability
Cloned https://github.com/benlmyers/GAppAuth.git
Revision (git rev-parse @):
6124bcd8a5e4576a485aa70d92e50e32c587223d
SUCCESS checkout https://github.com/benlmyers/GAppAuth.git at 1.6.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/benlmyers/GAppAuth.git
https://github.com/benlmyers/GAppAuth.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "gtmappauth",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/GTMAppAuth.git"
    },
    {
      "identity" : "appauth-ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/openid/AppAuth-iOS.git"
    }
  ],
  "manifest_display_name" : "GAppAuth",
  "name" : "GAppAuth",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "GAppAuth-iOS",
      "targets" : [
        "GAppAuth-iOS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GAppAuth-macOS",
      "targets" : [
        "GAppAuth-macOS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GAppAuth_macOS",
      "module_type" : "SwiftTarget",
      "name" : "GAppAuth-macOS",
      "path" : "Sources/macOS",
      "product_dependencies" : [
        "GTMAppAuth",
        "AppAuth"
      ],
      "product_memberships" : [
        "GAppAuth-macOS"
      ],
      "sources" : [
        "GAppAuth.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GAppAuth_iOS",
      "module_type" : "SwiftTarget",
      "name" : "GAppAuth-iOS",
      "path" : "Sources/iOS",
      "product_dependencies" : [
        "GTMAppAuth",
        "AppAuth"
      ],
      "product_memberships" : [
        "GAppAuth-iOS"
      ],
      "sources" : [
        "GAppAuth.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/google/GTMAppAuth.git
Fetching https://github.com/openid/AppAuth-iOS.git
[1/3862] Fetching gtmappauth
[3863/12960] Fetching gtmappauth, appauth-ios
Fetched https://github.com/google/GTMAppAuth.git from cache (0.68s)
Fetched https://github.com/openid/AppAuth-iOS.git from cache (0.69s)
Computing version for https://github.com/google/GTMAppAuth.git
Computed https://github.com/google/GTMAppAuth.git at 1.3.1 (1.33s)
Fetching https://github.com/google/gtm-session-fetcher.git
[1/4483] Fetching gtm-session-fetcher
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.63s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 1.7.6 (1.25s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 2.3.0 (0.65s)
Creating working copy for https://github.com/google/gtm-session-fetcher.git
Working copy of https://github.com/google/gtm-session-fetcher.git resolved at 2.3.0
Creating working copy for https://github.com/openid/AppAuth-iOS.git
Working copy of https://github.com/openid/AppAuth-iOS.git resolved at 1.7.6
Creating working copy for https://github.com/google/GTMAppAuth.git
Working copy of https://github.com/google/GTMAppAuth.git resolved at 1.3.1
Building for debugging...
[0/19] Write sources
[2/19] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/19] Compiling AppAuth resource_bundle_accessor.m
[3/19] Compiling OIDRedirectHTTPHandler.m
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMAppAuthFetcherAuthorization+Keychain.m:19:
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMAppAuthFetcherAuthorization+Keychain.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMAppAuthFetcherAuthorization.h:22:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Sources/Core/Public/GTMSessionFetcher/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/19] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization+Keychain.m
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMAppAuthFetcherAuthorization.m:19:
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMAppAuthFetcherAuthorization.h:22:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Sources/Core/Public/GTMSessionFetcher/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/19] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/19] Compiling OIDExternalUserAgentMac.m
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMKeychain.m:19:
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMKeychain.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/19] Compiling GTMAppAuth GTMKeychain.m
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMOAuth2KeychainCompatibility.m:19:
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMOAuth2KeychainCompatibility.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/19] Compiling GTMAppAuth GTMOAuth2KeychainCompatibility.m
[3/19] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMKeychain.m:19:
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMKeychain.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling GTMAppAuth GTMKeychain.m
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMAppAuthFetcherAuthorization.m:19:
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMAppAuthFetcherAuthorization.h:22:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Sources/Core/Public/GTMSessionFetcher/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling AppAuth resource_bundle_accessor.m
[0/16] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization.m
[0/16] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization+Keychain.m
[0/16] Compiling OIDExternalUserAgentMac.m
[0/16] Compiling OIDRedirectHTTPHandler.m
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMOAuth2KeychainCompatibility.m:19:
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMOAuth2KeychainCompatibility.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling GTMAppAuth GTMOAuth2KeychainCompatibility.m
[0/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android