The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hyperspace, reference main (f3bed2), with Swift 6.1 for Wasm on 29 May 2025 00:29:48 UTC.

Build Command

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

Build Log

313 |     static let forbidden = HTTP.Status.ClientError(rawValue: 403)
    |                |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |     static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 |     static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:314:16: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
312 |     static let paymentRequired = HTTP.Status.ClientError(rawValue: 402)
313 |     static let forbidden = HTTP.Status.ClientError(rawValue: 403)
314 |     static let notFound = HTTP.Status.ClientError(rawValue: 404)
    |                |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 |     static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 |     static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:315:16: warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
313 |     static let forbidden = HTTP.Status.ClientError(rawValue: 403)
314 |     static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 |     static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
    |                |- warning: static property 'methodNotAllowed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'methodNotAllowed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
316 |     static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 |     static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:316:16: warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
314 |     static let notFound = HTTP.Status.ClientError(rawValue: 404)
315 |     static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 |     static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
    |                |- warning: static property 'notAcceptable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'notAcceptable' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 |     static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 |     static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:317:16: warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
315 |     static let methodNotAllowed = HTTP.Status.ClientError(rawValue: 405)
316 |     static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 |     static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
    |                |- warning: static property 'proxyAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'proxyAuthenticationRequired' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 |     static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 |     static let conflict = HTTP.Status.ClientError(rawValue: 409)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:318:16: warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
316 |     static let notAcceptable = HTTP.Status.ClientError(rawValue: 406)
317 |     static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 |     static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
    |                |- warning: static property 'requestTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'requestTimeout' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 |     static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 |     static let gone = HTTP.Status.ClientError(rawValue: 410)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:319:16: warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
317 |     static let proxyAuthenticationRequired = HTTP.Status.ClientError(rawValue: 407)
318 |     static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 |     static let conflict = HTTP.Status.ClientError(rawValue: 409)
    |                |- warning: static property 'conflict' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'conflict' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 |     static let gone = HTTP.Status.ClientError(rawValue: 410)
321 |     static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:320:16: warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
318 |     static let requestTimeout = HTTP.Status.ClientError(rawValue: 408)
319 |     static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 |     static let gone = HTTP.Status.ClientError(rawValue: 410)
    |                |- warning: static property 'gone' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'gone' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
321 |     static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 |     static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:321:16: warning: static property 'lengthRequried' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
319 |     static let conflict = HTTP.Status.ClientError(rawValue: 409)
320 |     static let gone = HTTP.Status.ClientError(rawValue: 410)
321 |     static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
    |                |- warning: static property 'lengthRequried' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'lengthRequried' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |     static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 |     static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:322:16: warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
320 |     static let gone = HTTP.Status.ClientError(rawValue: 410)
321 |     static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 |     static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
    |                |- warning: static property 'preconditionFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'preconditionFailed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |     static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 |     static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:323:16: warning: static property 'payloadTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
321 |     static let lengthRequried = HTTP.Status.ClientError(rawValue: 411)
322 |     static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 |     static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
    |                |- warning: static property 'payloadTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'payloadTooLarge' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |     static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 |     static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:324:16: warning: static property 'uriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
322 |     static let preconditionFailed = HTTP.Status.ClientError(rawValue: 412)
323 |     static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 |     static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
    |                |- warning: static property 'uriTooLong' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'uriTooLong' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |     static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 |     static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:325:16: warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
323 |     static let payloadTooLarge = HTTP.Status.ClientError(rawValue: 413)
324 |     static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 |     static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
    |                |- warning: static property 'unsupportedMediaType' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'unsupportedMediaType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 |     static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 |     static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:326:16: warning: static property 'rangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
324 |     static let uriTooLong = HTTP.Status.ClientError(rawValue: 414)
325 |     static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 |     static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
    |                |- warning: static property 'rangeNotSatisfiable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'rangeNotSatisfiable' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 |     static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 |     static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:327:16: warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
325 |     static let unsupportedMediaType = HTTP.Status.ClientError(rawValue: 415)
326 |     static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 |     static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
    |                |- warning: static property 'expectationFailed' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'expectationFailed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |     static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 |     static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:328:16: warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
326 |     static let rangeNotSatisfiable = HTTP.Status.ClientError(rawValue: 416)
327 |     static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 |     static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
    |                |- warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'imATeapot' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 |     static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 |     static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:329:16: warning: static property 'misdirectedRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
327 |     static let expectationFailed = HTTP.Status.ClientError(rawValue: 417)
328 |     static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 |     static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
    |                |- warning: static property 'misdirectedRequest' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'misdirectedRequest' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |     static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 |     static let locked = HTTP.Status.ClientError(rawValue: 423)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:330:16: warning: static property 'unproccessableEntity' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
328 |     static let imATeapot = HTTP.Status.ClientError(rawValue: 418)
329 |     static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 |     static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
    |                |- warning: static property 'unproccessableEntity' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'unproccessableEntity' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 |     static let locked = HTTP.Status.ClientError(rawValue: 423)
332 |     static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:331:16: warning: static property 'locked' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
329 |     static let misdirectedRequest = HTTP.Status.ClientError(rawValue: 421)
330 |     static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 |     static let locked = HTTP.Status.ClientError(rawValue: 423)
    |                |- warning: static property 'locked' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'locked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |     static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 |     static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:332:16: warning: static property 'failedDependency' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
330 |     static let unproccessableEntity = HTTP.Status.ClientError(rawValue: 422)
331 |     static let locked = HTTP.Status.ClientError(rawValue: 423)
332 |     static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
    |                |- warning: static property 'failedDependency' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'failedDependency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 |     static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 |     static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:333:16: warning: static property 'upgradeRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
331 |     static let locked = HTTP.Status.ClientError(rawValue: 423)
332 |     static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 |     static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
    |                |- warning: static property 'upgradeRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'upgradeRequired' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |     static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 |     static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:334:16: warning: static property 'preconditionRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
