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, reference master (6124bc), with Swift 6.0 for Linux on 15 Sep 2024 03:27:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.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:             6.0
Building package at path:  $PWD
https://github.com/benlmyers/GAppAuth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/openid/AppAuth-iOS.git
Fetching https://github.com/google/gtm-session-fetcher.git
Fetching https://github.com/google/GTMAppAuth.git
[1/3696] Fetching gtmappauth
[2884/7535] Fetching gtmappauth, gtm-session-fetcher
[3183/16342] Fetching gtmappauth, gtm-session-fetcher, appauth-ios
Fetched https://github.com/google/GTMAppAuth.git from cache (1.16s)
Fetched https://github.com/google/gtm-session-fetcher.git from cache (1.16s)
Fetched https://github.com/openid/AppAuth-iOS.git from cache (1.16s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 1.4.0 (0.64s)
Computing version for https://github.com/google/GTMAppAuth.git
Computed https://github.com/google/GTMAppAuth.git at 1.2.2 (0.56s)
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.51s)
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/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
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/iOS/OIDAuthState+IOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
   19 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling OIDAuthState+IOS.m
/host/spi-builder-workspace/.build/checkouts/AppAuth-iOS/Source/AppAuth/iOS/OIDAuthorizationService+IOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
   19 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling OIDAuthorizationService+IOS.m
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/iOS/GTMKeychain_iOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
   19 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling GTMKeychain_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
   19 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling GTMAppAuth GTMOAuth2KeychainCompatibility.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:24:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/SwiftPackage/../GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization+Keychain.m
/host/spi-builder-workspace/.build/checkouts/GTMAppAuth/GTMAppAuth/Sources/macOS/GTMKeychain_macOS.m:19:9: fatal error: 'TargetConditionals.h' file not found
   19 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling GTMKeychain_macOS.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:24:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/SwiftPackage/../GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling GTMAppAuth GTMAppAuthFetcherAuthorization.m
[0/18] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux