The Swift Package Index logo.Swift Package Index

Build Information

Failed to build warplink-ios-sdk, reference main (2dd846), with Swift 6.1 for Wasm on 5 Nov 2026 01:55:52 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

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 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/AttemptWatchdog.swift:9:11: error: cannot find type 'DispatchWorkItem' in scope
  7 |
  8 | /// `DispatchWorkItem` already declares exactly this method.
  9 | extension DispatchWorkItem: ScheduledWork {}
    |           `- error: cannot find type 'DispatchWorkItem' in scope
 10 |
 11 | /// Bounds ONE attempt in wall time, whatever the connection is doing.
[11/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[12/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[13/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[14/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[15/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[16/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[17/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[18/61] 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: 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:74:9: error: cannot find 'DispatchQueue' in scope
72 |     /// touch UI without hopping itself.
73 |     private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
74 |         DispatchQueue.main.async(execute: work)
   |         `- error: cannot find 'DispatchQueue' in scope
75 |     }
76 |
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:9: error: cannot find 'DispatchQueue' in scope
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:80:36: error: cannot infer contextual base in reference to member 'userInitiated'
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
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |                                    `- error: cannot infer contextual base in reference to member 'userInitiated'
81 |             deadline: .now() + delay, execute: work
82 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:24: error: cannot call value of non-function type 'Date'
79 |     private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
80 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 |             deadline: .now() + delay, execute: work
   |                        `- error: cannot call value of non-function type 'Date'
82 |         )
83 |     }
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:90:20: error: cannot find 'DispatchWorkItem' in scope
88 |     private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
   |                    `- error: cannot find 'DispatchWorkItem' in scope
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
92 |             deadline: .now() + delay, execute: item
/host/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:91:9: error: cannot find 'DispatchQueue' in scope
89 |         delay, work in
90 |         let item = DispatchWorkItem(block: work)
91 |         DispatchQueue.global(qos: .userInitiated).asyncAfter(
   |         `- error: cannot find 'DispatchQueue' in scope
