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.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/benlmyers/GAppAuth.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/openid/AppAuth-iOS.git
Fetching https://github.com/google/GTMAppAuth.git
Fetching https://github.com/google/gtm-session-fetcher.git
[1/3629] Fetching gtmappauth
[3086/12095] Fetching gtmappauth, appauth-ios
[8117/15780] Fetching gtmappauth, appauth-ios, gtm-session-fetcher
Fetched https://github.com/google/GTMAppAuth.git from cache (0.39s)
[8008/12151] Fetching appauth-ios, gtm-session-fetcher
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.64s)
Fetched https://github.com/openid/AppAuth-iOS.git from cache (0.65s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 1.4.0 (0.45s)
Computing version for https://github.com/google/GTMAppAuth.git
Computed https://github.com/google/GTMAppAuth.git at 1.2.2 (0.46s)
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.45s)
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
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/openid/AppAuth-iOS.git
Working copy of https://github.com/openid/AppAuth-iOS.git resolved at 1.4.0
Building for debugging...
/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/18] Compiling GTMKeychain_macOS.m
[0/18] Compiling OIDRedirectHTTPHandler.m
[0/18] Compiling GTMKeychain_iOS.m
[0/18] Compiling OIDAuthorizationService+IOS.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/18] Compiling GTMAppAuth GTMOAuth2KeychainCompatibility.m
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/18] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization+Keychain.m
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/GTMAppAuthFetcherAuthorization.m:19:
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/Public/GTMAppAuth/GTMAppAuthFetcherAuthorization.h:24:11: fatal error: could not build module 'GTMSessionFetcherCore'
  #import "../GTMSessionFetcher.h"
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[0/18] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization.m
[0/18] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
[0/18] Write sources
/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.
[2/18] Compiling OIDAuthState+Mac.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.
[2/18] Compiling OIDAuthorizationService+Mac.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.
[2/18] Compiling OIDExternalUserAgentMac.m
[2/18] Compiling OIDExternalUserAgentIOSCustomBrowser.m
[2/18] Compiling OIDLoopbackHTTPServer.m
[2/18] Compiling GTMKeychain_macOS.m
/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.
[2/18] Compiling OIDRedirectHTTPHandler.m
[2/18] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux