Build Information
Failed to build OktaClient, reference 2.0.0 (94acba
), with Swift 6.2 (beta) for Android on 25 Jun 2025 23:29:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
93 | public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
94 | public 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.
95 | public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
96 | public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
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:95:64: error: cannot find type 'URLRequest' in scope
93 | public func api(client: any APIClient, didSend request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {}
94 | public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
95 | public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
| `- error: cannot find type 'URLRequest' in scope
96 | public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
97 | return .default
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:96:65: error: cannot find type 'URLRequest' in scope
94 | public func api(client: any APIClient, didSend request: URLRequest, received response: HTTPURLResponse) {}
95 | public func api<T>(client: any APIClient, didSend request: URLRequest, received response: APIResponse<T>) {}
96 | public func api(client: any APIClient, shouldRetry request: URLRequest) -> APIRetry {
| `- error: cannot find type 'URLRequest' in scope
97 | return .default
98 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:115:30: error: cannot find type 'URLRequest' in scope
113 | let type: APIRetry
114 | let requestId: String?
115 | let originalRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
116 | let retryCount: Int
117 |
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:158:41: error: cannot find type 'URLRequest' in scope
156 | }
157 |
158 | public func willSend(request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
159 |
160 | public func didSend(request: URLRequest, received error: APIClientError) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:160:34: error: cannot find type 'URLRequest' in scope
158 | public func willSend(request: inout URLRequest) {}
159 |
160 | public func didSend(request: URLRequest, received error: APIClientError) {}
| `- error: cannot find type 'URLRequest' in scope
161 |
162 | public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:162:34: error: cannot find type 'URLRequest' in scope
160 | public func didSend(request: URLRequest, received error: APIClientError) {}
161 |
162 | public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
| `- error: cannot find type 'URLRequest' in scope
163 |
164 | public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:162:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 | public func didSend(request: URLRequest, received error: APIClientError) {}
161 |
162 | public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 | public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
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:164:37: error: cannot find type 'URLRequest' in scope
162 | public func didSend(request: URLRequest, received response: HTTPURLResponse) {}
163 |
164 | public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
| `- error: cannot find type 'URLRequest' in scope
165 |
166 | public func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry { .default }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:166:38: error: cannot find type 'URLRequest' in scope
164 | public func didSend<T>(request: URLRequest, received response: APIResponse<T>) {}
165 |
166 | public func shouldRetry(request: URLRequest, rateLimit: APIRateLimit) -> APIRetry { .default }
| `- error: cannot find type 'URLRequest' in scope
167 |
168 | // swiftlint:disable closure_body_length
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:169:36: error: cannot find type 'URLRequest' in scope
167 |
168 | // swiftlint:disable closure_body_length
169 | public func send<T>(_ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
170 | parsing context: (any APIParsingContext)? = nil) async throws -> APIResponse<T>
171 | {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:253:69: error: cannot find type 'URLRequest' in scope
251 | // swiftlint:enable closure_body_length
252 |
253 | private func addRetryHeadersToRequest(state: APIRetry.State) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
254 | var request = state.originalRequest
255 | if let requestId = state.requestId {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIClient.swift:287:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
285 | }
286 |
287 | private func validate<T>(data: Data, response: HTTPURLResponse, rateInfo: APIRateLimit?, parsing context: (any APIParsingContext)? = nil) throws -> APIResponse<T> {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
288 | var requestId: String?
289 | if let requestIdHeader = requestIdHeader {
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/APIClientError.swift:25:35: error: cannot find type 'URLRequest' in scope
23 |
24 | /// No response received from the server.
25 | case missingResponse(request: URLRequest? = nil)
| `- error: cannot find type 'URLRequest' in scope
26 |
27 | /// Did not receive an HTTP response.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:42:22: error: cannot find type 'URLRequest' in scope
40 |
41 | /// The HTTP request cache policy to use.
42 | var cachePolicy: URLRequest.CachePolicy { get }
| `- error: cannot find type 'URLRequest' in scope
43 |
44 | /// The HTTP timeout interval.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:57:55: error: cannot find type 'URLRequest' in scope
55 | /// - Parameter client: The ``APIClient`` the request is being sent through.
56 | /// - Returns: URLRequest instance for this API request.
57 | func request(for client: any APIClient) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
58 |
59 | /// Asynchronously sends the request to the given ``APIClient``.
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:134:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 | /// - Parameter response: The response returned from the server.
133 | /// - Returns: The result that should be inferred from this response.
134 | func resultType(from response: HTTPURLResponse) -> APIResponseResult
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |
136 | /// Generates an error response from an ``APIRequest`` result when an HTTP error occurs.
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/APIRequest.swift:159:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |
158 | @_documentation(visibility: private)
159 | public func resultType(from response: HTTPURLResponse) -> APIResponseResult {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 | APIResponseResult(statusCode: response.statusCode)
161 | }
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/APIRequest.swift:190:29: error: cannot find type 'URLRequest' in scope
188 | public var acceptsType: APIContentType? { nil }
189 | public var contentType: APIContentType? { nil }
190 | public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalAndRemoteCacheData }
| `- error: cannot find type 'URLRequest' in scope
191 | public var timeoutInterval: TimeInterval { 60 }
192 | public var authorization: (any APIAuthorization)? { nil }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/APIRequest.swift:195:62: error: cannot find type 'URLRequest' in scope
193 |
194 | public func body() throws -> Data? { nil }
195 | public func request(for client: any APIClient) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
196 | guard var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
197 | else {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/Internal/FormDataExtensions.swift:19:11: error: cannot find type 'URLRequest' in scope
17 | #endif
18 |
19 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | static func oktaURLFormEncodedString(for params: [String: any APIRequestArgument]) -> String? {
21 | func escape(_ str: String) -> String {
/host/spi-builder-workspace/Sources/AuthFoundation/Network/URLSessionProtocol.swift:22:28: error: cannot find type 'URLRequest' in scope
20 | @_documentation(visibility: internal)
21 | public protocol URLSessionProtocol: Sendable {
22 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
23 | var configuration: URLSessionConfiguration { get }
24 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Network/URLSessionProtocol.swift:22:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | @_documentation(visibility: internal)
21 | public protocol URLSessionProtocol: Sendable {
22 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | var configuration: URLSessionConfiguration { get }
24 | }
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/URLSessionProtocol.swift:23:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | public protocol URLSessionProtocol: Sendable {
22 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
23 | var configuration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | }
25 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AuthFoundation/Network/URLSessionProtocol.swift:27:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
25 |
26 | @_documentation(visibility: internal)
27 | extension URLSession: URLSessionProtocol {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
28 | #if os(Linux)
29 | public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/AuthFoundation/OAuth2/OAuth2Client.swift:458:41: error: cannot find type 'URLRequest' in scope
456 |
457 | @_documentation(visibility: private)
458 | public func willSend(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
459 | delegateCollection.invoke { $0.api(client: self, willSend: &request) }
460 | }
/host/spi-builder-workspace/Sources/AuthFoundation/OAuth2/OAuth2Client.swift:463:34: error: cannot find type 'URLRequest' in scope
461 |
462 | @_documentation(visibility: private)
463 | public func didSend(request: URLRequest, received error: APIClientError, requestId: String?, rateLimit: APIRateLimit?) {
| `- error: cannot find type 'URLRequest' in scope
464 | delegateCollection.invoke { $0.api(client: self, didSend: request, received: error, requestId: requestId, rateLimit: rateLimit) }
465 | }
/host/spi-builder-workspace/Sources/AuthFoundation/OAuth2/OAuth2Client.swift:468:38: error: cannot find type 'URLRequest' in scope
466 |
467 | @_documentation(visibility: private)
468 | public func shouldRetry(request: URLRequest) -> APIRetry {
| `- error: cannot find type 'URLRequest' in scope
469 | return delegateCollection.call({ $0.api(client: self, shouldRetry: request) }).first ?? .default
470 | }
/host/spi-builder-workspace/Sources/AuthFoundation/OAuth2/OAuth2Client.swift:473:34: error: cannot find type 'URLRequest' in scope
471 |
472 | @_documentation(visibility: private)
473 | public func didSend(request: URLRequest, received response: HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
474 | delegateCollection.invoke { $0.api(client: self, didSend: request, received: response) }
475 | }
/host/spi-builder-workspace/Sources/AuthFoundation/OAuth2/OAuth2Client.swift:473:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
471 |
472 | @_documentation(visibility: private)
473 | public func didSend(request: URLRequest, received response: HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
474 | delegateCollection.invoke { $0.api(client: self, didSend: request, received: response) }
475 | }
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/OAuth2/OAuth2Client.swift:478:37: error: cannot find type 'URLRequest' in scope
476 |
477 | @_documentation(visibility: private)
478 | public func didSend<T>(request: URLRequest, received response: APIResponse<T>) where T: Decodable {
| `- error: cannot find type 'URLRequest' in scope
479 | delegateCollection.invoke { $0.api(client: self, didSend: request, received: response) }
480 | }
/host/spi-builder-workspace/Sources/AuthFoundation/Requests/KeysRequest.swift:36:22: error: cannot find type 'URLRequest' in scope
34 | [ "client_id": clientId ]
35 | }
36 | var cachePolicy: URLRequest.CachePolicy { .returnCacheDataElseLoad }
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AuthFoundation/Requests/OpenIdConfigurationRequest.swift:27:22: error: cannot find type 'URLRequest' in scope
25 |
26 | var httpMethod: APIRequestMethod { .get }
27 | var cachePolicy: URLRequest.CachePolicy { .returnCacheDataElseLoad }
| `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/AuthFoundation/User Management/Credential+Extensions.swift:75:44: error: cannot find type 'URLRequest' in scope
73 | /// This asynchronous variant ensures that the token has been refreshed, if needed, prior to adding the appropriate headers to the request.
74 | /// - Parameter request: Request to decorate with the appropriate authorization header.
75 | public func authorize(_ request: inout URLRequest) async {
| `- error: cannot find type 'URLRequest' in scope
76 | _ = try? await refreshIfNeeded()
77 | authorize(request: &request)
/host/spi-builder-workspace/Sources/AuthFoundation/User Management/Credential.swift:228:42: error: cannot find type 'URLRequest' in scope
226 | /// Convenience method that decorates the given URLRequest with the appropriate authorization headers to make a request using the credential's current token.
227 | /// - Parameter request: Request to decorate with the appropriate authorization header.
228 | public func authorize(request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
229 | request.setValue(token.authorizationHeader, forHTTPHeaderField: "Authorization")
230 | }
/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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[112/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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"
[126/141] 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:24:18: error: cannot find 'utsname' in scope
22 |
23 | private let deviceModel: String = {
24 | var system = utsname()
| `- error: cannot find 'utsname' in scope
25 | uname(&system)
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
/host/spi-builder-workspace/Sources/AuthFoundation/Migration/SDKVersion.swift:25:5: error: cannot find 'uname' in scope
23 | private let deviceModel: String = {
24 | var system = utsname()
25 | uname(&system)
| `- error: cannot find 'uname' in scope
26 | let model = withUnsafePointer(to: &system.machine.0) { ptr in
27 | return String(cString: ptr)
/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"
[127/141] Compiling AuthFoundation DelegateCollection.swift
/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/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 {
[128/141] Compiling AuthFoundation Dictionary+Extensions.swift
/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/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 {
[129/141] Compiling AuthFoundation Expires.swift
/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/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 {
[130/141] Compiling AuthFoundation JSONCoding.swift
/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/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 {
[131/141] Compiling AuthFoundation JSONDecodable.swift
/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/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 {
[132/141] Compiling AuthFoundation JSONValue.swift
/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/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 {
[133/141] Compiling AuthFoundation Lock.swift
/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/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 {
[134/141] Compiling AuthFoundation LockedValue.swift
/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/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 {
[135/141] Compiling AuthFoundation String+Extensions.swift
/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/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 {
[136/141] Compiling AuthFoundation TimeCoordinator.swift
/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/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 {
[137/141] Compiling AuthFoundation URL+Extensions.swift
/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/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 {
[138/141] Compiling AuthFoundation URL+InternalExtensions.swift
/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/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 {
[139/141] Compiling AuthFoundation WeakCollection.swift
/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/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 {
[140/141] Compiling AuthFoundation Version+AuthFoundation.swift
/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/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 {
[141/141] Compiling AuthFoundation resource_bundle_accessor.swift
/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/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 {
BUILD FAILURE 6.2 android