332 |     static let failedDependency = HTTP.Status.ClientError(rawValue: 424)
333 |     static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 |     static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
    |                |- warning: static property 'preconditionRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'preconditionRequired' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |     static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 |     static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:335:16: warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
333 |     static let upgradeRequired = HTTP.Status.ClientError(rawValue: 426)
334 |     static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 |     static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
    |                |- warning: static property 'tooManyRequests' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'tooManyRequests' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |     static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
337 |     static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:336:16: warning: static property 'requestHeaderFieldsTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
334 |     static let preconditionRequired = HTTP.Status.ClientError(rawValue: 428)
335 |     static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 |     static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
    |                |- warning: static property 'requestHeaderFieldsTooLarge' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'requestHeaderFieldsTooLarge' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 |     static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
338 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:337:16: warning: static property 'unavailableForLegalReasons' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
 69 |         }
 70 |
 71 |         public struct ClientError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ClientError' conform to the 'Sendable' protocol
 72 |             public var rawValue: Int
 73 |
    :
335 |     static let tooManyRequests = HTTP.Status.ClientError(rawValue: 429)
336 |     static let requestHeaderFieldsTooLarge = HTTP.Status.ClientError(rawValue: 431)
337 |     static let unavailableForLegalReasons = HTTP.Status.ClientError(rawValue: 451)
    |                |- warning: static property 'unavailableForLegalReasons' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ClientError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'unavailableForLegalReasons' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:341:16: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
