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-4606859-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: 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.10
Building package at path:  $workDir
https://github.com/benlmyers/GAppAuth.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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/3629] Fetching gtmappauth
[2215/12095] Fetching gtmappauth, appauth-ios
[6170/15780] Fetching gtmappauth, appauth-ios, gtm-session-fetcher
Fetched https://github.com/google/GTMAppAuth.git from cache (0.59s)
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.59s)
Fetched https://github.com/openid/AppAuth-iOS.git from cache (0.59s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 1.4.0 (0.42s)
Computing version for https://github.com/google/GTMAppAuth.git
Computed https://github.com/google/GTMAppAuth.git at 1.2.2 (0.41s)
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.40s)
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
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...
[0/18] Write sources
/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] Compiling GTMKeychain_macOS.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.
[2/18] Compiling GTMKeychain_iOS.m
[2/18] Compiling OIDExternalUserAgentMac.m
[2/18] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization+Keychain.m
[2/18] Compiling GTMAppAuth GTMOAuth2KeychainCompatibility.m
[2/18] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization.m
[2/18] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
/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/16] Compiling OIDAuthorizationService+Mac.m
[0/16] Compiling GTMKeychain_iOS.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.
[0/16] Compiling OIDRedirectHTTPHandler.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.
[0/16] Compiling OIDLoopbackHTTPServer.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/16] Compiling OIDExternalUserAgentMac.m
[0/16] 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/16] Compiling OIDAuthState+Mac.m
[0/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux