Build Information
Successful build of GTMAppAuth, reference master (8e22e3
), with Swift 6.1 for macOS (SPM) on 7 Aug 2025 19:28:02 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/GTMAppAuth.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/google/GTMAppAuth
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8e22e3a Support swift 6 (#267)
Cloned https://github.com/google/GTMAppAuth.git
Revision (git rev-parse @):
8e22e3a73bc644516f38e3d0161b2f08581118e0
SUCCESS checkout https://github.com/google/GTMAppAuth.git at master
Fetching https://github.com/openid/AppAuth-iOS.git
Fetching https://github.com/google/gtm-session-fetcher.git from cache
[1/9104] Fetching appauth-ios
Fetched https://github.com/openid/AppAuth-iOS.git from cache (1.22s)
Fetched https://github.com/google/gtm-session-fetcher.git from cache (1.24s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 2.0.0 (1.84s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 3.5.0 (0.55s)
Creating working copy for https://github.com/openid/AppAuth-iOS.git
Working copy of https://github.com/openid/AppAuth-iOS.git resolved at 2.0.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 3.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "gtmappauth",
"name": "GTMAppAuth",
"url": "https://github.com/google/GTMAppAuth.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GTMAppAuth",
"dependencies": [
{
"identity": "gtm-session-fetcher",
"name": "GTMSessionFetcher",
"url": "https://github.com/google/gtm-session-fetcher.git",
"version": "3.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/gtm-session-fetcher",
"dependencies": [
]
},
{
"identity": "appauth-ios",
"name": "AppAuth",
"url": "https://github.com/openid/AppAuth-iOS.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AppAuth-iOS",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/google/GTMAppAuth.git
[1/3879] Fetching gtmappauth
Fetched https://github.com/google/GTMAppAuth.git from cache (1.05s)
Fetching https://github.com/google/gtm-session-fetcher.git from cache
Fetching https://github.com/openid/AppAuth-iOS.git from cache
Fetched https://github.com/openid/AppAuth-iOS.git from cache (0.58s)
Fetched https://github.com/google/gtm-session-fetcher.git from cache (0.60s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 2.0.0 (0.65s)
Computing version for https://github.com/google/gtm-session-fetcher.git
Computed https://github.com/google/gtm-session-fetcher.git at 3.5.0 (0.02s)
Creating working copy for https://github.com/google/GTMAppAuth.git
Working copy of https://github.com/google/GTMAppAuth.git resolved at master (8e22e3a)
Creating working copy for https://github.com/openid/AppAuth-iOS.git
Working copy of https://github.com/openid/AppAuth-iOS.git resolved at 2.0.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 3.5.0
warning: '.resolve-product-dependencies': dependency 'gtmappauth' is not used by any target
Found 2 product dependencies
- GTMSessionFetcher
- AppAuth
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/google/GTMAppAuth.git
https://github.com/google/GTMAppAuth.git
{
"dependencies" : [
{
"identity" : "gtm-session-fetcher",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/gtm-session-fetcher.git"
},
{
"identity" : "appauth-ios",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/openid/AppAuth-iOS.git"
}
],
"manifest_display_name" : "GTMAppAuth",
"name" : "GTMAppAuth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "GTMAppAuth",
"targets" : [
"GTMAppAuth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_objc_interop_tests",
"module_type" : "ClangTarget",
"name" : "swift-objc-interop-tests",
"path" : "GTMAppAuth/Tests/ObjCIntegration",
"product_dependencies" : [
"AppAuthCore"
],
"sources" : [
"GTMAuthSessionTests.m",
"KeychainStore/GTMKeychainStoreTests.m",
"KeychainStore/GTMOAuth2CompatibilityTests.m"
],
"target_dependencies" : [
"GTMAppAuth",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "TestHelpers",
"module_type" : "SwiftTarget",
"name" : "TestHelpers",
"path" : "GTMAppAuth/Tests/Helpers",
"product_dependencies" : [
"AppAuthCore"
],
"sources" : [
"AuthorizationTestingHelp.swift",
"GTMAppAuthTestingHelpers.swift",
"KeychainHelperFake.swift",
"OIDAuthStateTesting.swift",
"OIDAuthorizationRequestTesting.swift",
"OIDAuthorizationResponseTesting.swift",
"OIDRegistrationRequestTesting.swift",
"OIDRegistrationResponseTesting.swift",
"OIDServiceConfigurationTesting.swift",
"OIDTokenRequestTesting.swift",
"OIDTokenResponseTesting.swift"
],
"target_dependencies" : [
"GTMAppAuth"
],
"type" : "library"
},
{
"c99name" : "GTMAppAuthTests",
"module_type" : "SwiftTarget",
"name" : "GTMAppAuthTests",
"path" : "GTMAppAuth/Tests/Unit",
"sources" : [
"AuthSessionTests.swift",
"KeychainStore/GTMOAuth2CompatibilityTests.swift",
"KeychainStore/KeychainStoreTests.swift"
],
"target_dependencies" : [
"GTMAppAuth",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "GTMAppAuth",
"module_type" : "SwiftTarget",
"name" : "GTMAppAuth",
"path" : "GTMAppAuth/Sources",
"product_dependencies" : [
"GTMSessionFetcherCore",
"AppAuthCore"
],
"product_memberships" : [
"GTMAppAuth"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AuthSession.swift",
"AuthSessionDelegate.swift",
"AuthSessionStore.swift",
"KeychainStore/GTMOAuth2Compatibility.swift",
"KeychainStore/KeychainAttribute.swift",
"KeychainStore/KeychainHelper.swift",
"KeychainStore/KeychainStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/36] Write sources
[2/36] Copying PrivacyInfo.xcprivacy
[5/36] Write swift-version-2F0A5646E1D333AE.txt
[6/36] Compiling AppAuthCore OIDTokenUtilities.m
[7/36] Compiling GTMSessionFetcherCore resource_bundle_accessor.m
[8/36] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
[9/36] Compiling AppAuthCore OIDTokenResponse.m
[10/36] Compiling AppAuthCore resource_bundle_accessor.m
[11/36] Compiling AppAuthCore OIDTokenRequest.m
[12/36] Compiling AppAuthCore OIDServiceDiscovery.m
[13/36] Compiling AppAuthCore OIDServiceConfiguration.m
[14/36] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[15/36] Compiling AppAuthCore OIDScopes.m
[16/36] Compiling AppAuthCore OIDScopeUtilities.m
[17/36] Compiling AppAuthCore OIDResponseTypes.m
[18/36] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.m
[19/36] Compiling AppAuthCore OIDRegistrationResponse.m
[20/36] Compiling AppAuthCore OIDRegistrationRequest.m
[21/36] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
[22/36] Compiling AppAuthCore OIDGrantTypes.m
[23/36] Compiling AppAuthCore OIDIDToken.m
[24/36] Compiling AppAuthCore OIDFieldMapping.m
[25/36] Compiling AppAuthCore OIDURLSessionProvider.m
[26/36] Compiling AppAuthCore OIDErrorUtilities.m
[27/36] Compiling AppAuthCore OIDError.m
[28/36] Compiling AppAuthCore OIDURLQueryComponent.m
[29/36] Compiling AppAuthCore OIDClientMetadataParameters.m
[30/36] Compiling AppAuthCore OIDEndSessionResponse.m
[31/36] Compiling AppAuthCore OIDEndSessionRequest.m
[32/36] Compiling AppAuthCore OIDAuthorizationResponse.m
[33/36] Compiling AppAuthCore OIDAuthorizationRequest.m
[34/36] Compiling AppAuthCore OIDAuthState.m
[35/36] Compiling AppAuthCore OIDAuthorizationService.m
[37/45] Compiling GTMAppAuth resource_bundle_accessor.swift
[38/45] Compiling GTMAppAuth KeychainAttribute.swift
[39/45] Compiling GTMAppAuth KeychainHelper.swift
[40/45] Compiling GTMAppAuth KeychainStore.swift
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/KeychainStore.swift:308:10: warning: associated value 'failedToCreateResponseStringFromAuthSession' of 'Sendable'-conforming enum 'Error' has non-sendable type 'AuthSession'; this is an error in the Swift 6 language mode
306 | case noService
307 | case unexpectedPasswordData(forItemName: String)
308 | case failedToCreateResponseStringFromAuthSession(AuthSession)
| `- warning: associated value 'failedToCreateResponseStringFromAuthSession' of 'Sendable'-conforming enum 'Error' has non-sendable type 'AuthSession'; this is an error in the Swift 6 language mode
309 | case failedToConvertRedirectURItoURL(String)
310 | case failedToConvertAuthSessionToData
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:32:20: note: class 'AuthSession' does not conform to the 'Sendable' protocol
30 | /// Enables you to use AppAuth with the GTM Session Fetcher library.
31 | @objc(GTMAuthSession)
32 | public final class AuthSession: NSObject, GTMSessionFetcherAuthorizer, NSSecureCoding {
| `- note: class 'AuthSession' does not conform to the 'Sendable' protocol
33 | /// The legacy name for this type used while archiving and unarchiving an instance.
34 | static let legacyArchiveName = "GTMAppAuthFetcherAuthorization"
[41/45] Compiling GTMAppAuth AuthSessionStore.swift
[42/45] Compiling GTMAppAuth AuthSession.swift
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:291:16: warning: capture of 'args' with non-sendable type 'AuthorizationArguments' in a '@Sendable' closure
289 | let requestCopy = request as URLRequest
290 | callbackQueue.async {
291 | switch args.callbackStyle {
| `- warning: capture of 'args' with non-sendable type 'AuthorizationArguments' in a '@Sendable' closure
292 | case .completion(let callback):
293 | self.invokeCompletionCallback(with: callback, error: args.error)
:
435 | }
436 |
437 | private struct AuthorizationArguments {
| `- note: consider making struct 'AuthorizationArguments' conform to the 'Sendable' protocol
438 | let request: NSMutableURLRequest
439 | let callbackStyle: CallbackStyle
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:293:11: warning: capture of 'self' with non-sendable type 'AuthSession' in a '@Sendable' closure
30 | /// Enables you to use AppAuth with the GTM Session Fetcher library.
31 | @objc(GTMAuthSession)
32 | public final class AuthSession: NSObject, GTMSessionFetcherAuthorizer, NSSecureCoding {
| `- note: class 'AuthSession' does not conform to the 'Sendable' protocol
33 | /// The legacy name for this type used while archiving and unarchiving an instance.
34 | static let legacyArchiveName = "GTMAppAuthFetcherAuthorization"
:
291 | switch args.callbackStyle {
292 | case .completion(let callback):
293 | self.invokeCompletionCallback(with: callback, error: args.error)
| `- warning: capture of 'self' with non-sendable type 'AuthSession' in a '@Sendable' closure
294 | case .delegate(let delegate, let selector):
295 | self.invokeCallback(
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:291:16: warning: reference to captured var 'args' in concurrently-executing code
289 | let requestCopy = request as URLRequest
290 | callbackQueue.async {
291 | switch args.callbackStyle {
| `- warning: reference to captured var 'args' in concurrently-executing code
292 | case .completion(let callback):
293 | self.invokeCompletionCallback(with: callback, error: args.error)
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:293:64: warning: reference to captured var 'args' in concurrently-executing code
291 | switch args.callbackStyle {
292 | case .completion(let callback):
293 | self.invokeCompletionCallback(with: callback, error: args.error)
| `- warning: reference to captured var 'args' in concurrently-executing code
294 | case .delegate(let delegate, let selector):
295 | self.invokeCallback(
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:299:20: warning: reference to captured var 'args' in concurrently-executing code
297 | selector: selector,
298 | request: requestCopy,
299 | error: args.error
| `- warning: reference to captured var 'args' in concurrently-executing code
300 | )
301 | }
[43/45] Emitting module GTMAppAuth
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/KeychainStore.swift:308:10: warning: associated value 'failedToCreateResponseStringFromAuthSession' of 'Sendable'-conforming enum 'Error' has non-sendable type 'AuthSession'; this is an error in the Swift 6 language mode
306 | case noService
307 | case unexpectedPasswordData(forItemName: String)
308 | case failedToCreateResponseStringFromAuthSession(AuthSession)
| `- warning: associated value 'failedToCreateResponseStringFromAuthSession' of 'Sendable'-conforming enum 'Error' has non-sendable type 'AuthSession'; this is an error in the Swift 6 language mode
309 | case failedToConvertRedirectURItoURL(String)
310 | case failedToConvertAuthSessionToData
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:32:20: note: class 'AuthSession' does not conform to the 'Sendable' protocol
30 | /// Enables you to use AppAuth with the GTM Session Fetcher library.
31 | @objc(GTMAuthSession)
32 | public final class AuthSession: NSObject, GTMSessionFetcherAuthorizer, NSSecureCoding {
| `- note: class 'AuthSession' does not conform to the 'Sendable' protocol
33 | /// The legacy name for this type used while archiving and unarchiving an instance.
34 | static let legacyArchiveName = "GTMAppAuthFetcherAuthorization"
[44/45] Compiling GTMAppAuth AuthSessionDelegate.swift
[45/45] Compiling GTMAppAuth GTMOAuth2Compatibility.swift
[46/56] Compiling TestHelpers OIDTokenRequestTesting.swift
[47/56] Compiling TestHelpers OIDServiceConfigurationTesting.swift
[48/57] Compiling TestHelpers KeychainHelperFake.swift
[49/57] Compiling TestHelpers OIDRegistrationRequestTesting.swift
[50/57] Compiling TestHelpers OIDAuthorizationResponseTesting.swift
[51/57] Compiling TestHelpers OIDAuthorizationRequestTesting.swift
[52/57] Compiling TestHelpers OIDRegistrationResponseTesting.swift
[53/57] Compiling TestHelpers OIDTokenResponseTesting.swift
[54/57] Compiling TestHelpers OIDAuthStateTesting.swift
[55/57] Emitting module TestHelpers
[56/57] Compiling TestHelpers AuthorizationTestingHelp.swift
[57/57] Compiling TestHelpers GTMAppAuthTestingHelpers.swift
Build complete! (14.24s)
Build complete.
{
"dependencies" : [
{
"identity" : "gtm-session-fetcher",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/gtm-session-fetcher.git"
},
{
"identity" : "appauth-ios",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/openid/AppAuth-iOS.git"
}
],
"manifest_display_name" : "GTMAppAuth",
"name" : "GTMAppAuth",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "GTMAppAuth",
"targets" : [
"GTMAppAuth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_objc_interop_tests",
"module_type" : "ClangTarget",
"name" : "swift-objc-interop-tests",
"path" : "GTMAppAuth/Tests/ObjCIntegration",
"product_dependencies" : [
"AppAuthCore"
],
"sources" : [
"GTMAuthSessionTests.m",
"KeychainStore/GTMKeychainStoreTests.m",
"KeychainStore/GTMOAuth2CompatibilityTests.m"
],
"target_dependencies" : [
"GTMAppAuth",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "TestHelpers",
"module_type" : "SwiftTarget",
"name" : "TestHelpers",
"path" : "GTMAppAuth/Tests/Helpers",
"product_dependencies" : [
"AppAuthCore"
],
"sources" : [
"AuthorizationTestingHelp.swift",
"GTMAppAuthTestingHelpers.swift",
"KeychainHelperFake.swift",
"OIDAuthStateTesting.swift",
"OIDAuthorizationRequestTesting.swift",
"OIDAuthorizationResponseTesting.swift",
"OIDRegistrationRequestTesting.swift",
"OIDRegistrationResponseTesting.swift",
"OIDServiceConfigurationTesting.swift",
"OIDTokenRequestTesting.swift",
"OIDTokenResponseTesting.swift"
],
"target_dependencies" : [
"GTMAppAuth"
],
"type" : "library"
},
{
"c99name" : "GTMAppAuthTests",
"module_type" : "SwiftTarget",
"name" : "GTMAppAuthTests",
"path" : "GTMAppAuth/Tests/Unit",
"sources" : [
"AuthSessionTests.swift",
"KeychainStore/GTMOAuth2CompatibilityTests.swift",
"KeychainStore/KeychainStoreTests.swift"
],
"target_dependencies" : [
"GTMAppAuth",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "GTMAppAuth",
"module_type" : "SwiftTarget",
"name" : "GTMAppAuth",
"path" : "GTMAppAuth/Sources",
"product_dependencies" : [
"GTMSessionFetcherCore",
"AppAuthCore"
],
"product_memberships" : [
"GTMAppAuth"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AuthSession.swift",
"AuthSessionDelegate.swift",
"AuthSessionStore.swift",
"KeychainStore/GTMOAuth2Compatibility.swift",
"KeychainStore/KeychainAttribute.swift",
"KeychainStore/KeychainHelper.swift",
"KeychainStore/KeychainStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.