339 |
340 | public extension HTTP.Status.ServerError {
341 |     static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
    |                |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 |     static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 |     static let badGateway = HTTP.Status.ServerError(rawValue: 502)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:342:16: warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
340 | public extension HTTP.Status.ServerError {
341 |     static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
342 |     static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
    |                |- warning: static property 'notImplemented' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'notImplemented' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 |     static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 |     static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:343:16: warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
341 |     static let internalServerError = HTTP.Status.ServerError(rawValue: 500)
342 |     static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 |     static let badGateway = HTTP.Status.ServerError(rawValue: 502)
    |                |- warning: static property 'badGateway' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'badGateway' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |     static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 |     static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:344:16: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
342 |     static let notImplemented = HTTP.Status.ServerError(rawValue: 501)
343 |     static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 |     static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
    |                |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
345 |     static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 |     static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:345:16: warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
343 |     static let badGateway = HTTP.Status.ServerError(rawValue: 502)
344 |     static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 |     static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
    |                |- warning: static property 'gatewayTimeout' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'gatewayTimeout' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |     static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 |     static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:346:16: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
344 |     static let serviceUnavailable = HTTP.Status.ServerError(rawValue: 503)
345 |     static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 |     static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
    |                |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'httpVersionNotSupported' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
347 |     static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 |     static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:347:16: warning: static property 'variantAlsoNegotiates' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
345 |     static let gatewayTimeout = HTTP.Status.ServerError(rawValue: 504)
346 |     static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 |     static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
    |                |- warning: static property 'variantAlsoNegotiates' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'variantAlsoNegotiates' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |     static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 |     static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:348:16: warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
346 |     static let httpVersionNotSupported = HTTP.Status.ServerError(rawValue: 505)
347 |     static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 |     static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
    |                |- warning: static property 'insufficientStorage' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'insufficientStorage' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |     static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 |     static let notExtended = HTTP.Status.ServerError(rawValue: 510)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:349:16: warning: static property 'loopDetected' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
347 |     static let variantAlsoNegotiates = HTTP.Status.ServerError(rawValue: 506)
348 |     static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 |     static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
    |                |- warning: static property 'loopDetected' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'loopDetected' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 |     static let notExtended = HTTP.Status.ServerError(rawValue: 510)
351 |     static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:350:16: warning: static property 'notExtended' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
348 |     static let insufficientStorage = HTTP.Status.ServerError(rawValue: 507)
349 |     static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 |     static let notExtended = HTTP.Status.ServerError(rawValue: 510)
    |                |- warning: static property 'notExtended' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'notExtended' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |     static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
352 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:351:16: warning: static property 'networkAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
 79 |         }
 80 |
 81 |         public struct ServerError: RawRepresentable, Equatable {
    |                       `- note: consider making struct 'ServerError' conform to the 'Sendable' protocol
 82 |             public var rawValue: Int
 83 |
    :
349 |     static let loopDetected = HTTP.Status.ServerError(rawValue: 508)
350 |     static let notExtended = HTTP.Status.ServerError(rawValue: 510)
351 |     static let networkAuthenticationRequired = HTTP.Status.ServerError(rawValue: 511)
    |                |- warning: static property 'networkAuthenticationRequired' is not concurrency-safe because non-'Sendable' type 'HTTP.Status.ServerError' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'networkAuthenticationRequired' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 | }
353 |
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 |                                   headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 |                                   body: HTTP.Body? = nil,
17 |                                   cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                `- error: cannot find type 'URLRequest' in scope
18 |                                   timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 |                                   emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:19:52: error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
19 |         func urlRequest(using request: Request) -> URLRequest {
   |                                                    `- error: cannot find type 'URLRequest' in scope
20 |             return creationBlock(request)
21 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:75: error: cannot find type 'URLRequest' in scope
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:52: error: @escaping attribute only applies to function types
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                    `- error: @escaping attribute only applies to function types
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Request/Request.swift:166:43: error: cannot find type 'URLRequest' in scope
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                                           `- error: cannot find type 'URLRequest' in scope
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request.swift:166:23: warning: static property 'defaultCachePolicy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                       |- warning: static property 'defaultCachePolicy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultCachePolicy' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultCachePolicy' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request.swift:167:23: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
169 |     public static var defaultTimeout: TimeInterval = 60
/host/spi-builder-workspace/Sources/Request/Request.swift:168:23: warning: static property 'defaultMaxRecoveryAttempts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
    |                       |- warning: static property 'defaultMaxRecoveryAttempts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultMaxRecoveryAttempts' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultMaxRecoveryAttempts' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |     public static var defaultTimeout: TimeInterval = 60
170 | }
/host/spi-builder-workspace/Sources/Request/Request.swift:169:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
169 |     public static var defaultTimeout: TimeInterval = 60
    |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultTimeout' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | }
171 |
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Service/Transport/TransportResult.swift:37:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'TransportFailure' has non-sendable type 'TransportFailure.Kind'; this is an error in the Swift 6 language mode
27 |
28 |     // MARK: - Kind Subtype
29 |     public enum Kind: Equatable {
   |                 `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
30 |         case redirection
31 |         case clientError(HTTP.Status.ClientError)
   :
35 |
36 |     // MARK: - Properties
37 |     public let kind: Kind
   |                `- warning: stored property 'kind' of 'Sendable'-conforming struct 'TransportFailure' has non-sendable type 'TransportFailure.Kind'; this is an error in the Swift 6 language mode
38 |     public let request: HTTP.Request
39 |     public let response: HTTP.Response?
/host/spi-builder-workspace/Sources/Service/Transport/TransportResult.swift:38:16: warning: stored property 'request' of 'Sendable'-conforming struct 'TransportFailure' has non-sendable type 'HTTP.Request'; this is an error in the Swift 6 language mode
36 |     // MARK: - Properties
37 |     public let kind: Kind
38 |     public let request: HTTP.Request
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'TransportFailure' has non-sendable type 'HTTP.Request'; this is an error in the Swift 6 language mode
39 |     public let response: HTTP.Response?
40 |
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 |
123 |     /// Represents an HTTP request
124 |     public struct Request: Equatable {
    |                   `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 |
126 |         /// The `URL` to which the `Request` originated.
/host/spi-builder-workspace/Sources/Service/Transport/TransportResult.swift:39:16: warning: stored property 'response' of 'Sendable'-conforming struct 'TransportFailure' has non-sendable type 'HTTP.Response?'; this is an error in the Swift 6 language mode
37 |     public let kind: Kind
38 |     public let request: HTTP.Request
39 |     public let response: HTTP.Response?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'TransportFailure' has non-sendable type 'HTTP.Response?'; this is an error in the Swift 6 language mode
40 |
41 |     // MARK: - Initializers
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:162:19: note: consider making struct 'Response' conform to the 'Sendable' protocol
160 |
161 |     /// Represents a HTTP response.
162 |     public struct Response: Equatable {
    |                   `- note: consider making struct 'Response' conform to the 'Sendable' protocol
163 |
164 |         /// The `HTTP.Request` object used to receive this response
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:10:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | import Foundation
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
   |                                                  `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
12 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:28: error: cannot find type 'URLRequest' in scope
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
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/Service/Transport/TransportSession.swift:24:28: error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
25 | }
26 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:24:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | }
26 |
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/Service/Transport/TransportSession.swift:28:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |
27 | // MARK: - URLSession Conformance to TransportSession
28 | extension URLSession: TransportSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:51:8: error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
49 |
50 | // MARK: - TransportSessionConfiguration Convenience
51 | public extension TransportSessionConfiguration {
   |        `- error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
52 |
53 |     func set(additionalHTTPHeaders: [HTTP.HeaderKey: HTTP.HeaderValue]?) {
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:60:34: error: cannot find type 'URLRequest' in scope
 58 |     @available(macOS, deprecated: 12.0)
 59 |     @available(watchOS, deprecated: 8.0)
 60 |     public func execute(request: URLRequest) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 61 |         startTransportTask()
 62 |         let (data, urlResponse) = try await session.data(for: request)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:73:34: error: cannot find type 'URLRequest' in scope
 71 |
 72 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 73 |     public func execute(request: URLRequest, delegate: TransportTaskDelegate? = nil) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 74 |         startTransportTask()
 75 |         let (data, urlResponse) = try await session.data(for: request, delegate: delegate)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:49:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |
 48 |     public init(sessionConfiguration: TransportSessionConfiguration, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
 49 |         self.init(session: URLSession(configuration: sessionConfiguration), networkActivityIndicatable: networkActivityIndicatable)
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |     }
 51 | }
[12/20] Compiling Hyperspace JSONCoder+Container.swift
[13/20] Compiling Hyperspace URL+Additions.swift
[14/20] Compiling Hyperspace HTTP.Body+URLForm.swift
[15/20] Compiling Hyperspace Request+Decodable.swift
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 |                                   headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 |                                   body: HTTP.Body? = nil,
17 |                                   cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                `- error: cannot find type 'URLRequest' in scope
18 |                                   timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 |                                   emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
[16/20] Compiling Hyperspace Request+EmptyDecodingStrategy.swift
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 |                                   headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 |                                   body: HTTP.Body? = nil,
17 |                                   cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                `- error: cannot find type 'URLRequest' in scope
18 |                                   timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 |                                   emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
[17/20] Compiling Hyperspace Request.URLRequestCreationStrategy.swift
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:19:52: error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
19 |         func urlRequest(using request: Request) -> URLRequest {
   |                                                    `- error: cannot find type 'URLRequest' in scope
20 |             return creationBlock(request)
21 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:75: error: cannot find type 'URLRequest' in scope
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:52: error: @escaping attribute only applies to function types
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                    `- error: @escaping attribute only applies to function types
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:30:34: error: cannot find 'URLRequest' in scope
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
   |                                  `- error: cannot find 'URLRequest' in scope
31 |                 urlRequest.httpMethod = request.method.rawValue
32 |                 urlRequest.httpBody = request.body?.data
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:29:60: error: cannot find type 'URLRequest' in scope
27 |
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
   |                                                            `- error: cannot find type 'URLRequest' in scope
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
31 |                 urlRequest.httpMethod = request.method.rawValue
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Request/Request.swift:166:43: error: cannot find type 'URLRequest' in scope
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                                           `- error: cannot find type 'URLRequest' in scope
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request.swift:166:23: warning: static property 'defaultCachePolicy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                       |- warning: static property 'defaultCachePolicy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultCachePolicy' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultCachePolicy' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request.swift:167:23: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
169 |     public static var defaultTimeout: TimeInterval = 60
/host/spi-builder-workspace/Sources/Request/Request.swift:168:23: warning: static property 'defaultMaxRecoveryAttempts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
    |                       |- warning: static property 'defaultMaxRecoveryAttempts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultMaxRecoveryAttempts' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultMaxRecoveryAttempts' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |     public static var defaultTimeout: TimeInterval = 60
170 | }
/host/spi-builder-workspace/Sources/Request/Request.swift:169:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
169 |     public static var defaultTimeout: TimeInterval = 60
    |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultTimeout' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | }
171 |
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
[18/20] Compiling Hyperspace Request.swift
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:19:52: error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
19 |         func urlRequest(using request: Request) -> URLRequest {
   |                                                    `- error: cannot find type 'URLRequest' in scope
20 |             return creationBlock(request)
21 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:75: error: cannot find type 'URLRequest' in scope
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:52: error: @escaping attribute only applies to function types
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                    `- error: @escaping attribute only applies to function types
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:30:34: error: cannot find 'URLRequest' in scope
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
   |                                  `- error: cannot find 'URLRequest' in scope
31 |                 urlRequest.httpMethod = request.method.rawValue
32 |                 urlRequest.httpBody = request.body?.data
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:29:60: error: cannot find type 'URLRequest' in scope
27 |
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
   |                                                            `- error: cannot find type 'URLRequest' in scope
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
31 |                 urlRequest.httpMethod = request.method.rawValue
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Request/Request.swift:166:43: error: cannot find type 'URLRequest' in scope
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                                           `- error: cannot find type 'URLRequest' in scope
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request.swift:166:23: warning: static property 'defaultCachePolicy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                       |- warning: static property 'defaultCachePolicy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultCachePolicy' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultCachePolicy' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request.swift:167:23: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
169 |     public static var defaultTimeout: TimeInterval = 60
/host/spi-builder-workspace/Sources/Request/Request.swift:168:23: warning: static property 'defaultMaxRecoveryAttempts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
    |                       |- warning: static property 'defaultMaxRecoveryAttempts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultMaxRecoveryAttempts' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultMaxRecoveryAttempts' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |     public static var defaultTimeout: TimeInterval = 60
170 | }
/host/spi-builder-workspace/Sources/Request/Request.swift:169:23: warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
169 |     public static var defaultTimeout: TimeInterval = 60
    |                       |- warning: static property 'defaultTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultTimeout' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultTimeout' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | }
171 |
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
[19/20] Compiling Hyperspace TransportSession.swift
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:10:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | import Foundation
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
   |                                                  `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
12 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:28: error: cannot find type 'URLRequest' in scope
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
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/Service/Transport/TransportSession.swift:24:28: error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
25 | }
26 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:24:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | }
26 |
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/Service/Transport/TransportSession.swift:28:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |
27 | // MARK: - URLSession Conformance to TransportSession
28 | extension URLSession: TransportSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:51:8: error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
49 |
50 | // MARK: - TransportSessionConfiguration Convenience
51 | public extension TransportSessionConfiguration {
   |        `- error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
52 |
53 |     func set(additionalHTTPHeaders: [HTTP.HeaderKey: HTTP.HeaderValue]?) {
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:60:34: error: cannot find type 'URLRequest' in scope
 58 |     @available(macOS, deprecated: 12.0)
 59 |     @available(watchOS, deprecated: 8.0)
 60 |     public func execute(request: URLRequest) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 61 |         startTransportTask()
 62 |         let (data, urlResponse) = try await session.data(for: request)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:73:34: error: cannot find type 'URLRequest' in scope
 71 |
 72 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 73 |     public func execute(request: URLRequest, delegate: TransportTaskDelegate? = nil) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 74 |         startTransportTask()
 75 |         let (data, urlResponse) = try await session.data(for: request, delegate: delegate)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:49:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |
 48 |     public init(sessionConfiguration: TransportSessionConfiguration, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
 49 |         self.init(session: URLSession(configuration: sessionConfiguration), networkActivityIndicatable: networkActivityIndicatable)
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |     }
 51 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 |         /// Initialize a new `Request` given a URL request.
152 |         /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 |         public init(urlRequest: URLRequest) {
    |                                 `- error: cannot find type 'URLRequest' in scope
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:68:65: error: extra argument 'urlRequest' in call
 66 |
 67 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 68 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 69 |         return try response.transportResult.get()
 70 |     }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:81:65: error: extra argument 'urlRequest' in call
 79 |
 80 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 81 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 82 |         return try response.transportResult.get()
 83 |     }
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:30:35: error: cannot find type 'URLRequest' in scope
28 | extension URLSession: TransportSession {
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
   |                                   `- error: cannot find type 'URLRequest' in scope
31 |         if #available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *) {
32 |             return try await data(for: request, delegate: nil)
[20/20] Compiling Hyperspace Transporting.swift
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:10:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | import Foundation
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
   |                                                  `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
12 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:28: error: cannot find type 'URLRequest' in scope
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
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/Service/Transport/TransportSession.swift:24:28: error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
25 | }
26 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:24:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | }
26 |
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/Service/Transport/TransportSession.swift:28:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |
27 | // MARK: - URLSession Conformance to TransportSession
28 | extension URLSession: TransportSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:51:8: error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
49 |
50 | // MARK: - TransportSessionConfiguration Convenience
51 | public extension TransportSessionConfiguration {
   |        `- error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
52 |
53 |     func set(additionalHTTPHeaders: [HTTP.HeaderKey: HTTP.HeaderValue]?) {
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:60:34: error: cannot find type 'URLRequest' in scope
 58 |     @available(macOS, deprecated: 12.0)
 59 |     @available(watchOS, deprecated: 8.0)
 60 |     public func execute(request: URLRequest) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 61 |         startTransportTask()
 62 |         let (data, urlResponse) = try await session.data(for: request)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:73:34: error: cannot find type 'URLRequest' in scope
 71 |
 72 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 73 |     public func execute(request: URLRequest, delegate: TransportTaskDelegate? = nil) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 74 |         startTransportTask()
 75 |         let (data, urlResponse) = try await session.data(for: request, delegate: delegate)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:49:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |
 48 |     public init(sessionConfiguration: TransportSessionConfiguration, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
 49 |         self.init(session: URLSession(configuration: sessionConfiguration), networkActivityIndicatable: networkActivityIndicatable)
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |     }
 51 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 |         /// Initialize a new `Request` given a URL request.
152 |         /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 |         public init(urlRequest: URLRequest) {
    |                                 `- error: cannot find type 'URLRequest' in scope
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:68:65: error: extra argument 'urlRequest' in call
 66 |
 67 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 68 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 69 |         return try response.transportResult.get()
 70 |     }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:81:65: error: extra argument 'urlRequest' in call
 79 |
 80 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 81 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 82 |         return try response.transportResult.get()
 83 |     }
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:30:35: error: cannot find type 'URLRequest' in scope
28 | extension URLSession: TransportSession {
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
   |                                   `- error: cannot find type 'URLRequest' in scope
31 |         if #available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *) {
32 |             return try await data(for: request, delegate: nil)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 7 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Helper/JSON/MixedTypeObject.json
    /host/spi-builder-workspace/Tests/Helper/JSON/DateObject.json
    /host/spi-builder-workspace/Tests/Helper/JSON/RootKeyObjectPlus.json
    /host/spi-builder-workspace/Tests/Helper/JSON/RootKeyIncorrectType.json
    /host/spi-builder-workspace/Tests/Helper/JSON/RootKeyObject.json
    /host/spi-builder-workspace/Tests/Helper/JSON/Object.json
    /host/spi-builder-workspace/Tests/Helper/JSON/RootKeyArray.json
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling Hyperspace HTTP.Body.swift
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 |         /// Initialize a new `Request` given a URL request.
152 |         /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 |         public init(urlRequest: URLRequest) {
    |                                 `- error: cannot find type 'URLRequest' in scope
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:199:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
197 |         ///   - httpURLResponse: The `HTTPURLResponse` returned by the backend.
198 |         ///   - body: The raw `Data` associated with the response, if any was provided.
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
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/HTTP/HTTP.swift:156:82: error: cannot infer contextual base in reference to member 'init'
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                  `- error: cannot infer contextual base in reference to member 'init'
157 |                       body: urlRequest.httpBody)
158 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:156:107: error: cannot infer contextual base in reference to member 'init'
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                                           `- error: cannot infer contextual base in reference to member 'init'
157 |                       body: urlRequest.httpBody)
158 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:200:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
198 |         ///   - body: The raw `Data` associated with the response, if any was provided.
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 |                       body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 |                       body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:82: error: cannot infer contextual base in reference to member 'init'
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                  `- error: cannot infer contextual base in reference to member 'init'
203 |                       body: body)
204 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:107: error: cannot infer contextual base in reference to member 'init'
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                                           `- error: cannot infer contextual base in reference to member 'init'
203 |                       body: body)
204 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:214:36: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
212 |
213 |         public var statusMessage: String {
214 |             return HTTPURLResponse.localizedString(forStatusCode: code)
    |                                    `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
215 |         }
216 |
[3/17] Compiling Hyperspace HTTP.swift
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 |         /// Initialize a new `Request` given a URL request.
152 |         /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 |         public init(urlRequest: URLRequest) {
    |                                 `- error: cannot find type 'URLRequest' in scope
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:199:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
197 |         ///   - httpURLResponse: The `HTTPURLResponse` returned by the backend.
198 |         ///   - body: The raw `Data` associated with the response, if any was provided.
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
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/HTTP/HTTP.swift:156:82: error: cannot infer contextual base in reference to member 'init'
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                  `- error: cannot infer contextual base in reference to member 'init'
157 |                       body: urlRequest.httpBody)
158 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:156:107: error: cannot infer contextual base in reference to member 'init'
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
156 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                                           `- error: cannot infer contextual base in reference to member 'init'
157 |                       body: urlRequest.httpBody)
158 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:200:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
198 |         ///   - body: The raw `Data` associated with the response, if any was provided.
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 |                       body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:201:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
203 |                       body: body)
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:82: error: cannot infer contextual base in reference to member 'init'
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                  `- error: cannot infer contextual base in reference to member 'init'
203 |                       body: body)
204 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:202:107: error: cannot infer contextual base in reference to member 'init'
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
202 |                       headers: Dictionary(uniqueKeysWithValues: headers?.map { (.init(rawValue: $0.key), .init(rawValue: $0.value)) } ?? []),
    |                                                                                                           `- error: cannot infer contextual base in reference to member 'init'
