The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build GAppAuth with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benlmyers/GAppAuth.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/benlmyers/GAppAuth.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/google/GTMAppAuth.git
Fetching https://github.com/openid/AppAuth-iOS.git
Fetching https://github.com/google/gtm-session-fetcher.git
[1/3514] Fetching gtmappauth
[3059/11944] Fetching gtmappauth, appauth-ios
[4443/15564] Fetching gtmappauth, appauth-ios, gtm-session-fetcher
Fetched https://github.com/google/GTMAppAuth.git (0.68s)
Fetched https://github.com/google/gtm-session-fetcher.git (0.68s)
Fetched https://github.com/openid/AppAuth-iOS.git (0.69s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 1.4.0 (0.41s)
Computing version for https://github.com/google/GTMAppAuth.git
Computed https://github.com/google/GTMAppAuth.git at 1.2.2 (0.44s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 1.7.0 (0.44s)
Creating working copy for https://github.com/openid/AppAuth-iOS.git
Working copy of https://github.com/openid/AppAuth-iOS.git resolved at 1.4.0
Creating working copy for https://github.com/google/GTMAppAuth.git
Working copy of https://github.com/google/GTMAppAuth.git resolved at 1.2.2
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 1.7.0
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/iOS/GTMKeychain_iOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling GTMKeychain_iOS.m
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/macOS/GTMKeychain_macOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling GTMKeychain_macOS.m
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/macOS/OIDAuthState+Mac.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling OIDAuthState+Mac.m
[0/15] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization+Keychain.m
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/macOS/LoopbackHTTPServer/OIDLoopbackHTTPServer.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
While building module 'GTMSessionFetcherCore' imported from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMAppAuthFetcherAuthorization.h:24:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/SwiftPackage/../GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/15] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization.m
[0/15] Compiling OIDLoopbackHTTPServer.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/15] Compiling GTMAppAuth GTMOAuth2KeychainCompatibility.m
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/macOS/OIDRedirectHTTPHandler.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling OIDRedirectHTTPHandler.m
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/iOS/GTMKeychain_iOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling GTMKeychain_iOS.m
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/macOS/LoopbackHTTPServer/OIDLoopbackHTTPServer.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~[0/15] Compiling OIDLoopbackHTTPServer.m
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/macOS/OIDAuthorizationService+Mac.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling OIDAuthorizationService+Mac.m
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/macOS/GTMKeychain_macOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling GTMKeychain_macOS.m
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/macOS/OIDExternalUserAgentMac.m:19:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling OIDExternalUserAgentMac.m
[0/15] Compiling OIDAuthState+Mac.m
BUILD FAILURE 5.9 linux