Build Information
Successful build of Auth0, reference master (f2d44b
), with Swift 6.0 for macOS (SPM) on 13 Nov 2024 10:25:01 UTC.
Swift 6 data race errors: 4
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
/Users/admin/builder/spi-builder-workspace/Auth0/Logger.swift:4:17: note: protocol 'Logger' does not conform to the 'Sendable' protocol
2 |
3 | /// Logger for debugging purposes.
4 | public protocol Logger {
| `- note: protocol 'Logger' does not conform to the 'Sendable' protocol
5 |
6 | /// Log an HTTP request.
/Users/admin/builder/spi-builder-workspace/Auth0/Request.swift:87:13: warning: capture of 'handler' with non-sendable type '(Response<E>, (Result<T, E>) -> Void) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | logger?.trace(response: response, data: data)
86 | }
87 | handler(Response(data: data, response: response as? HTTPURLResponse, error: error), callback)
| |- warning: capture of 'handler' with non-sendable type '(Response<E>, (Result<T, E>) -> Void) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | })
89 | task.resume()
/Users/admin/builder/spi-builder-workspace/Auth0/Request.swift:87:97: warning: capture of 'callback' with non-sendable type 'Request<T, E>.Callback' (aka '(Result<T, E>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | logger?.trace(response: response, data: data)
86 | }
87 | handler(Response(data: data, response: response as? HTTPURLResponse, error: error), callback)
| |- warning: capture of 'callback' with non-sendable type 'Request<T, E>.Callback' (aka '(Result<T, E>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
88 | })
89 | task.resume()
/Users/admin/builder/spi-builder-workspace/Auth0/Request.swift:143:37: warning: converting a value of type '(__shared sending Result<T, E>) -> ()' to type '(Result<T, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
141 | func start() async throws -> T {
142 | return try await withCheckedThrowingContinuation { continuation in
143 | self.start(continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T, E>) -> ()' to type '(Result<T, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
144 | }
145 | }
[43/78] Compiling Auth0 WebAuthError.swift
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
[44/78] Compiling Auth0 WebAuthUserAgent.swift
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
[45/78] Compiling Auth0 WebAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
[46/78] Compiling Auth0 WebViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
[47/78] Compiling Auth0 resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
[48/78] Compiling Auth0 AuthTransaction.swift
/Users/admin/builder/spi-builder-workspace/Auth0/AuthenticationError.swift:11:16: warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | /// Additional information about the error.
11 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | /// Creates an error from a JSON response.
[49/78] Compiling Auth0 Authentication.swift
/Users/admin/builder/spi-builder-workspace/Auth0/AuthenticationError.swift:11:16: warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | /// Additional information about the error.
11 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | /// Creates an error from a JSON response.
[50/78] Compiling Auth0 AuthenticationError.swift
/Users/admin/builder/spi-builder-workspace/Auth0/AuthenticationError.swift:11:16: warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | /// Additional information about the error.
11 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | /// Creates an error from a JSON response.
[51/78] Compiling Auth0 BioAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Auth0/AuthenticationError.swift:11:16: warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | /// Additional information about the error.
11 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | /// Creates an error from a JSON response.
[52/78] Compiling Auth0 Challenge.swift
/Users/admin/builder/spi-builder-workspace/Auth0/AuthenticationError.swift:11:16: warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | /// Additional information about the error.
11 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | /// Creates an error from a JSON response.
[53/78] Compiling Auth0 ChallengeGenerator.swift
/Users/admin/builder/spi-builder-workspace/Auth0/AuthenticationError.swift:11:16: warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | /// Additional information about the error.
11 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | /// Creates an error from a JSON response.
[54/78] Compiling Auth0 Logger.swift
/Users/admin/builder/spi-builder-workspace/Auth0/ManagementError.swift:7:16: warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
5 |
6 | /// Additional information about the error.
7 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
8 |
9 | /// Creates an error from a JSON response.
[55/78] Compiling Auth0 LoginTransaction.swift
/Users/admin/builder/spi-builder-workspace/Auth0/ManagementError.swift:7:16: warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
5 |
6 | /// Additional information about the error.
7 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
8 |
9 | /// Creates an error from a JSON response.
[56/78] Compiling Auth0 Management.swift
/Users/admin/builder/spi-builder-workspace/Auth0/ManagementError.swift:7:16: warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
5 |
6 | /// Additional information about the error.
7 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
8 |
9 | /// Creates an error from a JSON response.
[57/78] Compiling Auth0 ManagementError.swift
/Users/admin/builder/spi-builder-workspace/Auth0/ManagementError.swift:7:16: warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
5 |
6 | /// Additional information about the error.
7 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
8 |
9 | /// Creates an error from a JSON response.
[58/78] Compiling Auth0 MobileWebAuth.swift
/Users/admin/builder/spi-builder-workspace/Auth0/ManagementError.swift:7:16: warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
5 |
6 | /// Additional information about the error.
7 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
8 |
9 | /// Creates an error from a JSON response.
[59/78] Compiling Auth0 NSData+URLSafe.swift
/Users/admin/builder/spi-builder-workspace/Auth0/ManagementError.swift:7:16: warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
5 |
6 | /// Additional information about the error.
7 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
8 |
9 | /// Creates an error from a JSON response.
[60/78] Compiling Auth0 ClaimValidators.swift
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:376:13: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
374 | callback: @escaping (CredentialsManagerResult<Credentials>) -> Void) {
375 | self.dispatchQueue.async {
376 | self.dispatchGroup.enter()
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:379:41: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
379 | guard let credentials = retrieveCredentials() else {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:384:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
382 | }
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:385:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
386 | self.hasScopeChanged(credentials, from: scope) else {
387 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:386:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
387 | self.dispatchGroup.leave()
388 | return callback(.success(credentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:408:32: warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
406 | expiresIn: credentials.expiresIn,
407 | scope: credentials.scope)
408 | if self.willExpire(newCredentials, within: minTTL) {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
409 | let tokenLifetime = Int(credentials.expiresIn.timeIntervalSinceNow)
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:412:33: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
411 | self.dispatchGroup.leave()
412 | callback(.failure(error))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
413 | } else if !self.store(credentials: newCredentials) {
414 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:682:56: warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
680 | func revoke(headers: [String: String] = [:]) async throws {
681 | return try await withCheckedThrowingContinuation { continuation in
682 | self.revoke(headers: headers, continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
683 | }
684 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:752:53: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
750 | parameters: parameters,
751 | headers: headers,
752 | callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
753 | }
754 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:795:89: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
793 | func renew(parameters: [String: Any] = [:], headers: [String: String] = [:]) async throws -> Credentials {
794 | return try await withCheckedThrowingContinuation { continuation in
795 | self.renew(parameters: parameters, headers: headers, callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
796 | }
797 | }
[61/78] Compiling Auth0 ClearSessionTransaction.swift
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:376:13: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
374 | callback: @escaping (CredentialsManagerResult<Credentials>) -> Void) {
375 | self.dispatchQueue.async {
376 | self.dispatchGroup.enter()
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:379:41: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
379 | guard let credentials = retrieveCredentials() else {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:384:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
382 | }
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:385:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
386 | self.hasScopeChanged(credentials, from: scope) else {
387 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:386:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
387 | self.dispatchGroup.leave()
388 | return callback(.success(credentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:408:32: warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
406 | expiresIn: credentials.expiresIn,
407 | scope: credentials.scope)
408 | if self.willExpire(newCredentials, within: minTTL) {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
409 | let tokenLifetime = Int(credentials.expiresIn.timeIntervalSinceNow)
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:412:33: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
411 | self.dispatchGroup.leave()
412 | callback(.failure(error))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
413 | } else if !self.store(credentials: newCredentials) {
414 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:682:56: warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
680 | func revoke(headers: [String: String] = [:]) async throws {
681 | return try await withCheckedThrowingContinuation { continuation in
682 | self.revoke(headers: headers, continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
683 | }
684 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:752:53: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
750 | parameters: parameters,
751 | headers: headers,
752 | callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
753 | }
754 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:795:89: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
793 | func renew(parameters: [String: Any] = [:], headers: [String: String] = [:]) async throws -> Credentials {
794 | return try await withCheckedThrowingContinuation { continuation in
795 | self.renew(parameters: parameters, headers: headers, callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
796 | }
797 | }
[62/78] Compiling Auth0 Credentials.swift
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:376:13: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
374 | callback: @escaping (CredentialsManagerResult<Credentials>) -> Void) {
375 | self.dispatchQueue.async {
376 | self.dispatchGroup.enter()
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:379:41: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
379 | guard let credentials = retrieveCredentials() else {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:384:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
382 | }
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:385:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
386 | self.hasScopeChanged(credentials, from: scope) else {
387 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:386:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
387 | self.dispatchGroup.leave()
388 | return callback(.success(credentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:408:32: warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
406 | expiresIn: credentials.expiresIn,
407 | scope: credentials.scope)
408 | if self.willExpire(newCredentials, within: minTTL) {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
409 | let tokenLifetime = Int(credentials.expiresIn.timeIntervalSinceNow)
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:412:33: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
411 | self.dispatchGroup.leave()
412 | callback(.failure(error))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
413 | } else if !self.store(credentials: newCredentials) {
414 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:682:56: warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
680 | func revoke(headers: [String: String] = [:]) async throws {
681 | return try await withCheckedThrowingContinuation { continuation in
682 | self.revoke(headers: headers, continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
683 | }
684 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:752:53: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
750 | parameters: parameters,
751 | headers: headers,
752 | callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
753 | }
754 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:795:89: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
793 | func renew(parameters: [String: Any] = [:], headers: [String: String] = [:]) async throws -> Credentials {
794 | return try await withCheckedThrowingContinuation { continuation in
795 | self.renew(parameters: parameters, headers: headers, callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
796 | }
797 | }
[63/78] Compiling Auth0 CredentialsManager.swift
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:376:13: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
374 | callback: @escaping (CredentialsManagerResult<Credentials>) -> Void) {
375 | self.dispatchQueue.async {
376 | self.dispatchGroup.enter()
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:379:41: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
379 | guard let credentials = retrieveCredentials() else {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:384:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
382 | }
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:385:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
386 | self.hasScopeChanged(credentials, from: scope) else {
387 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:386:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
387 | self.dispatchGroup.leave()
388 | return callback(.success(credentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:408:32: warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
406 | expiresIn: credentials.expiresIn,
407 | scope: credentials.scope)
408 | if self.willExpire(newCredentials, within: minTTL) {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
409 | let tokenLifetime = Int(credentials.expiresIn.timeIntervalSinceNow)
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:412:33: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
411 | self.dispatchGroup.leave()
412 | callback(.failure(error))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
413 | } else if !self.store(credentials: newCredentials) {
414 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:682:56: warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
680 | func revoke(headers: [String: String] = [:]) async throws {
681 | return try await withCheckedThrowingContinuation { continuation in
682 | self.revoke(headers: headers, continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
683 | }
684 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:752:53: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
750 | parameters: parameters,
751 | headers: headers,
752 | callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
753 | }
754 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:795:89: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
793 | func renew(parameters: [String: Any] = [:], headers: [String: String] = [:]) async throws -> Credentials {
794 | return try await withCheckedThrowingContinuation { continuation in
795 | self.renew(parameters: parameters, headers: headers, callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
796 | }
797 | }
[64/78] Compiling Auth0 CredentialsManagerError.swift
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:376:13: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
374 | callback: @escaping (CredentialsManagerResult<Credentials>) -> Void) {
375 | self.dispatchQueue.async {
376 | self.dispatchGroup.enter()
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:379:41: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
379 | guard let credentials = retrieveCredentials() else {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:384:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
382 | }
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:385:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
386 | self.hasScopeChanged(credentials, from: scope) else {
387 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:386:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
387 | self.dispatchGroup.leave()
388 | return callback(.success(credentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:408:32: warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
406 | expiresIn: credentials.expiresIn,
407 | scope: credentials.scope)
408 | if self.willExpire(newCredentials, within: minTTL) {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
409 | let tokenLifetime = Int(credentials.expiresIn.timeIntervalSinceNow)
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:412:33: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
411 | self.dispatchGroup.leave()
412 | callback(.failure(error))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
413 | } else if !self.store(credentials: newCredentials) {
414 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:682:56: warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
680 | func revoke(headers: [String: String] = [:]) async throws {
681 | return try await withCheckedThrowingContinuation { continuation in
682 | self.revoke(headers: headers, continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
683 | }
684 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:752:53: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
750 | parameters: parameters,
751 | headers: headers,
752 | callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
753 | }
754 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:795:89: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
793 | func renew(parameters: [String: Any] = [:], headers: [String: String] = [:]) async throws -> Credentials {
794 | return try await withCheckedThrowingContinuation { continuation in
795 | self.renew(parameters: parameters, headers: headers, callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
796 | }
797 | }
[65/78] Compiling Auth0 CredentialsStorage.swift
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:376:13: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
374 | callback: @escaping (CredentialsManagerResult<Credentials>) -> Void) {
375 | self.dispatchQueue.async {
376 | self.dispatchGroup.enter()
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:379:41: warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
377 |
378 | DispatchQueue.global(qos: .userInitiated).async {
379 | guard let credentials = retrieveCredentials() else {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:381:28: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
379 | guard let credentials = retrieveCredentials() else {
380 | self.dispatchGroup.leave()
381 | return callback(.failure(.noCredentials))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
382 | }
383 | guard forceRenewal ||
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:397:33: warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 | self.authentication
396 | .renew(withRefreshToken: refreshToken, scope: scope)
397 | .parameters(parameters)
| `- warning: capture of 'parameters' with non-sendable type '[String : Any]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
398 | .headers(headers)
399 | .start { result in
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:384:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
382 | }
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:385:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
383 | guard forceRenewal ||
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
386 | self.hasScopeChanged(credentials, from: scope) else {
387 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:386:23: warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
384 | self.hasExpired(credentials) ||
385 | self.willExpire(credentials, within: minTTL) ||
386 | self.hasScopeChanged(credentials, from: scope) else {
| `- warning: implicit capture of 'self' requires that 'CredentialsManager' conforms to `Sendable`; this is an error in the Swift 6 language mode
387 | self.dispatchGroup.leave()
388 | return callback(.success(credentials))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:408:32: warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
20 | /// - ``CredentialsManagerError``
21 | /// - <doc:RefreshTokens>
22 | public struct CredentialsManager {
| `- note: consider making struct 'CredentialsManager' conform to the 'Sendable' protocol
23 |
24 | private let storage: CredentialsStorage
:
406 | expiresIn: credentials.expiresIn,
407 | scope: credentials.scope)
408 | if self.willExpire(newCredentials, within: minTTL) {
| `- warning: capture of 'self' with non-sendable type 'CredentialsManager' in an isolated closure; this is an error in the Swift 6 language mode
409 | let tokenLifetime = Int(credentials.expiresIn.timeIntervalSinceNow)
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:412:33: warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
410 | let error = CredentialsManagerError(code: .largeMinTTL(minTTL: minTTL, lifetime: tokenLifetime))
411 | self.dispatchGroup.leave()
412 | callback(.failure(error))
| |- warning: capture of 'callback' with non-sendable type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
413 | } else if !self.store(credentials: newCredentials) {
414 | self.dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:682:56: warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
680 | func revoke(headers: [String: String] = [:]) async throws {
681 | return try await withCheckedThrowingContinuation { continuation in
682 | self.revoke(headers: headers, continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Void, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Void>) -> Void' (aka '(Result<(), CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
683 | }
684 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:752:53: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
750 | parameters: parameters,
751 | headers: headers,
752 | callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
753 | }
754 | }
/Users/admin/builder/spi-builder-workspace/Auth0/CredentialsManager.swift:795:89: warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
793 | func renew(parameters: [String: Any] = [:], headers: [String: String] = [:]) async throws -> Credentials {
794 | return try await withCheckedThrowingContinuation { continuation in
795 | self.renew(parameters: parameters, headers: headers, callback: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, CredentialsManagerError>) -> ()' to type '(CredentialsManagerResult<Credentials>) -> Void' (aka '(Result<Credentials, CredentialsManagerError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
796 | }
797 | }
[66/78] Emitting module Auth0
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Auth0/ASProvider.swift:41:16: warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let completionHandler: (_ callback: @escaping WebAuthProviderCallback) -> ASHandler = { callback in
| |- warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completionHandler' 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
42 | return {
43 | guard let callbackURL = $0, $1 == nil else {
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
/Users/admin/builder/spi-builder-workspace/Auth0/AuthenticationError.swift:11:16: warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | /// Additional information about the error.
11 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'AuthenticationError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | /// Creates an error from a JSON response.
/Users/admin/builder/spi-builder-workspace/Auth0/ManagementError.swift:7:16: warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
5 |
6 | /// Additional information about the error.
7 | public let info: [String: Any]
| `- warning: stored property 'info' of 'Sendable'-conforming struct 'ManagementError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
8 |
9 | /// Creates an error from a JSON response.
[67/78] Compiling Auth0 ASProvider.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Auth0/ASProvider.swift:41:16: warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let completionHandler: (_ callback: @escaping WebAuthProviderCallback) -> ASHandler = { callback in
| |- warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completionHandler' 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
42 | return {
43 | guard let callbackURL = $0, $1 == nil else {
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:41: warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | continuation.resume(with: result)
352 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
351 | continuation.resume(with: result)
352 | }
[68/78] Compiling Auth0 Array+Encode.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Auth0/ASProvider.swift:41:16: warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let completionHandler: (_ callback: @escaping WebAuthProviderCallback) -> ASHandler = { callback in
| |- warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completionHandler' 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
42 | return {
43 | guard let callbackURL = $0, $1 == nil else {
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:41: warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | continuation.resume(with: result)
352 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
351 | continuation.resume(with: result)
352 | }
[69/78] Compiling Auth0 Auth0.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Auth0/ASProvider.swift:41:16: warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let completionHandler: (_ callback: @escaping WebAuthProviderCallback) -> ASHandler = { callback in
| |- warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completionHandler' 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
42 | return {
43 | guard let callbackURL = $0, $1 == nil else {
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:41: warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | continuation.resume(with: result)
352 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
351 | continuation.resume(with: result)
352 | }
[70/78] Compiling Auth0 Auth0Authentication.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Auth0/ASProvider.swift:41:16: warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let completionHandler: (_ callback: @escaping WebAuthProviderCallback) -> ASHandler = { callback in
| |- warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completionHandler' 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
42 | return {
43 | guard let callbackURL = $0, $1 == nil else {
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:41: warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | continuation.resume(with: result)
352 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
351 | continuation.resume(with: result)
352 | }
[71/78] Compiling Auth0 Auth0Error.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Auth0/ASProvider.swift:41:16: warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let completionHandler: (_ callback: @escaping WebAuthProviderCallback) -> ASHandler = { callback in
| |- warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completionHandler' 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
42 | return {
43 | guard let callbackURL = $0, $1 == nil else {
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:41: warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | continuation.resume(with: result)
352 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
351 | continuation.resume(with: result)
352 | }
[72/78] Compiling Auth0 Auth0WebAuth.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Auth0/ASProvider.swift:41:16: warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let completionHandler: (_ callback: @escaping WebAuthProviderCallback) -> ASHandler = { callback in
| |- warning: static property 'completionHandler' is not concurrency-safe because non-'Sendable' type '(@escaping WebAuthProviderCallback) -> ASHandler' (aka '(@escaping (Result<(), WebAuthError>) -> ()) -> (Optional<URL>, Optional<any Error>) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'completionHandler' 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
42 | return {
43 | guard let callbackURL = $0, $1 == nil else {
/Users/admin/builder/spi-builder-workspace/Auth0/TransactionStore.swift:7:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Keeps track of the current Auth Transaction.
5 | class TransactionStore {
| `- note: class 'TransactionStore' does not conform to the 'Sendable' protocol
6 |
7 | static let shared = TransactionStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionStore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
8 |
9 | private(set) var current: AuthTransaction?
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:41: warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Credentials, WebAuthError>) -> ()' to type '(WebAuthResult<Credentials>) -> Void' (aka '(Result<Credentials, WebAuthError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
3 | import Combine
4 |
5 | final class Auth0WebAuth: WebAuth {
| `- note: class 'Auth0WebAuth' does not conform to the 'Sendable' protocol
6 |
7 | let clientId: String
:
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| `- warning: capture of 'self' with non-sendable type 'Auth0WebAuth' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | continuation.resume(with: result)
352 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:342:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
340 | return try await withCheckedThrowingContinuation { continuation in
341 | DispatchQueue.main.async {
342 | self.start(continuation.resume)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
343 | }
344 | }
/Users/admin/builder/spi-builder-workspace/Auth0/Auth0WebAuth.swift:350:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
348 | return try await withCheckedThrowingContinuation { continuation in
349 | DispatchQueue.main.async {
350 | self.clearSession(federated: federated) { result in
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
351 | continuation.resume(with: result)
352 | }
[73/78] Compiling Auth0 DesktopWebAuth.swift
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:13: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:46: warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
1 | #if WEB_AUTH_PLATFORM
2 | import Foundation
3 | import JWTDecode
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
4 |
5 | protocol JWTValidator {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:30: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:60: warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
[74/78] Compiling Auth0 Handlers.swift
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:13: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:46: warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
1 | #if WEB_AUTH_PLATFORM
2 | import Foundation
3 | import JWTDecode
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
4 |
5 | protocol JWTValidator {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:30: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:60: warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
[75/78] Compiling Auth0 Helpers.swift
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:13: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:46: warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
1 | #if WEB_AUTH_PLATFORM
2 | import Foundation
3 | import JWTDecode
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
4 |
5 | protocol JWTValidator {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:30: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:60: warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
[76/78] Compiling Auth0 IDTokenSignatureValidator.swift
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:13: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:46: warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
1 | #if WEB_AUTH_PLATFORM
2 | import Foundation
3 | import JWTDecode
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
4 |
5 | protocol JWTValidator {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:30: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:60: warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
[77/78] Compiling Auth0 IDTokenValidator.swift
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:13: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:46: warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
1 | #if WEB_AUTH_PLATFORM
2 | import Foundation
3 | import JWTDecode
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
4 |
5 | protocol JWTValidator {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:30: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:60: warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
[78/78] Compiling Auth0 IDTokenValidatorContext.swift
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:13: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:28:46: warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | func validate(_ jwt: JWT, callback: @escaping (Auth0Error?) -> Void) {
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
1 | #if WEB_AUTH_PLATFORM
2 | import Foundation
3 | import JWTDecode
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JWTDecode'
4 |
5 | protocol JWTValidator {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:29:47: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
27 | DispatchQueue.global(qos: .userInitiated).async {
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:30: warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
11 | }
12 |
13 | struct IDTokenValidator: JWTAsyncValidator {
| `- note: consider making struct 'IDTokenValidator' conform to the 'Sendable' protocol
14 | private let signatureValidator: JWTAsyncValidator
15 | private let claimsValidator: JWTValidator
:
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'self' with non-sendable type 'IDTokenValidator' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:30:60: warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
28 | self.signatureValidator.validate(jwt) { error in
29 | if let error = error { return callback(error) }
30 | let result = self.claimsValidator.validate(jwt)
| `- warning: capture of 'jwt' with non-sendable type 'any JWT' in an isolated closure; this is an error in the Swift 6 language mode
31 | DispatchQueue.main.async {
32 | callback(result)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JWTDecode.swift/JWTDecode/JWT.swift:10:17: note: protocol 'JWT' does not conform to the 'Sendable' protocol
8 | /// - [Validate JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens/validate-json-web-tokens)
9 | /// - [Validate ID Tokens](https://auth0.com/docs/secure/tokens/id-tokens/validate-id-tokens)
10 | public protocol JWT {
| `- note: protocol 'JWT' does not conform to the 'Sendable' protocol
11 |
12 | /// Contents of the header part.
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: capture of 'callback' with non-sendable type '((any Auth0Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Auth0/IDTokenValidator.swift:32:21: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
30 | let result = self.claimsValidator.validate(jwt)
31 | DispatchQueue.main.async {
32 | callback(result)
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
Build complete! (18.24s)
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
{
"identity" : "simplekeychain",
"requirement" : {
"exact" : [
"1.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/auth0/SimpleKeychain.git"
},
{
"identity" : "jwtdecode.swift",
"requirement" : {
"exact" : [
"3.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/auth0/JWTDecode.swift.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "13.0.0",
"upper_bound" : "14.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Auth0",
"name" : "Auth0",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Auth0",
"targets" : [
"Auth0"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Auth0Tests",
"module_type" : "SwiftTarget",
"name" : "Auth0Tests",
"path" : "Auth0Tests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"ASProviderSpec.swift",
"Auth0Spec.swift",
"AuthenticationErrorSpec.swift",
"AuthenticationSpec.swift",
"BioAuthenticationSpec.swift",
"ChallengeGeneratorSpec.swift",
"ClaimValidatorsSpec.swift",
"ClearSessionTransactionSpec.swift",
"CredentialsManagerErrorSpec.swift",
"CredentialsManagerSpec.swift",
"CredentialsSpec.swift",
"CryptoExtensions.swift",
"Extensions/UIWindow+TopViewControllerSpec.swift",
"Generators.swift",
"IDTokenSignatureValidatorSpec.swift",
"IDTokenValidatorBaseSpec.swift",
"IDTokenValidatorMocks.swift",
"IDTokenValidatorSpec.swift",
"JWKSpec.swift",
"JWTAlgorithmSpec.swift",
"LoggerSpec.swift",
"LoginTransactionSpec.swift",
"ManagementErrorSpec.swift",
"ManagementSpec.swift",
"Matchers.swift",
"NetworkStub.swift",
"OAuth2GrantSpec.swift",
"RequestSpec.swift",
"ResponseSpec.swift",
"Responses.swift",
"SafariProviderSpec.swift",
"StubURLProtocol.swift",
"TelemetrySpec.swift",
"TransactionStoreSpec.swift",
"UserInfoSpec.swift",
"UserPatchAttributesSpec.swift",
"UsersSpec.swift",
"WebAuthErrorSpec.swift",
"WebAuthSpec.swift",
"WebAuthSpies.swift",
"WebAuthenticationSpec.swift",
"WebViewProviderSpec.swift"
],
"target_dependencies" : [
"Auth0"
],
"type" : "test"
},
{
"c99name" : "Auth0",
"module_type" : "SwiftTarget",
"name" : "Auth0",
"path" : "Auth0",
"product_dependencies" : [
"SimpleKeychain",
"JWTDecode"
],
"product_memberships" : [
"Auth0"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Auth0/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ASProvider.swift",
"Array+Encode.swift",
"Auth0.swift",
"Auth0Authentication.swift",
"Auth0Error.swift",
"Auth0WebAuth.swift",
"AuthTransaction.swift",
"Authentication.swift",
"AuthenticationError.swift",
"BioAuthentication.swift",
"Challenge.swift",
"ChallengeGenerator.swift",
"ClaimValidators.swift",
"ClearSessionTransaction.swift",
"Credentials.swift",
"CredentialsManager.swift",
"CredentialsManagerError.swift",
"CredentialsStorage.swift",
"DesktopWebAuth.swift",
"Handlers.swift",
"Helpers.swift",
"IDTokenSignatureValidator.swift",
"IDTokenValidator.swift",
"IDTokenValidatorContext.swift",
"JSONObjectPayload.swift",
"JWK+RSA.swift",
"JWKS.swift",
"JWT+Header.swift",
"JWTAlgorithm.swift",
"Loggable.swift",
"Logger.swift",
"LoginTransaction.swift",
"Management.swift",
"ManagementError.swift",
"MobileWebAuth.swift",
"NSData+URLSafe.swift",
"NSURL+Auth0.swift",
"NSURLComponents+OAuth2.swift",
"OAuth2Grant.swift",
"Optional+DebugDescription.swift",
"PasswordlessType.swift",
"Request.swift",
"Requestable.swift",
"Response.swift",
"SafariProvider.swift",
"String+URLSafe.swift",
"Telemetry.swift",
"TransactionStore.swift",
"UIWindow+TopViewController.swift",
"UserInfo.swift",
"UserPatchAttributes.swift",
"Users.swift",
"Version.swift",
"WebAuth.swift",
"WebAuthError.swift",
"WebAuthUserAgent.swift",
"WebAuthentication.swift",
"WebViewProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.