Build Information
Successful build of GTMAppAuth, reference master (77d940
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 12:40:58 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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 77d9408 Update activesupport (#246)
Cloned https://github.com/google/GTMAppAuth.git
Revision (git rev-parse @):
77d9408316cc8a4a181435fdfb9b6bdc450efc38
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
[1/8836] Fetching appauth-ios
[2/12783] Fetching appauth-ios, gtm-session-fetcher
Fetched https://github.com/openid/AppAuth-iOS.git from cache (1.35s)
Fetched https://github.com/google/gtm-session-fetcher.git from cache (1.35s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 1.7.5 (0.66s)
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.64s)
Creating working copy for https://github.com/openid/AppAuth-iOS.git
Working copy of https://github.com/openid/AppAuth-iOS.git resolved at 1.7.5
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": "1.7.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AppAuth-iOS",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/google/GTMAppAuth.git
[1/3696] Fetching gtmappauth
Fetched https://github.com/google/GTMAppAuth.git from cache (1.09s)
Fetching https://github.com/openid/AppAuth-iOS.git from cache
Fetching https://github.com/google/gtm-session-fetcher.git from cache
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.7.5 (0.03s)
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/gtm-session-fetcher.git
Working copy of https://github.com/google/gtm-session-fetcher.git resolved at 3.5.0
Creating working copy for https://github.com/google/GTMAppAuth.git
Working copy of https://github.com/google/GTMAppAuth.git resolved at master (77d9408)
Creating working copy for https://github.com/openid/AppAuth-iOS.git
Working copy of https://github.com/openid/AppAuth-iOS.git resolved at 1.7.5
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.0
Building package at path: $PWD
https://github.com/google/GTMAppAuth.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/36] Write sources
[2/36] Copying PrivacyInfo.xcprivacy
[5/36] Write swift-version--7754E27361AE5C74.txt
[6/36] Compiling AppAuthCore OIDScopes.m
[7/36] Compiling AppAuthCore OIDServiceConfiguration.m
[8/36] Compiling AppAuthCore OIDTokenRequest.m
[9/36] Compiling AppAuthCore OIDURLQueryComponent.m
[10/36] Compiling AppAuthCore resource_bundle_accessor.m
[11/36] Compiling AppAuthCore OIDServiceDiscovery.m
[12/36] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[13/36] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
[14/36] Compiling AppAuthCore OIDTokenResponse.m
[15/36] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.m
[16/36] Compiling GTMSessionFetcherCore resource_bundle_accessor.m
[17/36] Compiling AppAuthCore OIDTokenUtilities.m
[18/36] Compiling AppAuthCore OIDURLSessionProvider.m
[19/36] Compiling AppAuthCore OIDScopeUtilities.m
[20/36] Compiling AppAuthCore OIDResponseTypes.m
[21/36] Compiling AppAuthCore OIDRegistrationRequest.m
[22/36] Compiling AppAuthCore OIDRegistrationResponse.m
[23/36] Compiling AppAuthCore OIDIDToken.m
[24/36] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
[25/36] Compiling AppAuthCore OIDGrantTypes.m
[26/36] Compiling AppAuthCore OIDFieldMapping.m
[27/36] Compiling AppAuthCore OIDError.m
[28/36] Compiling AppAuthCore OIDErrorUtilities.m
[29/36] Compiling AppAuthCore OIDEndSessionResponse.m
[30/36] Compiling AppAuthCore OIDEndSessionRequest.m
[31/36] Compiling AppAuthCore OIDClientMetadataParameters.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 GTMOAuth2Compatibility.swift
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/GTMOAuth2Compatibility.swift:111:22: warning: static property 'googleAuthorizationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private static var googleAuthorizationURL = URL(string: "https://accounts.google.com/o/oauth2/v2/auth")!
| |- warning: static property 'googleAuthorizationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'googleAuthorizationURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'googleAuthorizationURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | static let googleTokenURL = URL(string: "https://www.googleapis.com/oauth2/v4/token")!
113 | static var googleRevocationURL = URL(string: "https://accounts.google.com/o/oauth2/revoke")!
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/GTMOAuth2Compatibility.swift:113:14: warning: static property 'googleRevocationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | private static var googleAuthorizationURL = URL(string: "https://accounts.google.com/o/oauth2/v2/auth")!
112 | static let googleTokenURL = URL(string: "https://www.googleapis.com/oauth2/v4/token")!
113 | static var googleRevocationURL = URL(string: "https://accounts.google.com/o/oauth2/revoke")!
| |- warning: static property 'googleRevocationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'googleRevocationURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'googleRevocationURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | static var googleUserInfoURL = URL(string: "https://www.googleapis.com/oauth2/v3/userinfo")!
115 | static var nativeClientRedirectURI: String {
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/GTMOAuth2Compatibility.swift:114:14: warning: static property 'googleUserInfoURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 | static let googleTokenURL = URL(string: "https://www.googleapis.com/oauth2/v4/token")!
113 | static var googleRevocationURL = URL(string: "https://accounts.google.com/o/oauth2/revoke")!
114 | static var googleUserInfoURL = URL(string: "https://www.googleapis.com/oauth2/v3/userinfo")!
| |- warning: static property 'googleUserInfoURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'googleUserInfoURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'googleUserInfoURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | static var nativeClientRedirectURI: String {
116 | return oobString
[39/45] Compiling GTMAppAuth AuthSessionStore.swift
[40/45] Compiling GTMAppAuth AuthSession.swift
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:290:16: warning: capture of 'args' with non-sendable type 'AuthorizationArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
288 | let callback: () -> Void = {
289 | callbackQueue.async {
290 | switch args.callbackStyle {
| `- warning: capture of 'args' with non-sendable type 'AuthorizationArguments' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 | case .completion(let callback):
292 | self.invokeCompletionCallback(with: callback, error: args.error)
:
434 | }
435 |
436 | private struct AuthorizationArguments {
| `- note: consider making struct 'AuthorizationArguments' conform to the 'Sendable' protocol
437 | let request: NSMutableURLRequest
438 | let callbackStyle: CallbackStyle
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:292:11: warning: capture of 'self' with non-sendable type 'AuthSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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"
:
290 | switch args.callbackStyle {
291 | case .completion(let callback):
292 | self.invokeCompletionCallback(with: callback, error: args.error)
| `- warning: capture of 'self' with non-sendable type 'AuthSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
293 | case .delegate(let delegate, let selector):
294 | self.invokeCallback(
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:297:22: warning: capture of 'request' with non-sendable type 'NSMutableURLRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | withDelegate: delegate,
296 | selector: selector,
297 | request: request,
| `- warning: capture of 'request' with non-sendable type 'NSMutableURLRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
298 | error: args.error
299 | )
Foundation.NSMutableURLRequest:2:12: note: class 'NSMutableURLRequest' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.2, *)
2 | open class NSMutableURLRequest : NSURLRequest {
| `- note: class 'NSMutableURLRequest' does not conform to the 'Sendable' protocol
3 | open var url: URL? { get set }
4 | @available(swift, obsoleted: 3, renamed: "url")
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:290:16: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
288 | let callback: () -> Void = {
289 | callbackQueue.async {
290 | switch args.callbackStyle {
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
291 | case .completion(let callback):
292 | self.invokeCompletionCallback(with: callback, error: args.error)
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:292:64: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
290 | switch args.callbackStyle {
291 | case .completion(let callback):
292 | self.invokeCompletionCallback(with: callback, error: args.error)
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
293 | case .delegate(let delegate, let selector):
294 | self.invokeCallback(
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/AuthSession.swift:298:20: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
296 | selector: selector,
297 | request: request,
298 | error: args.error
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
299 | )
300 | }
[41/45] Emitting module GTMAppAuth
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/GTMOAuth2Compatibility.swift:111:22: warning: static property 'googleAuthorizationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private static var googleAuthorizationURL = URL(string: "https://accounts.google.com/o/oauth2/v2/auth")!
| |- warning: static property 'googleAuthorizationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'googleAuthorizationURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'googleAuthorizationURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | static let googleTokenURL = URL(string: "https://www.googleapis.com/oauth2/v4/token")!
113 | static var googleRevocationURL = URL(string: "https://accounts.google.com/o/oauth2/revoke")!
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/GTMOAuth2Compatibility.swift:113:14: warning: static property 'googleRevocationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | private static var googleAuthorizationURL = URL(string: "https://accounts.google.com/o/oauth2/v2/auth")!
112 | static let googleTokenURL = URL(string: "https://www.googleapis.com/oauth2/v4/token")!
113 | static var googleRevocationURL = URL(string: "https://accounts.google.com/o/oauth2/revoke")!
| |- warning: static property 'googleRevocationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'googleRevocationURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'googleRevocationURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | static var googleUserInfoURL = URL(string: "https://www.googleapis.com/oauth2/v3/userinfo")!
115 | static var nativeClientRedirectURI: String {
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/GTMOAuth2Compatibility.swift:114:14: warning: static property 'googleUserInfoURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 | static let googleTokenURL = URL(string: "https://www.googleapis.com/oauth2/v4/token")!
113 | static var googleRevocationURL = URL(string: "https://accounts.google.com/o/oauth2/revoke")!
114 | static var googleUserInfoURL = URL(string: "https://www.googleapis.com/oauth2/v3/userinfo")!
| |- warning: static property 'googleUserInfoURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'googleUserInfoURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'googleUserInfoURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | static var nativeClientRedirectURI: String {
116 | return oobString
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/KeychainAttribute.swift:62:27: warning: static property 'useDataProtectionKeychain' is not concurrency-safe because non-'Sendable' type 'KeychainAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The Keychain attribute used to configure the way the keychain stores your items.
20 | @objc(GTMKeychainAttribute)
21 | public final class KeychainAttribute: NSObject {
| `- note: class 'KeychainAttribute' does not conform to the 'Sendable' protocol
22 | /// An enumeratiion listing the various attributes used to configure the Keychain.
23 | public enum Attribute {
:
60 | /// - Returns: An instance of `KeychainAttribute`.
61 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
62 | @objc public static let useDataProtectionKeychain = KeychainAttribute(
| |- warning: static property 'useDataProtectionKeychain' is not concurrency-safe because non-'Sendable' type 'KeychainAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useDataProtectionKeychain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | attribute: .useDataProtectionKeychain
64 | )
/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"
[42/45] Compiling GTMAppAuth KeychainAttribute.swift
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/KeychainAttribute.swift:62:27: warning: static property 'useDataProtectionKeychain' is not concurrency-safe because non-'Sendable' type 'KeychainAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The Keychain attribute used to configure the way the keychain stores your items.
20 | @objc(GTMKeychainAttribute)
21 | public final class KeychainAttribute: NSObject {
| `- note: class 'KeychainAttribute' does not conform to the 'Sendable' protocol
22 | /// An enumeratiion listing the various attributes used to configure the Keychain.
23 | public enum Attribute {
:
60 | /// - Returns: An instance of `KeychainAttribute`.
61 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
62 | @objc public static let useDataProtectionKeychain = KeychainAttribute(
| |- warning: static property 'useDataProtectionKeychain' is not concurrency-safe because non-'Sendable' type 'KeychainAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useDataProtectionKeychain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | attribute: .useDataProtectionKeychain
64 | )
[43/45] Compiling GTMAppAuth AuthSessionDelegate.swift
[44/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"
/Users/admin/builder/spi-builder-workspace/GTMAppAuth/Sources/KeychainStore/KeychainAttribute.swift:62:27: warning: static property 'useDataProtectionKeychain' is not concurrency-safe because non-'Sendable' type 'KeychainAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The Keychain attribute used to configure the way the keychain stores your items.
20 | @objc(GTMKeychainAttribute)
21 | public final class KeychainAttribute: NSObject {
| `- note: class 'KeychainAttribute' does not conform to the 'Sendable' protocol
22 | /// An enumeratiion listing the various attributes used to configure the Keychain.
23 | public enum Attribute {
:
60 | /// - Returns: An instance of `KeychainAttribute`.
61 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
62 | @objc public static let useDataProtectionKeychain = KeychainAttribute(
| |- warning: static property 'useDataProtectionKeychain' is not concurrency-safe because non-'Sendable' type 'KeychainAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useDataProtectionKeychain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | attribute: .useDataProtectionKeychain
64 | )
[45/45] Compiling GTMAppAuth KeychainHelper.swift
[46/56] Compiling TestHelpers OIDRegistrationResponseTesting.swift
[47/56] Compiling TestHelpers OIDServiceConfigurationTesting.swift
[48/56] Compiling TestHelpers OIDTokenRequestTesting.swift
[49/57] Compiling TestHelpers OIDAuthorizationRequestTesting.swift
[50/57] Compiling TestHelpers OIDRegistrationRequestTesting.swift
[51/57] Compiling TestHelpers OIDAuthorizationResponseTesting.swift
[52/57] Compiling TestHelpers AuthorizationTestingHelp.swift
[53/57] Compiling TestHelpers GTMAppAuthTestingHelpers.swift
[54/57] Emitting module TestHelpers
[55/57] Compiling TestHelpers OIDAuthStateTesting.swift
[56/57] Compiling TestHelpers KeychainHelperFake.swift
[57/57] Compiling TestHelpers OIDTokenResponseTesting.swift
Build complete! (22.73s)
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" : "1.7.0",
"upper_bound" : "2.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" : "10.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.