The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GTMAppAuth, reference master (bc5847), with Swift 6.1 for macOS (SPM) on 18 Feb 2026 16:04:33 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.68.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 bc58479 Use macos-latest instead of hardcoded version number (#274)
Cloned https://github.com/google/GTMAppAuth.git
Revision (git rev-parse @):
bc58479cef12c3091d3a19d7bc59c58bf5e54f03
SUCCESS checkout https://github.com/google/GTMAppAuth.git at master
========================================
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 OIDURLQueryComponent.m
[7/36] Compiling GTMSessionFetcherCore resource_bundle_accessor.m
[8/36] Compiling AppAuthCore OIDTokenRequest.m
[9/36] Compiling AppAuthCore OIDServiceDiscovery.m
[10/36] Compiling AppAuthCore OIDTokenUtilities.m
[11/36] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
[12/36] Compiling AppAuthCore resource_bundle_accessor.m
[13/36] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[14/36] Compiling AppAuthCore OIDServiceConfiguration.m
[15/36] Compiling AppAuthCore OIDScopes.m
[16/36] Compiling AppAuthCore OIDTokenResponse.m
[17/36] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
[18/36] Compiling AppAuthCore OIDScopeUtilities.m
[19/36] Compiling AppAuthCore OIDResponseTypes.m
[20/36] Compiling AppAuthCore OIDRegistrationResponse.m
[21/36] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.m
[22/36] Compiling AppAuthCore OIDRegistrationRequest.m
[23/36] Compiling AppAuthCore OIDURLSessionProvider.m
[24/36] Compiling AppAuthCore OIDIDToken.m
[25/36] Compiling AppAuthCore OIDGrantTypes.m
[26/36] Compiling AppAuthCore OIDFieldMapping.m
[27/36] Compiling AppAuthCore OIDErrorUtilities.m
[28/36] Compiling AppAuthCore OIDError.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 KeychainAttribute.swift
[38/45] Compiling GTMAppAuth resource_bundle_accessor.swift
[39/45] Compiling GTMAppAuth AuthSessionStore.swift
[40/45] Compiling GTMAppAuth AuthSessionDelegate.swift
[41/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 |         }
[42/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"
[43/45] Compiling GTMAppAuth GTMOAuth2Compatibility.swift
[44/45] Compiling GTMAppAuth KeychainHelper.swift
[45/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"
[46/56] Compiling TestHelpers OIDServiceConfigurationTesting.swift
[47/57] Compiling TestHelpers OIDAuthorizationRequestTesting.swift
[48/57] Compiling TestHelpers OIDRegistrationResponseTesting.swift
[49/57] Compiling TestHelpers OIDAuthStateTesting.swift
[50/57] Compiling TestHelpers OIDTokenRequestTesting.swift
[51/57] Compiling TestHelpers OIDRegistrationRequestTesting.swift
[52/57] Compiling TestHelpers OIDAuthorizationResponseTesting.swift
[53/57] Compiling TestHelpers OIDTokenResponseTesting.swift
[54/57] Emitting module TestHelpers
[55/57] Compiling TestHelpers AuthorizationTestingHelp.swift
[56/57] Compiling TestHelpers GTMAppAuthTestingHelpers.swift
[57/57] Compiling TestHelpers KeychainHelperFake.swift
Build complete! (16.98s)
Fetching https://github.com/openid/AppAuth-iOS.git
Fetching https://github.com/google/gtm-session-fetcher.git from cache
[1/9374] Fetching appauth-ios
Fetched https://github.com/openid/AppAuth-iOS.git from cache (1.41s)
Fetched https://github.com/google/gtm-session-fetcher.git from cache (1.43s)
Computing version for https://github.com/openid/AppAuth-iOS.git
Computed https://github.com/openid/AppAuth-iOS.git at 2.0.0 (2.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.57s)
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
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.