203 |                       body: body)
204 |         }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:214:36: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
212 |
213 |         public var statusMessage: String {
214 |             return HTTPURLResponse.localizedString(forStatusCode: code)
    |                                    `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
215 |         }
216 |
[4/19] Compiling Hyperspace NetworkActivityController.swift
[5/19] Compiling Hyperspace PreparationStrategy.swift
[6/19] Compiling Hyperspace BackendService.swift
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:75:113: error: extra argument 'delegate' in call
73 |         } catch let transportFailure as TransportFailure {
74 |             guard let quickRecovered = preparedRequest.recoveryTransformer(transportFailure) else {
75 |                 return try await attemptToRecover(from: transportFailure, executing: preparedRequest, delegate: delegate)
   |                                                                                                                 `- error: extra argument 'delegate' in call
76 |             }
77 |
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:80:98: error: extra argument 'delegate' in call
78 |             return try await preparedRequest.transform(success: quickRecovered)
79 |         } catch {
80 |             return try await attemptToRecover(from: error, executing: preparedRequest, delegate: delegate)
   |                                                                                                  `- error: extra argument 'delegate' in call
81 |         }
82 |     }
/host/spi-builder-workspace/Sources/Service/Backend/BackendServicing.swift:91:110: error: extra argument 'delegate' in call
89 |             case .notAttempted: continue
90 |             case .failure(let error): throw error
91 |             case .retry(let recoveredRequest): return try await execute(request: recoveredRequest, delegate: delegate)
   |                                                                                                              `- error: extra argument 'delegate' in call
92 |             }
93 |         }
[7/19] Compiling Hyperspace BackendServicing.swift
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:75:113: error: extra argument 'delegate' in call
73 |         } catch let transportFailure as TransportFailure {
74 |             guard let quickRecovered = preparedRequest.recoveryTransformer(transportFailure) else {
75 |                 return try await attemptToRecover(from: transportFailure, executing: preparedRequest, delegate: delegate)
   |                                                                                                                 `- error: extra argument 'delegate' in call
76 |             }
77 |
/host/spi-builder-workspace/Sources/Service/Backend/BackendService.swift:80:98: error: extra argument 'delegate' in call
78 |             return try await preparedRequest.transform(success: quickRecovered)
79 |         } catch {
80 |             return try await attemptToRecover(from: error, executing: preparedRequest, delegate: delegate)
   |                                                                                                  `- error: extra argument 'delegate' in call
81 |         }
82 |     }
/host/spi-builder-workspace/Sources/Service/Backend/BackendServicing.swift:91:110: error: extra argument 'delegate' in call
89 |             case .notAttempted: continue
90 |             case .failure(let error): throw error
91 |             case .retry(let recoveredRequest): return try await execute(request: recoveredRequest, delegate: delegate)
   |                                                                                                              `- error: extra argument 'delegate' in call
92 |             }
93 |         }
[8/19] Compiling Hyperspace Request+Decodable.swift
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 |                                   headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 |                                   body: HTTP.Body? = nil,
17 |                                   cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                `- error: cannot find type 'URLRequest' in scope
18 |                                   timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 |                                   emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
[9/19] Compiling Hyperspace Request+EmptyDecodingStrategy.swift
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 |                                   headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 |                                   body: HTTP.Body? = nil,
17 |                                   cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                `- error: cannot find type 'URLRequest' in scope
18 |                                   timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 |                                   emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
[10/19] Compiling Hyperspace Request.URLRequestCreationStrategy.swift
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:19:52: error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
19 |         func urlRequest(using request: Request) -> URLRequest {
   |                                                    `- error: cannot find type 'URLRequest' in scope
