The Swift Package Index logo.Swift Package Index

Build Information

Failed to build warplink-ios-sdk, reference v1.3.0 (2dd846), with Swift 6.2 for Android on 5 Nov 2026 02:03:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

54 |         case 200: return nil
55 |         case 401: return .failed(.invalidApiKey)
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:68:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
66 |             return .failed(
67 |                 .serverError(
68 |                     statusCode: http.statusCode,
   |                                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
69 |                     message: errorBody(data).message ?? "Server error"
70 |                 )
[20/63] Compiling WarpLink URL+WarpLink.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[21/63] Compiling WarpLink APIClient+Attribution.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[22/63] Compiling WarpLink APIClient+ResolveLink.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[23/63] Compiling WarpLink APIClient.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[24/63] Compiling WarpLink AttemptWatchdog.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[25/63] Compiling WarpLink AttributionResponse.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[26/63] Compiling WarpLink BoundedRetry.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[27/63] Compiling WarpLink DeclaredLinkDomains.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:107:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     private static func parseAttributionResponse(
107 |         data: Data?, response: URLResponse?, error: Error?
    |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:46:78: error: argument type '_' expected to be an instance of a class or class-constrained type
 44 |
 45 |         return transport.send(request) { data, response, error in
 46 |             let result = Self.parseAttributionResponse(data: data, response: response, error: error)
    |                                                                              `- error: argument type '_' expected to be an instance of a class or class-constrained type
 47 |             SDKEnvironment.deliver { completion(result) }
 48 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:40:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 38 |                 isReinstall: isReinstall
 39 |             ))
 40 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 41 |             completion(.failure(.decodingError(error)))
 42 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = "POST"
 60 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:110:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     ) -> Result<AttributionResponse, WarpLinkError> {
109 |         if let error = error { return .failure(.networkError(error)) }
110 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
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/WarpLink/Internal/APIClient+Attribution.swift:113:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
112 |         }
113 |         switch http.statusCode {
    |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 |         case 200:
115 |             return AttributionResponse.decode(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+Attribution.swift:121:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 |             return .failure(RateLimit.error(for: http))
120 |         default:
121 |             return .failure(.serverError(statusCode: http.statusCode, message: "Server error"))
    |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |         }
123 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:103:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     private static func parseResolveLinkResponse(
102 |         data: Data?,
103 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         error: Error?
105 |     ) -> Result<LinkResolutionResponse, WarpLinkError> {
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/WarpLink/Internal/APIClient.swift:47:67: error: cannot find type 'URLRequest' in scope
45 |
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:69:39: error: argument type '_' expected to be an instance of a class or class-constrained type
 67 |         return transport.send(request) { data, response, error in
 68 |             let result = Self.parseResolveLinkResponse(
 69 |                 data: data, response: response, error: error
    |                                       `- error: argument type '_' expected to be an instance of a class or class-constrained type
 70 |             )
 71 |             SDKEnvironment.deliver { completion(result) }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |             return .failure(.networkError(error))
108 |         }
109 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
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/WarpLink/Internal/APIClient+ResolveLink.swift:112:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
110 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
111 |         }
112 |         switch httpResponse.statusCode {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
113 |         case 200:
114 |             return decodeResolveLinkBody(data: data)
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient+ResolveLink.swift:131:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         default:
130 |             return .failure(.serverError(
131 |                 statusCode: httpResponse.statusCode,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |                 message: "Unexpected status code"
133 |             ))
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:77:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 |     private static func parseValidation(
77 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
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/WarpLink/Internal/APIClient.swift:48:23: error: cannot find 'URLRequest' in scope
46 |     /// Create a GET request with standard WarpLink auth headers.
47 |     func makeAuthorizedRequest(url: URL, tapId: String? = nil) -> URLRequest {
48 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
49 |         request.httpMethod = "GET"
50 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:69:69: error: argument type '_' expected to be an instance of a class or class-constrained type
67 |         let request = makeAuthorizedRequest(url: url)
68 |         transport.send(request) { data, response, error in
69 |             let result = Self.parseValidation(data: data, response: response, error: error)
   |                                                                     `- error: argument type '_' expected to be an instance of a class or class-constrained type
70 |             SDKEnvironment.deliver { completion(result) }
71 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:80:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |     ) -> Result<ValidationResult, WarpLinkError> {
79 |         if let error = error { return .failure(.networkError(error)) }
80 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
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/WarpLink/Internal/APIClient.swift:83:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 |             return .failure(.serverError(statusCode: 0, message: "No HTTP response"))
82 |         }
83 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 |         case 200:
85 |             let json = data.flatMap { (try? JSONSerialization.jsonObject(with: $0)) as? [String: Any] }
/host/spi-builder-workspace/Sources/WarpLink/Internal/APIClient.swift:92:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
90 |             return .success(ValidationResult(valid: false, domains: []))
91 |         default:
92 |             return .failure(.serverError(statusCode: http.statusCode, message: "Unexpected status code"))
   |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |         }
94 |     }
[28/63] Compiling WarpLink WarpLink+ClearAttribution.swift
[29/63] Compiling WarpLink WarpLink+DeferredDeepLink.swift
[30/63] Compiling WarpLink WarpLink+Dispatch.swift
[31/63] Compiling WarpLink WarpLink+Domains.swift
[32/63] Compiling WarpLink WarpLink+HostDelegates.swift
[33/63] Compiling WarpLink WarpLink+KeyValidation.swift
[34/63] Compiling WarpLink WarpLink+ReactNativeBridge.swift
[35/63] Compiling WarpLink WarpLink+Resolve.swift
/host/spi-builder-workspace/Sources/WarpLink/WarpLink+Resolve.swift:78:51: error: cannot find type 'NSUserActivity' in scope
 76 |     /// e.g. from `application(_:continue:restorationHandler:)`).
 77 |     @discardableResult
 78 |     public static func `continue`(_ userActivity: NSUserActivity) -> Bool {
    |                                                   `- error: cannot find type 'NSUserActivity' in scope
 79 |         guard let url = userActivity.webpageURL else { return false }
 80 |         return open(url)
[36/63] Compiling WarpLink WarpLink+Supersede.swift
/host/spi-builder-workspace/Sources/WarpLink/WarpLink+Resolve.swift:78:51: error: cannot find type 'NSUserActivity' in scope
 76 |     /// e.g. from `application(_:continue:restorationHandler:)`).
 77 |     @discardableResult
 78 |     public static func `continue`(_ userActivity: NSUserActivity) -> Bool {
    |                                                   `- error: cannot find type 'NSUserActivity' in scope
 79 |         guard let url = userActivity.webpageURL else { return false }
 80 |         return open(url)
[37/63] Compiling WarpLink WarpLink.swift
/host/spi-builder-workspace/Sources/WarpLink/WarpLink+Resolve.swift:78:51: error: cannot find type 'NSUserActivity' in scope
 76 |     /// e.g. from `application(_:continue:restorationHandler:)`).
 77 |     @discardableResult
 78 |     public static func `continue`(_ userActivity: NSUserActivity) -> Bool {
    |                                                   `- error: cannot find type 'NSUserActivity' in scope
 79 |         guard let url = userActivity.webpageURL else { return false }
 80 |         return open(url)
[38/63] Compiling WarpLink WarpLinkDeepLink.swift
/host/spi-builder-workspace/Sources/WarpLink/WarpLink+Resolve.swift:78:51: error: cannot find type 'NSUserActivity' in scope
 76 |     /// e.g. from `application(_:continue:restorationHandler:)`).
 77 |     @discardableResult
 78 |     public static func `continue`(_ userActivity: NSUserActivity) -> Bool {
    |                                                   `- error: cannot find type 'NSUserActivity' in scope
 79 |         guard let url = userActivity.webpageURL else { return false }
 80 |         return open(url)
[39/63] Compiling WarpLink WarpLinkError.swift
/host/spi-builder-workspace/Sources/WarpLink/WarpLink+Resolve.swift:78:51: error: cannot find type 'NSUserActivity' in scope
 76 |     /// e.g. from `application(_:continue:restorationHandler:)`).
 77 |     @discardableResult
 78 |     public static func `continue`(_ userActivity: NSUserActivity) -> Bool {
    |                                                   `- error: cannot find type 'NSUserActivity' in scope
 79 |         guard let url = userActivity.webpageURL else { return false }
 80 |         return open(url)
[40/63] Compiling WarpLink WarpLinkOptions.swift
/host/spi-builder-workspace/Sources/WarpLink/WarpLink+Resolve.swift:78:51: error: cannot find type 'NSUserActivity' in scope
 76 |     /// e.g. from `application(_:continue:restorationHandler:)`).
 77 |     @discardableResult
 78 |     public static func `continue`(_ userActivity: NSUserActivity) -> Bool {
    |                                                   `- error: cannot find type 'NSUserActivity' in scope
 79 |         guard let url = userActivity.webpageURL else { return false }
 80 |         return open(url)
[41/63] Compiling WarpLink resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WarpLink/WarpLink+Resolve.swift:78:51: error: cannot find type 'NSUserActivity' in scope
 76 |     /// e.g. from `application(_:continue:restorationHandler:)`).
 77 |     @discardableResult
 78 |     public static func `continue`(_ userActivity: NSUserActivity) -> Bool {
    |                                                   `- error: cannot find type 'NSUserActivity' in scope
 79 |         guard let url = userActivity.webpageURL else { return false }
 80 |         return open(url)
[42/63] Compiling WarpLink WarpLink+RedeemedMatch.swift
[43/63] Compiling WarpLink WarpLink+Referral.swift
[44/63] Compiling WarpLink WarpLink+ReferralClaim.swift
[45/63] Compiling WarpLink WarpLinkPasteButton.swift
[46/63] Compiling WarpLink WarpLinkUIPasteButton.swift
[47/63] Compiling WarpLink WarpLink+AbandonedCheck.swift
[48/63] Compiling WarpLink WarpLink+AttributionMatch.swift
[49/63] Compiling WarpLink RetryPolicy.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[50/63] Compiling WarpLink SDKEnvironment.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[51/63] Compiling WarpLink Storage.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[52/63] Compiling WarpLink StorageKeys.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[53/63] Compiling WarpLink JSONValue.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[54/63] Compiling WarpLink MatchType.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[55/63] Compiling WarpLink APIClient+RecoveryRedeem.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[56/63] Compiling WarpLink APIClient+ReferralClaim.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:32:20: error: cannot find type 'URLRequest' in scope
 30 |     @discardableResult
 31 |     func send(
 32 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 34 |     ) -> HTTPTask
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: value of type '_' expected to be instance of class or class-constrained type
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         self.session = session
 77 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
77 |     /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 |     /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
   |                                                                                              `- note: parameter 'work' is implicitly non-Sendable
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                                                `- warning: passing non-Sendable parameter 'work' to function expecting a '@Sendable' closure
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:12: error: cannot find 'CFGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |            `- error: cannot find 'CFGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:103:35: error: cannot find 'CFBooleanGetTypeID' in scope
101 |
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
    |                                   `- error: cannot find 'CFBooleanGetTypeID' in scope
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
105 |         return .int(number.intValue)
/host/spi-builder-workspace/Sources/WarpLink/JSONValue.swift:104:12: error: cannot find 'CFNumberIsFloatType' in scope
102 |     private static func fromNumber(_ number: NSNumber) -> JSONValue {
103 |         if CFGetTypeID(number) == CFBooleanGetTypeID() { return .bool(number.boolValue) }
104 |         if CFNumberIsFloatType(number) { return .double(number.doubleValue) }
    |            `- error: cannot find 'CFNumberIsFloatType' in scope
105 |         return .int(number.intValue)
106 |     }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 |     private static func redeemResult(
54 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |     ) -> Result<RecoveryRedeemOutcome, WarpLinkError> {
56 |         switch ReferralHTTP.failure(data: data, response: response, error: error) {
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/WarpLink/Internal/APIClient+Attribution.swift:57:10: error: cannot find type 'URLRequest' in scope
 55 |     func makeAttributionRequest(
 56 |         url: URL, tapId: String?, timeout: TimeInterval?
 57 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 58 |         var request = URLRequest(url: url)
 59 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:27:63: error: 'nil' requires a contextual type
25 |             return CompletedHTTPTask()
26 |         }
27 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
28 |         var body: [String: Any] = [
29 |             "platform": "ios",
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:48:66: error: argument type '_' expected to be an instance of a class or class-constrained type
46 |         }
47 |         return transport.send(request) { data, response, error in
48 |             let result = Self.redeemResult(data: data, response: response, error: error)
   |                                                                  `- error: argument type '_' expected to be an instance of a class or class-constrained type
49 |             SDKEnvironment.deliver { completion(result) }
50 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+RecoveryRedeem.swift:43:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 |         do {
42 |             request.httpBody = try JSONSerialization.data(withJSONObject: body)
43 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 |             completion(.failure(.decodingError(error)))
45 |             return CompletedHTTPTask()
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:25:63: error: 'nil' requires a contextual type
23 |             return CompletedHTTPTask()
24 |         }
25 |         var request = makeAttributionRequest(url: url, tapId: nil, timeout: timeout)
   |                                                               `- error: 'nil' requires a contextual type
26 |         do {
27 |             request.httpBody = try JSONSerialization.data(
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:35:70: error: argument type '_' expected to be an instance of a class or class-constrained type
33 |         }
34 |         return transport.send(request) { data, response, error in
35 |             let failure = ReferralHTTP.failure(data: data, response: response, error: error)
   |                                                                      `- error: argument type '_' expected to be an instance of a class or class-constrained type
36 |             if case .refused? = failure { onTokenRefused() }
37 |             let result = Self.claimResult(data: data, failure: failure)
/host/spi-builder-workspace/Sources/WarpLink/Referral/APIClient+ReferralClaim.swift:30:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
28 |                 withJSONObject: evidence.body(installerId: installerId, bundleIdentifier: bundleIdentifier)
29 |             )
30 |         } catch {
   |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
31 |             completion(.failure(.decodingError(error)))
32 |             return CompletedHTTPTask()
[57/63] Compiling WarpLink AttributionEvidence.swift
[58/63] Compiling WarpLink KeychainPendingStore.swift
[59/63] Compiling WarpLink RecoveryRedeemOutcome.swift
[60/63] Compiling WarpLink ReferralBoundedCall.swift
[61/63] Compiling WarpLink ReferralClaimEvidence.swift
[62/63] Compiling WarpLink ReferralClaimResult.swift
[63/63] Compiling WarpLink ReferralEvidenceStore.swift
BUILD FAILURE 6.2 android