92 |             deadline: .now() + delay, execute: item
93 |         )
/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()
[19/61] Compiling WarpLink WarpLink+RedeemedMatch.swift
[20/61] Compiling WarpLink WarpLink+Referral.swift
[21/61] Compiling WarpLink WarpLink+ReferralClaim.swift
[22/61] Compiling WarpLink WarpLinkPasteButton.swift
[23/61] Compiling WarpLink WarpLinkUIPasteButton.swift
[24/61] Compiling WarpLink WarpLink+AbandonedCheck.swift
[25/61] Compiling WarpLink WarpLink+AttributionMatch.swift
[26/61] Compiling WarpLink WarpLink+ClearAttribution.swift
[27/61] Compiling WarpLink WarpLink+DeferredDeepLink.swift
[28/61] Compiling WarpLink WarpLink+Dispatch.swift
[29/61] Compiling WarpLink WarpLink+Domains.swift
[30/61] Compiling WarpLink WarpLink+HostDelegates.swift
[31/61] Compiling WarpLink WarpLink+KeyValidation.swift
[32/61] Compiling WarpLink WarpLink+ReactNativeBridge.swift
[33/61] Compiling WarpLink FingerprintCollector.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[34/61] Compiling WarpLink HTTPTransport.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[35/61] Compiling WarpLink InstallMarkerStore.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[36/61] Compiling WarpLink KeyEnvironment.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[37/61] Compiling WarpLink KeychainStore.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[38/61] Compiling WarpLink LinkDomainNormalizer.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[39/61] Compiling WarpLink Logger.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[40/61] Compiling WarpLink RateLimit.swift
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:14:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 12 |
 13 | /// `URLSessionTask` already declares exactly this method.
 14 | extension URLSessionTask: HTTPTask {}
    | `- error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
 15 |
 16 | /// The handle for work that is already over by the time the caller sees it: an
/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:33:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     func send(
 32 |         _ request: URLRequest,
 33 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     ) -> HTTPTask
 35 |
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:69:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     private let lock = NSLock()
 69 |     private var session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     /// Whether `session` was made here. Only a session this transport made is
 71 |     /// its own to end: a host's session, `.shared` included, is never
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:75:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     private var ownsSession = false
 74 |
 75 |     init(session: URLSession = .shared) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         self.session = session
 77 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/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/HTTPTransport.swift:80:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |
 79 |     /// The session the next request goes out on.
 80 |     var currentSession: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |         lock.lock(); defer { lock.unlock() }
 82 |         return session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:87:20: error: cannot find type 'URLRequest' in scope
 85 |     @discardableResult
 86 |     func send(
 87 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:88:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     func send(
 87 |         _ request: URLRequest,
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
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:90:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 88 |         completion: @escaping (Data?, URLResponse?, Error?) -> Void
 89 |     ) -> HTTPTask {
 90 |         let task = currentSession.dataTask(with: request, completionHandler: completion)
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 91 |         task.resume()
 92 |         return task
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:106:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
104 |         let old = session
105 |         let owned = ownsSession
106 |         session = URLSession(
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:107:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
105 |         let owned = ownsSession
106 |         session = URLSession(
107 |             configuration: old.configuration,
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:108:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
106 |         session = URLSession(
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegate'
109 |             delegateQueue: old.delegateQueue
110 |         )
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:109:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
107 |             configuration: old.configuration,
108 |             delegate: old.delegate,
109 |             delegateQueue: old.delegateQueue
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
110 |         )
111 |         ownsSession = true
/host/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:115:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
113 |         // Lets the abandoned attempt's cancellation land first, then releases
114 |         // every connection the old session was holding.
115 |         if owned { old.finishTasksAndInvalidate() }
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
116 |     }
117 | }
/host/spi-builder-workspace/Sources/WarpLink/Internal/RateLimit.swift:23:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
   |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
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/RateLimit.swift:24:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
22 |     /// The error for a 429 response, carrying its `Retry-After` seconds.
23 |     static func error(for response: HTTPURLResponse) -> WarpLinkError {
24 |         let seconds = response.value(forHTTPHeaderField: "Retry-After").flatMap(parseSeconds)
   |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
25 |         let message = seconds.map { "\(messagePrefix), \(waitMarker)\($0)s" } ?? messagePrefix
26 |         return .serverError(statusCode: statusCode, message: message)
[41/61] 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)
[42/61] 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)
[43/61] 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)
[44/61] 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)
[45/61] 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)
[46/61] 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)
[47/61] 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)
[48/61] Compiling WarpLink AttributionEvidence.swift
[49/61] Compiling WarpLink KeychainPendingStore.swift
[50/61] Compiling WarpLink RecoveryRedeemOutcome.swift
[51/61] Compiling WarpLink ReferralBoundedCall.swift
[52/61] Compiling WarpLink ReferralClaimEvidence.swift
[53/61] Compiling WarpLink ReferralClaimResult.swift
[54/61] Compiling WarpLink ReferralEvidenceStore.swift
[55/61] Compiling WarpLink ReferralHTTP.swift
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:47:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     /// holds no secret.
46 |     static func failure(
47 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.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/Referral/ReferralHTTP.swift:50:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:50:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         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.
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
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/Referral/ReferralHTTP.swift:53:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
53 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
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 |                 )
[56/61] Compiling WarpLink ReferralInvitation.swift
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:47:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     /// holds no secret.
46 |     static func failure(
47 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.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/Referral/ReferralHTTP.swift:50:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:50:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         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.
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
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/Referral/ReferralHTTP.swift:53:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
53 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
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 |                 )
[57/61] Compiling WarpLink ReferralMatch.swift
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:47:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     /// holds no secret.
46 |     static func failure(
47 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.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/Referral/ReferralHTTP.swift:50:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:50:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         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.
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
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/Referral/ReferralHTTP.swift:53:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
53 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
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 |                 )
[58/61] Compiling WarpLink ReferralMessages.swift
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:47:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     /// holds no secret.
46 |     static func failure(
47 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.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/Referral/ReferralHTTP.swift:50:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:50:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         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.
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
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/Referral/ReferralHTTP.swift:53:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
53 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
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 |                 )
[59/61] Compiling WarpLink ReferralPendingStore.swift
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:47:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     /// holds no secret.
46 |     static func failure(
47 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.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/Referral/ReferralHTTP.swift:50:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:50:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         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.
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
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/Referral/ReferralHTTP.swift:53:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
53 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
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 |                 )
[60/61] Compiling WarpLink ReferralRedeemer.swift
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:47:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     /// holds no secret.
46 |     static func failure(
47 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.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/Referral/ReferralHTTP.swift:50:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:50:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         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.
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
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/Referral/ReferralHTTP.swift:53:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
53 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
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 |                 )
[61/61] Compiling WarpLink ReferralServices.swift
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:47:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     /// holds no secret.
46 |     static func failure(
47 |         data: Data?, response: URLResponse?, error: Error?
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.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/Referral/ReferralHTTP.swift:50:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
/host/spi-builder-workspace/Sources/WarpLink/Referral/ReferralHTTP.swift:50:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |     ) -> Failure? {
49 |         if let error = error { return .failed(.networkError(error)) }
50 |         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.
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
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/Referral/ReferralHTTP.swift:53:21: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
51 |             return .failed(.serverError(statusCode: 0, message: "No HTTP response"))
52 |         }
53 |         switch http.statusCode {
   |                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
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 |                 )
BUILD FAILURE 6.1 wasm