20 |             return creationBlock(request)
21 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:75: error: cannot find type 'URLRequest' in scope
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:52: error: @escaping attribute only applies to function types
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                    `- error: @escaping attribute only applies to function types
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:30:34: error: cannot find 'URLRequest' in scope
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
   |                                  `- error: cannot find 'URLRequest' in scope
31 |                 urlRequest.httpMethod = request.method.rawValue
32 |                 urlRequest.httpBody = request.body?.data
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:29:60: error: cannot find type 'URLRequest' in scope
27 |
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
   |                                                            `- error: cannot find type 'URLRequest' in scope
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
31 |                 urlRequest.httpMethod = request.method.rawValue
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Request/Request.swift:166:43: error: cannot find type 'URLRequest' in scope
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                                           `- error: cannot find type 'URLRequest' in scope
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
[11/19] Compiling Hyperspace Request.swift
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:19:52: error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
19 |         func urlRequest(using request: Request) -> URLRequest {
   |                                                    `- error: cannot find type 'URLRequest' in scope
20 |             return creationBlock(request)
21 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:75: error: cannot find type 'URLRequest' in scope
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:52: error: @escaping attribute only applies to function types
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                    `- error: @escaping attribute only applies to function types
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:30:34: error: cannot find 'URLRequest' in scope
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
   |                                  `- error: cannot find 'URLRequest' in scope
31 |                 urlRequest.httpMethod = request.method.rawValue
32 |                 urlRequest.httpBody = request.body?.data
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:29:60: error: cannot find type 'URLRequest' in scope
27 |
28 |         public static var `default`: URLRequestCreationStrategy {
29 |             return URLRequestCreationStrategy { request -> URLRequest in
   |                                                            `- error: cannot find type 'URLRequest' in scope
30 |                 var urlRequest = URLRequest(url: request.url, cachePolicy: request.cachePolicy, timeoutInterval: request.timeout)
31 |                 urlRequest.httpMethod = request.method.rawValue
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Request/Request.swift:166:43: error: cannot find type 'URLRequest' in scope
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                                           `- error: cannot find type 'URLRequest' in scope
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/19] Emitting module Hyperspace
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 |         /// Initialize a new `Request` given a URL request.
152 |         /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 |         public init(urlRequest: URLRequest) {
    |                                 `- error: cannot find type 'URLRequest' in scope
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:199:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
197 |         ///   - httpURLResponse: The `HTTPURLResponse` returned by the backend.
198 |         ///   - body: The raw `Data` associated with the response, if any was provided.
199 |         public init(request: HTTP.Request, httpURLResponse: HTTPURLResponse, body: Data? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
200 |             let headers = httpURLResponse.allHeaderFields as? [String: String]
201 |             self.init(request: request, code: httpURLResponse.statusCode, url: httpURLResponse.url,
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/Request/Request+Decodable.swift:47:23: error: cannot find type 'URLRequest' in scope
45 |          headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
46 |          body: HTTP.Body? = nil,
47 |          cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                       `- error: cannot find type 'URLRequest' in scope
48 |          timeout: TimeInterval = RequestDefaults.defaultTimeout,
49 |          decoder: JSONDecoder = RequestDefaults.defaultDecoder) {
/host/spi-builder-workspace/Sources/Request/Request+Decodable.swift:58:54: error: cannot find type 'URLRequest' in scope
56 |                                         headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
57 |                                         body: HTTP.Body? = nil,
58 |                                         cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                      `- error: cannot find type 'URLRequest' in scope
59 |                                         timeout: TimeInterval = RequestDefaults.defaultTimeout,
60 |                                         decoder: JSONDecoder = RequestDefaults.defaultDecoder,
/host/spi-builder-workspace/Sources/Request/Request+EmptyDecodingStrategy.swift:17:48: error: cannot find type 'URLRequest' in scope
15 |                                   headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
16 |                                   body: HTTP.Body? = nil,
17 |                                   cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
   |                                                `- error: cannot find type 'URLRequest' in scope
18 |                                   timeout: TimeInterval = RequestDefaults.defaultTimeout,
19 |                                   emptyDecodingStrategy: EmptyDecodingStrategy = .default) -> Request {
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:19:52: error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
19 |         func urlRequest(using request: Request) -> URLRequest {
   |                                                    `- error: cannot find type 'URLRequest' in scope
20 |             return creationBlock(request)
21 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:75: error: cannot find type 'URLRequest' in scope
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:24:52: error: @escaping attribute only applies to function types
22 |
23 |         // MARK: - Presets
24 |         public static func custom(_ creationBlock: @escaping (Request) -> URLRequest) -> URLRequestCreationStrategy {
   |                                                    `- error: @escaping attribute only applies to function types
25 |             return URLRequestCreationStrategy(creationBlock: creationBlock)
26 |         }
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.swift:70:30: error: cannot find type 'URLRequest' in scope
 68 |                 headers: [HTTP.HeaderKey: HTTP.HeaderValue]? = nil,
 69 |                 body: HTTP.Body? = nil,
 70 |                 cachePolicy: URLRequest.CachePolicy = RequestDefaults.defaultCachePolicy,
    |                              `- error: cannot find type 'URLRequest' in scope
 71 |                 timeout: TimeInterval = RequestDefaults.defaultTimeout,
 72 |                 successTransformer: @escaping Transformer) {
/host/spi-builder-workspace/Sources/Request/Request.swift:83:28: error: cannot find type 'URLRequest' in scope
 81 |
 82 |     // MARK: - Interface
 83 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
 84 |         return urlRequestCreationStrategy.urlRequest(using: self)
 85 |     }
/host/spi-builder-workspace/Sources/Request/Request.swift:166:43: error: cannot find type 'URLRequest' in scope
164 | public struct RequestDefaults {
165 |
166 |     public static var defaultCachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
    |                                           `- error: cannot find type 'URLRequest' in scope
167 |     public static var defaultDecoder: JSONDecoder = JSONDecoder()
168 |     public static var defaultMaxRecoveryAttempts: UInt = 1
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:10:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | import Foundation
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
   |                                                  `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
12 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:28: error: cannot find type 'URLRequest' in scope
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
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/Service/Transport/TransportSession.swift:24:28: error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
25 | }
26 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:24:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | }
26 |
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/Service/Transport/TransportSession.swift:28:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |
27 | // MARK: - URLSession Conformance to TransportSession
28 | extension URLSession: TransportSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:51:8: error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
49 |
50 | // MARK: - TransportSessionConfiguration Convenience
51 | public extension TransportSessionConfiguration {
   |        `- error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
52 |
53 |     func set(additionalHTTPHeaders: [HTTP.HeaderKey: HTTP.HeaderValue]?) {
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:60:34: error: cannot find type 'URLRequest' in scope
 58 |     @available(macOS, deprecated: 12.0)
 59 |     @available(watchOS, deprecated: 8.0)
 60 |     public func execute(request: URLRequest) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 61 |         startTransportTask()
 62 |         let (data, urlResponse) = try await session.data(for: request)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:73:34: error: cannot find type 'URLRequest' in scope
 71 |
 72 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 73 |     public func execute(request: URLRequest, delegate: TransportTaskDelegate? = nil) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 74 |         startTransportTask()
 75 |         let (data, urlResponse) = try await session.data(for: request, delegate: delegate)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:49:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |
 48 |     public init(sessionConfiguration: TransportSessionConfiguration, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
 49 |         self.init(session: URLSession(configuration: sessionConfiguration), networkActivityIndicatable: networkActivityIndicatable)
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |     }
 51 | }
[13/19] Compiling Hyperspace RecoveryStrategy.swift
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
[14/19] Compiling Hyperspace TransportResult.swift
/host/spi-builder-workspace/Sources/Request/Request.swift:35:29: error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /// The cache policy to use when executing this network request.
 35 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
 36 |
 37 |     /// The timeout to use when executing this network request.
/host/spi-builder-workspace/Sources/Request/Request.URLRequestCreationStrategy.swift:16:41: error: cannot find type 'URLRequest' in scope
14 |
15 |         // MARK: - Properties
16 |         let creationBlock: (Request) -> URLRequest
   |                                         `- error: cannot find type 'URLRequest' in scope
17 |
18 |         // MARK: - Interface
[15/19] Compiling Hyperspace TransportSession.swift
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:10:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | import Foundation
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
   |                                                  `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
12 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:28: error: cannot find type 'URLRequest' in scope
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
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/Service/Transport/TransportSession.swift:24:28: error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
25 | }
26 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:24:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | }
26 |
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/Service/Transport/TransportSession.swift:28:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |
27 | // MARK: - URLSession Conformance to TransportSession
28 | extension URLSession: TransportSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:51:8: error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
49 |
50 | // MARK: - TransportSessionConfiguration Convenience
51 | public extension TransportSessionConfiguration {
   |        `- error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
52 |
53 |     func set(additionalHTTPHeaders: [HTTP.HeaderKey: HTTP.HeaderValue]?) {
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:60:34: error: cannot find type 'URLRequest' in scope
 58 |     @available(macOS, deprecated: 12.0)
 59 |     @available(watchOS, deprecated: 8.0)
 60 |     public func execute(request: URLRequest) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 61 |         startTransportTask()
 62 |         let (data, urlResponse) = try await session.data(for: request)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:73:34: error: cannot find type 'URLRequest' in scope
 71 |
 72 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 73 |     public func execute(request: URLRequest, delegate: TransportTaskDelegate? = nil) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 74 |         startTransportTask()
 75 |         let (data, urlResponse) = try await session.data(for: request, delegate: delegate)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:49:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |
 48 |     public init(sessionConfiguration: TransportSessionConfiguration, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
 49 |         self.init(session: URLSession(configuration: sessionConfiguration), networkActivityIndicatable: networkActivityIndicatable)
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |     }
 51 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 |         /// Initialize a new `Request` given a URL request.
152 |         /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 |         public init(urlRequest: URLRequest) {
    |                                 `- error: cannot find type 'URLRequest' in scope
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:68:65: error: extra argument 'urlRequest' in call
 66 |
 67 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 68 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 69 |         return try response.transportResult.get()
 70 |     }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:81:65: error: extra argument 'urlRequest' in call
 79 |
 80 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 81 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 82 |         return try response.transportResult.get()
 83 |     }
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:30:35: error: cannot find type 'URLRequest' in scope
28 | extension URLSession: TransportSession {
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
   |                                   `- error: cannot find type 'URLRequest' in scope
31 |         if #available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *) {
32 |             return try await data(for: request, delegate: nil)
[16/19] Compiling Hyperspace Transporting.swift
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:10:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | import Foundation
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
   |                                                  `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
12 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:11:42: error: cannot find type 'URLSessionTaskDelegate' in scope
 9 |
10 | public typealias TransportSessionConfiguration = URLSessionConfiguration
11 | public typealias TransportTaskDelegate = URLSessionTaskDelegate
   |                                          `- error: cannot find type 'URLSessionTaskDelegate' in scope
12 |
13 | /// Represents something that can execute a URLRequest to return a TransportDataTask. Modeled after URLSession to allow for injecting mock sessions into a BackendService.
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:28: error: cannot find type 'URLRequest' in scope
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:21:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     @available(macOS, deprecated: 12.0)
20 |     @available(watchOS, deprecated: 8.0)
21 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
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/Service/Transport/TransportSession.swift:24:28: error: cannot find type 'URLRequest' in scope
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
25 | }
26 |
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:24:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
24 |     func data(for request: URLRequest, delegate: TransportTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | }
26 |
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/Service/Transport/TransportSession.swift:28:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |
27 | // MARK: - URLSession Conformance to TransportSession
28 | extension URLSession: TransportSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:51:8: error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
49 |
50 | // MARK: - TransportSessionConfiguration Convenience
51 | public extension TransportSessionConfiguration {
   |        `- error: non-nominal type 'TransportSessionConfiguration' (aka 'AnyObject') cannot be extended
52 |
53 |     func set(additionalHTTPHeaders: [HTTP.HeaderKey: HTTP.HeaderValue]?) {
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:23:27: error: cannot find type 'URLRequest' in scope
 21 |     @available(macOS, deprecated: 12.0)
 22 |     @available(watchOS, deprecated: 8.0)
 23 |     func execute(request: URLRequest) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Executes the `URLRequest`, calling the provided completion block when complete.
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:30:27: error: cannot find type 'URLRequest' in scope
 28 |     ///   - request: The `URLRequest` to execute.
 29 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 30 |     func execute(request: URLRequest, delegate: TransportTaskDelegate?) async throws -> TransportSuccess
    |                           `- error: cannot find type 'URLRequest' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:43:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |
 42 |     // MARK: - Initializers
 43 |     public init(session: TransportSession = URLSession.shared, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         self.session = session
 45 |         self.networkActivityController = networkActivityIndicatable.map { NetworkActivityController(indicator: $0) }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:60:34: error: cannot find type 'URLRequest' in scope
 58 |     @available(macOS, deprecated: 12.0)
 59 |     @available(watchOS, deprecated: 8.0)
 60 |     public func execute(request: URLRequest) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 61 |         startTransportTask()
 62 |         let (data, urlResponse) = try await session.data(for: request)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:73:34: error: cannot find type 'URLRequest' in scope
 71 |
 72 |     @available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *)
 73 |     public func execute(request: URLRequest, delegate: TransportTaskDelegate? = nil) async throws -> TransportSuccess {
    |                                  `- error: cannot find type 'URLRequest' in scope
 74 |         startTransportTask()
 75 |         let (data, urlResponse) = try await session.data(for: request, delegate: delegate)
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:49:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |
 48 |     public init(sessionConfiguration: TransportSessionConfiguration, networkActivityIndicatable: NetworkActivityIndicatable? = nil) {
 49 |         self.init(session: URLSession(configuration: sessionConfiguration), networkActivityIndicatable: networkActivityIndicatable)
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |     }
 51 | }
/host/spi-builder-workspace/Sources/HTTP/HTTP.swift:153:33: error: cannot find type 'URLRequest' in scope
151 |         /// Initialize a new `Request` given a URL request.
152 |         /// - Parameter urlRequest: The `URLRequest` instance used to initiate the request.
153 |         public init(urlRequest: URLRequest) {
    |                                 `- error: cannot find type 'URLRequest' in scope
154 |             let headers = urlRequest.allHTTPHeaderFields
155 |             self.init(url: urlRequest.url, method: urlRequest.httpMethod.flatMap(HTTP.Method.init),
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:68:65: error: extra argument 'urlRequest' in call
 66 |
 67 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 68 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 69 |         return try response.transportResult.get()
 70 |     }
/host/spi-builder-workspace/Sources/Service/Transport/Transporting.swift:81:65: error: extra argument 'urlRequest' in call
 79 |
 80 |         guard let httpURLResponse = urlResponse as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 81 |         let response = HTTP.Response(request: .init(urlRequest: request), httpURLResponse: httpURLResponse, body: data)
    |                                                                 `- error: extra argument 'urlRequest' in call
 82 |         return try response.transportResult.get()
 83 |     }
/host/spi-builder-workspace/Sources/Service/Transport/TransportSession.swift:30:35: error: cannot find type 'URLRequest' in scope
28 | extension URLSession: TransportSession {
29 |
30 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
   |                                   `- error: cannot find type 'URLRequest' in scope
31 |         if #available(iOS 15.0, tvOS 15.0, macOS 12.0, watchOS 8.0, *) {
32 |             return try await data(for: request, delegate: nil)
[17/19] Compiling Hyperspace JSONCoder+Container.swift
[18/19] Compiling Hyperspace URL+Additions.swift
[19/19] Compiling Hyperspace HTTP.Body+URLForm.swift
BUILD FAILURE 6.1 wasm