The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build OktaClient, reference master (408b89), with Swift 6.1 for Wasm on 12 Sep 2025 07:23:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[86/125] Compiling AuthFoundation JSONValue.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[87/125] Compiling AuthFoundation Lock.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[88/125] Compiling AuthFoundation LockedValue.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[89/125] Compiling AuthFoundation String+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[90/125] Compiling AuthFoundation TimeCoordinator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[91/125] Compiling AuthFoundation URL+Extensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[92/125] Compiling AuthFoundation URL+InternalExtensions.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[93/125] Compiling AuthFoundation WeakCollection.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[94/125] Compiling AuthFoundation Version+AuthFoundation.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[95/125] Compiling AuthFoundation resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:24:8: error: Unsupported platform
 22 | import Bionic
 23 | #else
 24 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 25 | #endif
 26 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:41:12: error: Unsupported platform
 39 |     fileprivate typealias LockType = pthread_mutex_t
 40 |     #else
 41 |     #error("Unsupported platform")
    |            `- error: Unsupported platform
 42 |     #endif
 43 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:44:65: error: cannot find type 'LockType' in scope
 42 |     #endif
 43 |
 44 |     nonisolated(unsafe) private let _lock: UnsafeMutablePointer<LockType> = {
    |                                                                 `- error: cannot find type 'LockType' in scope
 45 |         let result = UnsafeMutablePointer<LockType>.allocate(capacity: 1)
 46 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:77:16: error: Unsupported platform
 75 |         precondition(status == 0, "pthread_mutex_lock failed")
 76 |         #else
 77 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 78 |         #endif
 79 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:87:16: error: Unsupported platform
 85 |         return pthread_mutex_trylock(_lock) == 0
 86 |         #else
 87 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 88 |         #endif
 89 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/Lock.swift:98:16: error: Unsupported platform
 96 |         precondition(status == 0, "pthread_mutex_unlock failed")
 97 |         #else
 98 |         #error("Unsupported platform")
    |                `- error: Unsupported platform
 99 |         #endif
100 |     }
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:54: error: cannot find type 'URLRequest' in scope
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:97:85: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
    |                                                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:76:61: error: cannot find type 'URLRequest' in scope
 74 | public protocol APIClientDelegate: AnyObject, Sendable {
 75 |     /// Invoked immediately prior to a URLRequest being converted to a DataTask.
 76 |     func api(client: any APIClient, willSend request: inout URLRequest)
    |                                                             `- error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:79:54: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     /// Invoked when a request fails.
 79 |     func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:82:54: error: cannot find type 'URLRequest' in scope
 80 |
 81 |     /// Invoked when a request returns a successful response.
 82 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:85:57: error: cannot find type 'URLRequest' in scope
 83 |
 84 |     /// Invoked when a request returns a successful response.
 85 |     func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>)
    |                                                         `- error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:88:58: error: cannot find type 'URLRequest' in scope
 86 |
 87 |     /// Provides the APIRetry configurations from the delegate in responds to a retry request.
 88 |     func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry
    |                                                          `- error: cannot find type 'URLRequest' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/AsyncUtilities.swift:24:54: error: cannot find type 'NotificationCenter' in scope
 22 |
 23 |     /// The NotificationCenter instance that should be used when posting or observing notifications.
 24 |     @TaskLocal public static var notificationCenter: NotificationCenter = .default
    |                                                      `- error: cannot find type 'NotificationCenter' in scope
 25 |
 26 |     /// The factor used to convert a time interval to nanoseconds.
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:69:75: error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 67 |     init() {
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
    |                                                                           `- error: cannot infer contextual base in reference to member 'oauth2ClientCreated'
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:70:73: error: 'nil' requires a contextual type
 68 |         self._offset = 0
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
    |                                                                         `- error: 'nil' requires a contextual type
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:71:72: error: 'nil' requires a contextual type
 69 |         self.observer = TaskData.notificationCenter.addObserver(forName: .oauth2ClientCreated,
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
    |                                                                        `- error: 'nil' requires a contextual type
 72 |                                                                 using: { [weak self] notification in
 73 |             guard let self = self,
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:72:86: error: cannot infer type of closure parameter 'notification' without a type annotation
 70 |                                                                 object: nil,
 71 |                                                                 queue: nil,
 72 |                                                                 using: { [weak self] notification in
    |                                                                                      `- error: cannot infer type of closure parameter 'notification' without a type annotation
 73 |             guard let self = self,
 74 |                   let client = notification.object as? OAuth2Client
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:98:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 96 |
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
100 |               let date = httpDateFormatter.date(from: dateString)
/host/spi-builder-workspace/Sources/AuthFoundation/Utilities/TimeCoordinator.swift:99:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |     func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {
 98 |         guard request.cachePolicy == .reloadIgnoringLocalAndRemoteCacheData,
 99 |               let dateString = response.allHeaderFields["Date"] as? String,
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |               let date = httpDateFormatter.date(from: dateString)
101 |         else {
[96/125] Compiling AuthFoundation OpenIdConfiguration.swift
[97/125] Compiling AuthFoundation OpenIdProviderMetadata.swift
[98/125] Compiling AuthFoundation TokenInfo.swift
[99/125] Compiling AuthFoundation UserInfo.swift
[100/125] Compiling AuthFoundation Keychain+Extensions.swift
[101/125] Compiling AuthFoundation KeychainProtocol.swift
[102/125] Compiling AuthFoundation Keychain.swift
[103/125] Compiling AuthFoundation KeychainError.swift
[104/125] Compiling AuthFoundation PKCE.swift
[105/125] Compiling AuthFoundation PKCEExtensions.swift
[106/125] Compiling AuthFoundation SecurityUtilities.swift
[107/125] Compiling AuthFoundation IDTokenValidator.swift
[108/125] Compiling AuthFoundation DefaultTokenExchangeCoordinator.swift
[109/125] Compiling AuthFoundation KeychainTokenStorage.swift
[110/125] Compiling AuthFoundation Token+Internal.swift
[111/125] Compiling AuthFoundation JWK.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[112/125] Compiling AuthFoundation JWKS.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[113/125] Compiling AuthFoundation JWT.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[114/125] Compiling AuthFoundation JWTError.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[115/125] Compiling AuthFoundation Claim.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[116/125] Compiling AuthFoundation ClaimCollection.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[117/125] Compiling AuthFoundation ClaimContainer.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[118/125] Compiling AuthFoundation ClaimConvertable.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[119/125] Compiling AuthFoundation ClaimError.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[120/125] Compiling AuthFoundation JWKValidator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[121/125] Compiling AuthFoundation Migration.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[122/125] Compiling AuthFoundation Migrator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[123/125] Compiling AuthFoundation OIDCLegacyMigrator.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[124/125] Compiling AuthFoundation SDKName.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
[125/125] Compiling AuthFoundation SDKVersion.swift
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:51:32: error: cannot find type 'OSStatus' in scope
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- error: cannot find type 'OSStatus' in scope
 52 |
 53 |     /// Invalid key data.
/host/spi-builder-workspace/Sources/AuthFoundation/JWT/JWTError.swift:16:13: error: type 'JWTError' does not conform to protocol 'Equatable'
 14 |
 15 | /// Describes errors that may occur with parsing or validating JWT tokens.
 16 | public enum JWTError: Error, Equatable {
    |             |- error: type 'JWTError' does not conform to protocol 'Equatable'
    |             `- note: add stubs for conformance
 17 |     /// The token is invalid (incorrect Base64 encoding).
 18 |     case invalidBase64Encoding
    :
 49 |
 50 |     /// Cannot create a public key with the information supplied from the server.
 51 |     case cannotCreateKey(code: OSStatus, description: String?)
    |                                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'JWTError' to 'Equatable'
 52 |
 53 |     /// Invalid key data.
Swift.==:1:24: note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'JWTError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'JWTError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'JWTError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'JWTError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'JWTError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'JWTError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'JWTError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'JWTError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'JWTError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'JWTError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'JWTError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(JWTError, JWTError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:32:34: error: cannot convert value of type '()' to closure result type 'String'
 30 | }()
 31 |
 32 | private let systemName: String = {
    |                                  `- error: cannot convert value of type '()' to closure result type 'String'
 33 |     #if (swift(>=5.10) && os(visionOS))
 34 |         return "visionOS"
BUILD FAILURE 6.1 wasm