The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Netswift, reference 1.1.1 (2b4562), with Swift 6.3 for Wasm on 21 Apr 2026 19:01:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MrSkwiggs/Netswift.git
Reference: 1.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/MrSkwiggs/Netswift
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 2b45629 🔀 Merge pull request #48 from MrSkwiggs/bleeding_edge
Cloned https://github.com/MrSkwiggs/Netswift.git
Revision (git rev-parse @):
2b45629ae5f4859e62207b1d4064e08bd870e689
SUCCESS checkout https://github.com/MrSkwiggs/Netswift.git at 1.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MrSkwiggs/Netswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module Netswift
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:23:30: error: cannot find type 'URLRequest' in scope
21 |      - parameter completion: A block that will be called when the data task eventually returns
22 |      */
23 |     func perform (_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
24 |
25 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |      */
32 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
33 |     func perform(_ request: URLRequest) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
34 |
35 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:30: error: cannot find type 'URLRequest' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:52: error: cannot find type 'DispatchTime' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                                                    `- error: cannot find type 'DispatchTime' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:29: error: cannot find type 'URLRequest' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:51: error: cannot find type 'DispatchTime' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                                                   `- error: cannot find type 'DispatchTime' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftHTTPResponse.swift:20:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
19 |     }
20 |     public let URLResponse: URLResponse?
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     public let error: Swift.Error?
22 |
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/Netswift/Core/NetswiftHTTPResponse.swift:24:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     public init(data: Data?,
24 |                 response: URLResponse?,
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |                 error: Swift.Error? = nil) {
26 |         self.data = data
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/Netswift/Core/NetswiftNetworkPerformer.swift:26:54: error: cannot find type 'DispatchTime' in scope
24 |      */
25 |     func perform<Request: NetswiftRequest>(_ request: Request,
26 |                                            deadline: DispatchTime?,
   |                                                      `- error: cannot find type 'DispatchTime' in scope
27 |                                            handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask?
28 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:47:40: error: cannot find type 'URLRequest' in scope
 45 |      - parameter completion: A completion block that takes in a NetswiftResult that either succeeds with a useable URLRequest, or fails with a NetswiftError
 46 |      */
 47 |     func serialise() -> NetswiftResult<URLRequest>
    |                                        `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:99:40: error: cannot find type 'URLRequest' in scope
 97 |
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
100 |         var request = URLRequest(url: self.url)
101 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:109:40: error: cannot find type 'URLRequest' in scope
107 |
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
110 |         var request = URLRequest(url: self.url)
111 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequestPerformable.swift:28:28: error: cannot find type 'DispatchTime' in scope
26 |      - returns: An optional `NetswiftTask` which can be used for further management of the ongoing request.
27 |      */
28 |     func perform(deadline: DispatchTime, _ handler: @escaping NetswiftHandler<Self.Response>) -> NetswiftTask?
   |                            `- error: cannot find type 'DispatchTime' in scope
29 |
30 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:18:32: error: cannot find type 'URLRequest' in scope
16 |     typealias RequestHandler = (NetswiftHTTPResponse) -> Void
17 |
18 |     func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask
   |                                `- error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:21:32: error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
21 |     func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse
   |                                `- error: cannot find type 'URLRequest' in scope
22 | }
23 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 |
24 | /// Extension to make URLSession compliant with NetswiftSession
25 | extension URLSession: NetswiftSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftTask.swift:21:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 | }
20 |
21 | extension URLSessionDataTask: NetswiftTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
22 |
/host/spi-builder-workspace/Sources/Netswift/Core/URLRequestExtension.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |
14 | /// Convenience wrapper functions
15 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     mutating func setHTTPMethod(_ method: NetswiftHTTPMethod) {
17 |         self.httpMethod = method.rawValue
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:19:44: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |     public let session: NetswiftSession
18 |
19 |     public init(session: NetswiftSession = URLSession(configuration: .default)) {
   |                                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         self.session = session
21 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:19:71: error: cannot infer contextual base in reference to member 'default'
17 |     public let session: NetswiftSession
18 |
19 |     public init(session: NetswiftSession = URLSession(configuration: .default)) {
   |                                                                       `- error: cannot infer contextual base in reference to member 'default'
20 |         self.session = session
21 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:23:34: error: cannot find type 'URLRequest' in scope
21 |     }
22 |
23 |     open func perform(_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                  `- error: cannot find type 'URLRequest' in scope
24 |         return session.perform(request) { response in
25 |             completion(self.validate(response))
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:30:34: error: cannot find type 'URLRequest' in scope
28 |
29 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
30 |     open func perform(_ request: URLRequest) async -> NetswiftResult<Data?> {
   |                                  `- error: cannot find type 'URLRequest' in scope
31 |         return await validate(session.perform(request))
32 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:34:34: error: cannot find type 'URLRequest' in scope
32 |     }
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                  `- error: cannot find type 'URLRequest' in scope
35 |         let dispatchGroup = DispatchGroup()
36 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:34:56: error: cannot find type 'DispatchTime' in scope
32 |     }
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                                        `- error: cannot find type 'DispatchTime' in scope
35 |         let dispatchGroup = DispatchGroup()
36 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:50:34: error: cannot find type 'URLRequest' in scope
48 |
49 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
   |                                  `- error: cannot find type 'URLRequest' in scope
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:50:56: error: cannot find type 'DispatchTime' in scope
48 |
49 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
   |                                                        `- error: cannot find type 'DispatchTime' in scope
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/Netswift/NetswiftPerformer.swift:24:59: error: cannot find type 'DispatchTime' in scope
 22 |     @discardableResult
 23 |     public func perform<Request: NetswiftRequest>(_ request: Request,
 24 |                                                 deadline: DispatchTime? = nil,
    |                                                           `- error: cannot find type 'DispatchTime' in scope
 25 |                                                 handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask? {
 26 |         guard let deadline = deadline else {
/host/spi-builder-workspace/Sources/Netswift/NetswiftPerformer.swift:89:43: error: cannot find type 'URLRequest' in scope
 87 |      Override this function to perform extra configuration on the outgoing URLRequest, before it is sent out.
 88 |      */
 89 |     open func hook(into urlRequest: inout URLRequest) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 90 |         // overridable, empty default
 91 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/25] Compiling Netswift NetswiftRequest.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:47:40: error: cannot find type 'URLRequest' in scope
 45 |      - parameter completion: A completion block that takes in a NetswiftResult that either succeeds with a useable URLRequest, or fails with a NetswiftError
 46 |      */
 47 |     func serialise() -> NetswiftResult<URLRequest>
    |                                        `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:99:40: error: cannot find type 'URLRequest' in scope
 97 |
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
100 |         var request = URLRequest(url: self.url)
101 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:109:40: error: cannot find type 'URLRequest' in scope
107 |
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
110 |         var request = URLRequest(url: self.url)
111 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:100:23: error: cannot find 'URLRequest' in scope
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
100 |         var request = URLRequest(url: self.url)
    |                       `- error: cannot find 'URLRequest' in scope
101 |         request.setHTTPMethod(self.method)
102 |         request.addHeaders(headers.all)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:110:23: error: cannot find 'URLRequest' in scope
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
110 |         var request = URLRequest(url: self.url)
    |                       `- error: cannot find 'URLRequest' in scope
111 |         request.setHTTPMethod(self.method)
112 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:117:34: error: cannot infer contextual base in reference to member 'init'
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
117 |                 return .failure(.init(.requestSerialisationError))
    |                                  `- error: cannot infer contextual base in reference to member 'init'
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:117:40: error: cannot infer contextual base in reference to member 'requestSerialisationError'
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
117 |                 return .failure(.init(.requestSerialisationError))
    |                                        `- error: cannot infer contextual base in reference to member 'requestSerialisationError'
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:116:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
114 |             do {
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
    |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
117 |                 return .failure(.init(.requestSerialisationError))
118 |             }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequestPerformable.swift:28:28: error: cannot find type 'DispatchTime' in scope
26 |      - returns: An optional `NetswiftTask` which can be used for further management of the ongoing request.
27 |      */
28 |     func perform(deadline: DispatchTime, _ handler: @escaping NetswiftHandler<Self.Response>) -> NetswiftTask?
   |                            `- error: cannot find type 'DispatchTime' in scope
29 |
30 |     /**
[5/25] Compiling Netswift NetswiftRequestPerformable.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:47:40: error: cannot find type 'URLRequest' in scope
 45 |      - parameter completion: A completion block that takes in a NetswiftResult that either succeeds with a useable URLRequest, or fails with a NetswiftError
 46 |      */
 47 |     func serialise() -> NetswiftResult<URLRequest>
    |                                        `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:99:40: error: cannot find type 'URLRequest' in scope
 97 |
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
100 |         var request = URLRequest(url: self.url)
101 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:109:40: error: cannot find type 'URLRequest' in scope
107 |
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
110 |         var request = URLRequest(url: self.url)
111 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:100:23: error: cannot find 'URLRequest' in scope
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
100 |         var request = URLRequest(url: self.url)
    |                       `- error: cannot find 'URLRequest' in scope
101 |         request.setHTTPMethod(self.method)
102 |         request.addHeaders(headers.all)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:110:23: error: cannot find 'URLRequest' in scope
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
110 |         var request = URLRequest(url: self.url)
    |                       `- error: cannot find 'URLRequest' in scope
111 |         request.setHTTPMethod(self.method)
112 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:117:34: error: cannot infer contextual base in reference to member 'init'
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
117 |                 return .failure(.init(.requestSerialisationError))
    |                                  `- error: cannot infer contextual base in reference to member 'init'
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:117:40: error: cannot infer contextual base in reference to member 'requestSerialisationError'
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
117 |                 return .failure(.init(.requestSerialisationError))
    |                                        `- error: cannot infer contextual base in reference to member 'requestSerialisationError'
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:116:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
114 |             do {
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
    |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
117 |                 return .failure(.init(.requestSerialisationError))
118 |             }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequestPerformable.swift:28:28: error: cannot find type 'DispatchTime' in scope
26 |      - returns: An optional `NetswiftTask` which can be used for further management of the ongoing request.
27 |      */
28 |     func perform(deadline: DispatchTime, _ handler: @escaping NetswiftHandler<Self.Response>) -> NetswiftTask?
   |                            `- error: cannot find type 'DispatchTime' in scope
29 |
30 |     /**
[6/25] Compiling Netswift NetswiftResult.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:47:40: error: cannot find type 'URLRequest' in scope
 45 |      - parameter completion: A completion block that takes in a NetswiftResult that either succeeds with a useable URLRequest, or fails with a NetswiftError
 46 |      */
 47 |     func serialise() -> NetswiftResult<URLRequest>
    |                                        `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:99:40: error: cannot find type 'URLRequest' in scope
 97 |
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
100 |         var request = URLRequest(url: self.url)
101 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:109:40: error: cannot find type 'URLRequest' in scope
107 |
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
110 |         var request = URLRequest(url: self.url)
111 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:100:23: error: cannot find 'URLRequest' in scope
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
100 |         var request = URLRequest(url: self.url)
    |                       `- error: cannot find 'URLRequest' in scope
101 |         request.setHTTPMethod(self.method)
102 |         request.addHeaders(headers.all)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:110:23: error: cannot find 'URLRequest' in scope
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
110 |         var request = URLRequest(url: self.url)
    |                       `- error: cannot find 'URLRequest' in scope
111 |         request.setHTTPMethod(self.method)
112 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:117:34: error: cannot infer contextual base in reference to member 'init'
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
117 |                 return .failure(.init(.requestSerialisationError))
    |                                  `- error: cannot infer contextual base in reference to member 'init'
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:117:40: error: cannot infer contextual base in reference to member 'requestSerialisationError'
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
117 |                 return .failure(.init(.requestSerialisationError))
    |                                        `- error: cannot infer contextual base in reference to member 'requestSerialisationError'
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:116:15: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
114 |             do {
115 |                 request.httpBody = try bodyEncoder.encode(body)
116 |             } catch {
    |               `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
117 |                 return .failure(.init(.requestSerialisationError))
118 |             }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequestPerformable.swift:28:28: error: cannot find type 'DispatchTime' in scope
26 |      - returns: An optional `NetswiftTask` which can be used for further management of the ongoing request.
27 |      */
28 |     func perform(deadline: DispatchTime, _ handler: @escaping NetswiftHandler<Self.Response>) -> NetswiftTask?
   |                            `- error: cannot find type 'DispatchTime' in scope
29 |
30 |     /**
[7/25] Compiling Netswift NetswiftAuthorizationType.swift
[8/25] Compiling Netswift NetswiftEncoder.swift
[9/25] Compiling Netswift NetswiftError+Category.swift
[10/25] Compiling Netswift NetswiftError.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:134:32: warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
132 |     var fullDescription: String {
133 |         switch self {
134 |         case .typeMismatch(let any, let context):
    |                                `- warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
135 |             return context.debugDescription
136 |         case .valueNotFound(let any, let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:136:33: warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
134 |         case .typeMismatch(let any, let context):
135 |             return context.debugDescription
136 |         case .valueNotFound(let any, let context):
    |                                 `- warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
137 |             return context.debugDescription
138 |         case .keyNotFound(let codingKey, let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:138:31: warning: immutable value 'codingKey' was never used; consider replacing with '_' or removing it [#no-usage]
136 |         case .valueNotFound(let any, let context):
137 |             return context.debugDescription
138 |         case .keyNotFound(let codingKey, let context):
    |                               `- warning: immutable value 'codingKey' was never used; consider replacing with '_' or removing it [#no-usage]
139 |             return context.debugDescription
140 |         case .dataCorrupted(let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftHTTPResponse.swift:20:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
19 |     }
20 |     public let URLResponse: URLResponse?
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     public let error: Swift.Error?
22 |
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/Netswift/Core/NetswiftHTTPResponse.swift:24:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     public init(data: Data?,
24 |                 response: URLResponse?,
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |                 error: Swift.Error? = nil) {
26 |         self.data = data
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/Netswift/Core/NetswiftHTTPResponse.swift:18:29: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
16 |     public let data: Data?
17 |     public var statusCode: Int? {
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
   |                             `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
19 |     }
20 |     public let URLResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftHTTPResponse.swift:18:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |     public let data: Data?
17 |     public var statusCode: Int? {
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
   |                                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |     }
20 |     public let URLResponse: URLResponse?
[11/25] Compiling Netswift NetswiftHTTPMethod.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:134:32: warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
132 |     var fullDescription: String {
133 |         switch self {
134 |         case .typeMismatch(let any, let context):
    |                                `- warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
135 |             return context.debugDescription
136 |         case .valueNotFound(let any, let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:136:33: warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
134 |         case .typeMismatch(let any, let context):
135 |             return context.debugDescription
136 |         case .valueNotFound(let any, let context):
    |                                 `- warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
137 |             return context.debugDescription
138 |         case .keyNotFound(let codingKey, let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:138:31: warning: immutable value 'codingKey' was never used; consider replacing with '_' or removing it [#no-usage]
136 |         case .valueNotFound(let any, let context):
137 |             return context.debugDescription
138 |         case .keyNotFound(let codingKey, let context):
    |                               `- warning: immutable value 'codingKey' was never used; consider replacing with '_' or removing it [#no-usage]
139 |             return context.debugDescription
140 |         case .dataCorrupted(let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftHTTPResponse.swift:20:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
19 |     }
20 |     public let URLResponse: URLResponse?
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     public let error: Swift.Error?
22 |
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/Netswift/Core/NetswiftHTTPResponse.swift:24:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     public init(data: Data?,
24 |                 response: URLResponse?,
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |                 error: Swift.Error? = nil) {
26 |         self.data = data
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/Netswift/Core/NetswiftHTTPResponse.swift:18:29: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
16 |     public let data: Data?
17 |     public var statusCode: Int? {
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
   |                             `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
19 |     }
20 |     public let URLResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftHTTPResponse.swift:18:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |     public let data: Data?
17 |     public var statusCode: Int? {
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
   |                                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |     }
20 |     public let URLResponse: URLResponse?
[12/25] Compiling Netswift NetswiftHTTPResponse.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:134:32: warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
132 |     var fullDescription: String {
133 |         switch self {
134 |         case .typeMismatch(let any, let context):
    |                                `- warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
135 |             return context.debugDescription
136 |         case .valueNotFound(let any, let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:136:33: warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
134 |         case .typeMismatch(let any, let context):
135 |             return context.debugDescription
136 |         case .valueNotFound(let any, let context):
    |                                 `- warning: immutable value 'any' was never used; consider replacing with '_' or removing it [#no-usage]
137 |             return context.debugDescription
138 |         case .keyNotFound(let codingKey, let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:138:31: warning: immutable value 'codingKey' was never used; consider replacing with '_' or removing it [#no-usage]
136 |         case .valueNotFound(let any, let context):
137 |             return context.debugDescription
138 |         case .keyNotFound(let codingKey, let context):
    |                               `- warning: immutable value 'codingKey' was never used; consider replacing with '_' or removing it [#no-usage]
139 |             return context.debugDescription
140 |         case .dataCorrupted(let context):
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftHTTPResponse.swift:20:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
19 |     }
20 |     public let URLResponse: URLResponse?
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     public let error: Swift.Error?
22 |
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/Netswift/Core/NetswiftHTTPResponse.swift:24:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     public init(data: Data?,
24 |                 response: URLResponse?,
   |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |                 error: Swift.Error? = nil) {
26 |         self.data = data
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/Netswift/Core/NetswiftHTTPResponse.swift:18:29: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
16 |     public let data: Data?
17 |     public var statusCode: Int? {
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
   |                             `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
19 |     }
20 |     public let URLResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftHTTPResponse.swift:18:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |     public let data: Data?
17 |     public var statusCode: Int? {
18 |         return (URLResponse as? HTTPURLResponse)?.statusCode
   |                                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |     }
20 |     public let URLResponse: URLResponse?
[13/25] Compiling Netswift NetswiftHTTPPerformer.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:18:32: error: cannot find type 'URLRequest' in scope
16 |     typealias RequestHandler = (NetswiftHTTPResponse) -> Void
17 |
18 |     func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask
   |                                `- error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:21:32: error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
21 |     func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse
   |                                `- error: cannot find type 'URLRequest' in scope
22 | }
23 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:19:44: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |     public let session: NetswiftSession
18 |
19 |     public init(session: NetswiftSession = URLSession(configuration: .default)) {
   |                                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         self.session = session
21 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:19:71: error: cannot infer contextual base in reference to member 'default'
17 |     public let session: NetswiftSession
18 |
19 |     public init(session: NetswiftSession = URLSession(configuration: .default)) {
   |                                                                       `- error: cannot infer contextual base in reference to member 'default'
20 |         self.session = session
21 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:23:34: error: cannot find type 'URLRequest' in scope
21 |     }
22 |
23 |     open func perform(_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                  `- error: cannot find type 'URLRequest' in scope
24 |         return session.perform(request) { response in
25 |             completion(self.validate(response))
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:30:34: error: cannot find type 'URLRequest' in scope
28 |
29 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
30 |     open func perform(_ request: URLRequest) async -> NetswiftResult<Data?> {
   |                                  `- error: cannot find type 'URLRequest' in scope
31 |         return await validate(session.perform(request))
32 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:34:34: error: cannot find type 'URLRequest' in scope
32 |     }
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                  `- error: cannot find type 'URLRequest' in scope
35 |         let dispatchGroup = DispatchGroup()
36 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:34:56: error: cannot find type 'DispatchTime' in scope
32 |     }
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                                        `- error: cannot find type 'DispatchTime' in scope
35 |         let dispatchGroup = DispatchGroup()
36 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:50:34: error: cannot find type 'URLRequest' in scope
48 |
49 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
   |                                  `- error: cannot find type 'URLRequest' in scope
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:50:56: error: cannot find type 'DispatchTime' in scope
48 |
49 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
   |                                                        `- error: cannot find type 'DispatchTime' in scope
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:23:30: error: cannot find type 'URLRequest' in scope
21 |      - parameter completion: A block that will be called when the data task eventually returns
22 |      */
23 |     func perform (_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
24 |
25 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |      */
32 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
33 |     func perform(_ request: URLRequest) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
34 |
35 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:30: error: cannot find type 'URLRequest' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:52: error: cannot find type 'DispatchTime' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                                                    `- error: cannot find type 'DispatchTime' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:29: error: cannot find type 'URLRequest' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:51: error: cannot find type 'DispatchTime' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                                                   `- error: cannot find type 'DispatchTime' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:35:29: error: cannot find 'DispatchGroup' in scope
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
35 |         let dispatchGroup = DispatchGroup()
   |                             `- error: cannot find 'DispatchGroup' in scope
36 |
37 |         if dispatchGroup.wait(timeout: deadline) == .timedOut {
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:52:33: error: cannot find 'DispatchGroup' in scope
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
   |                                 `- error: cannot find 'DispatchGroup' in scope
53 |
54 |             if dispatchGroup.wait(timeout: deadline) == .timedOut {
/host/spi-builder-workspace/Sources/Netswift/NetswiftPerformer.swift:24:59: error: cannot find type 'DispatchTime' in scope
 22 |     @discardableResult
 23 |     public func perform<Request: NetswiftRequest>(_ request: Request,
 24 |                                                 deadline: DispatchTime? = nil,
    |                                                           `- error: cannot find type 'DispatchTime' in scope
 25 |                                                 handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask? {
 26 |         guard let deadline = deadline else {
/host/spi-builder-workspace/Sources/Netswift/NetswiftPerformer.swift:89:43: error: cannot find type 'URLRequest' in scope
 87 |      Override this function to perform extra configuration on the outgoing URLRequest, before it is sent out.
 88 |      */
 89 |     open func hook(into urlRequest: inout URLRequest) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 90 |         // overridable, empty default
 91 |     }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftNetworkPerformer.swift:26:54: error: cannot find type 'DispatchTime' in scope
24 |      */
25 |     func perform<Request: NetswiftRequest>(_ request: Request,
26 |                                            deadline: DispatchTime?,
   |                                                      `- error: cannot find type 'DispatchTime' in scope
27 |                                            handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask?
28 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:47:40: error: cannot find type 'URLRequest' in scope
 45 |      - parameter completion: A completion block that takes in a NetswiftResult that either succeeds with a useable URLRequest, or fails with a NetswiftError
 46 |      */
 47 |     func serialise() -> NetswiftResult<URLRequest>
    |                                        `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:99:40: error: cannot find type 'URLRequest' in scope
 97 |
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
100 |         var request = URLRequest(url: self.url)
101 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:109:40: error: cannot find type 'URLRequest' in scope
107 |
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
110 |         var request = URLRequest(url: self.url)
111 |         request.setHTTPMethod(self.method)
[14/25] Compiling Netswift NetswiftPerformer.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:18:32: error: cannot find type 'URLRequest' in scope
16 |     typealias RequestHandler = (NetswiftHTTPResponse) -> Void
17 |
18 |     func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask
   |                                `- error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:21:32: error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
21 |     func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse
   |                                `- error: cannot find type 'URLRequest' in scope
22 | }
23 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:19:44: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |     public let session: NetswiftSession
18 |
19 |     public init(session: NetswiftSession = URLSession(configuration: .default)) {
   |                                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 |         self.session = session
21 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:19:71: error: cannot infer contextual base in reference to member 'default'
17 |     public let session: NetswiftSession
18 |
19 |     public init(session: NetswiftSession = URLSession(configuration: .default)) {
   |                                                                       `- error: cannot infer contextual base in reference to member 'default'
20 |         self.session = session
21 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:23:34: error: cannot find type 'URLRequest' in scope
21 |     }
22 |
23 |     open func perform(_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                  `- error: cannot find type 'URLRequest' in scope
24 |         return session.perform(request) { response in
25 |             completion(self.validate(response))
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:30:34: error: cannot find type 'URLRequest' in scope
28 |
29 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
30 |     open func perform(_ request: URLRequest) async -> NetswiftResult<Data?> {
   |                                  `- error: cannot find type 'URLRequest' in scope
31 |         return await validate(session.perform(request))
32 |     }
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:34:34: error: cannot find type 'URLRequest' in scope
32 |     }
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                  `- error: cannot find type 'URLRequest' in scope
35 |         let dispatchGroup = DispatchGroup()
36 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:34:56: error: cannot find type 'DispatchTime' in scope
32 |     }
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
   |                                                        `- error: cannot find type 'DispatchTime' in scope
35 |         let dispatchGroup = DispatchGroup()
36 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:50:34: error: cannot find type 'URLRequest' in scope
48 |
49 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
   |                                  `- error: cannot find type 'URLRequest' in scope
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:50:56: error: cannot find type 'DispatchTime' in scope
48 |
49 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
   |                                                        `- error: cannot find type 'DispatchTime' in scope
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:23:30: error: cannot find type 'URLRequest' in scope
21 |      - parameter completion: A block that will be called when the data task eventually returns
22 |      */
23 |     func perform (_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
24 |
25 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |      */
32 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
33 |     func perform(_ request: URLRequest) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
34 |
35 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:30: error: cannot find type 'URLRequest' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:52: error: cannot find type 'DispatchTime' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                                                    `- error: cannot find type 'DispatchTime' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:29: error: cannot find type 'URLRequest' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:51: error: cannot find type 'DispatchTime' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                                                   `- error: cannot find type 'DispatchTime' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:35:29: error: cannot find 'DispatchGroup' in scope
33 |
34 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5), completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask {
35 |         let dispatchGroup = DispatchGroup()
   |                             `- error: cannot find 'DispatchGroup' in scope
36 |
37 |         if dispatchGroup.wait(timeout: deadline) == .timedOut {
/host/spi-builder-workspace/Sources/Netswift/NetswiftHTTPPerformer.swift:52:33: error: cannot find 'DispatchGroup' in scope
50 |     open func perform(_ request: URLRequest, deadline: DispatchTime = .now() + .seconds(5)) async -> NetswiftResult<Data?> {
51 |         await withCheckedContinuation{ continuation in
52 |             let dispatchGroup = DispatchGroup()
   |                                 `- error: cannot find 'DispatchGroup' in scope
53 |
54 |             if dispatchGroup.wait(timeout: deadline) == .timedOut {
/host/spi-builder-workspace/Sources/Netswift/NetswiftPerformer.swift:24:59: error: cannot find type 'DispatchTime' in scope
 22 |     @discardableResult
 23 |     public func perform<Request: NetswiftRequest>(_ request: Request,
 24 |                                                 deadline: DispatchTime? = nil,
    |                                                           `- error: cannot find type 'DispatchTime' in scope
 25 |                                                 handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask? {
 26 |         guard let deadline = deadline else {
/host/spi-builder-workspace/Sources/Netswift/NetswiftPerformer.swift:89:43: error: cannot find type 'URLRequest' in scope
 87 |      Override this function to perform extra configuration on the outgoing URLRequest, before it is sent out.
 88 |      */
 89 |     open func hook(into urlRequest: inout URLRequest) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 90 |         // overridable, empty default
 91 |     }
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftNetworkPerformer.swift:26:54: error: cannot find type 'DispatchTime' in scope
24 |      */
25 |     func perform<Request: NetswiftRequest>(_ request: Request,
26 |                                            deadline: DispatchTime?,
   |                                                      `- error: cannot find type 'DispatchTime' in scope
27 |                                            handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask?
28 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:47:40: error: cannot find type 'URLRequest' in scope
 45 |      - parameter completion: A completion block that takes in a NetswiftResult that either succeeds with a useable URLRequest, or fails with a NetswiftError
 46 |      */
 47 |     func serialise() -> NetswiftResult<URLRequest>
    |                                        `- error: cannot find type 'URLRequest' in scope
 48 |
 49 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:99:40: error: cannot find type 'URLRequest' in scope
 97 |
 98 | public extension NetswiftRequest where Self: NetswiftRoute {
 99 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
100 |         var request = URLRequest(url: self.url)
101 |         request.setHTTPMethod(self.method)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftRequest.swift:109:40: error: cannot find type 'URLRequest' in scope
107 |
108 | public extension NetswiftRequest where Self: NetswiftRoute, Body: Encodable {
109 |     func serialise() -> NetswiftResult<URLRequest> {
    |                                        `- error: cannot find type 'URLRequest' in scope
110 |         var request = URLRequest(url: self.url)
111 |         request.setHTTPMethod(self.method)
[15/25] Compiling Netswift NetswiftRoute.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:18:32: error: cannot find type 'URLRequest' in scope
16 |     typealias RequestHandler = (NetswiftHTTPResponse) -> Void
17 |
18 |     func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask
   |                                `- error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:21:32: error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
21 |     func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse
   |                                `- error: cannot find type 'URLRequest' in scope
22 | }
23 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 |
24 | /// Extension to make URLSession compliant with NetswiftSession
25 | extension URLSession: NetswiftSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftTask.swift:21:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 | }
20 |
21 | extension URLSessionDataTask: NetswiftTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
22 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:39: error: cannot find type 'URLRequest' in scope
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                       `- error: cannot find type 'URLRequest' in scope
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:70: error: cannot find type 'RequestHandler' in scope
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                                                      `- error: cannot find type 'RequestHandler' in scope
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:60: error: '@escaping' only applies to function types
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                                            `- error: '@escaping' only applies to function types
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:59:39: error: cannot find type 'URLRequest' in scope
57 |     /// Asynchronous data call made via NetswiftSession Protocol
58 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
59 |     public func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse {
   |                                       `- error: cannot find type 'URLRequest' in scope
60 |         do {
61 |             let (data, response) = try await self.data(for: urlRequest)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[16/25] Compiling Netswift NetswiftSession.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:18:32: error: cannot find type 'URLRequest' in scope
16 |     typealias RequestHandler = (NetswiftHTTPResponse) -> Void
17 |
18 |     func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask
   |                                `- error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:21:32: error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
21 |     func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse
   |                                `- error: cannot find type 'URLRequest' in scope
22 | }
23 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 |
24 | /// Extension to make URLSession compliant with NetswiftSession
25 | extension URLSession: NetswiftSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftTask.swift:21:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 | }
20 |
21 | extension URLSessionDataTask: NetswiftTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
22 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:39: error: cannot find type 'URLRequest' in scope
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                       `- error: cannot find type 'URLRequest' in scope
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:70: error: cannot find type 'RequestHandler' in scope
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                                                      `- error: cannot find type 'RequestHandler' in scope
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:60: error: '@escaping' only applies to function types
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                                            `- error: '@escaping' only applies to function types
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:59:39: error: cannot find type 'URLRequest' in scope
57 |     /// Asynchronous data call made via NetswiftSession Protocol
58 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
59 |     public func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse {
   |                                       `- error: cannot find type 'URLRequest' in scope
60 |         do {
61 |             let (data, response) = try await self.data(for: urlRequest)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[17/25] Compiling Netswift NetswiftTask.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:18:32: error: cannot find type 'URLRequest' in scope
16 |     typealias RequestHandler = (NetswiftHTTPResponse) -> Void
17 |
18 |     func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask
   |                                `- error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:21:32: error: cannot find type 'URLRequest' in scope
19 |
20 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
21 |     func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse
   |                                `- error: cannot find type 'URLRequest' in scope
22 | }
23 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 |
24 | /// Extension to make URLSession compliant with NetswiftSession
25 | extension URLSession: NetswiftSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftTask.swift:21:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 | }
20 |
21 | extension URLSessionDataTask: NetswiftTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
22 |
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:39: error: cannot find type 'URLRequest' in scope
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                       `- error: cannot find type 'URLRequest' in scope
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:70: error: cannot find type 'RequestHandler' in scope
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                                                      `- error: cannot find type 'RequestHandler' in scope
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:28:60: error: '@escaping' only applies to function types
26 |
27 |     ///DataTask call made via NetswiftSession Protocol
28 |     public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
   |                                                            `- error: '@escaping' only applies to function types
29 |         let task = dataTask(with: urlRequest) { data, response, error in
30 |             handler(.init(data: data, response: response, error: error))
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:59:39: error: cannot find type 'URLRequest' in scope
57 |     /// Asynchronous data call made via NetswiftSession Protocol
58 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
59 |     public func perform(_ urlRequest: URLRequest) async -> NetswiftHTTPResponse {
   |                                       `- error: cannot find type 'URLRequest' in scope
60 |         do {
61 |             let (data, response) = try await self.data(for: urlRequest)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[18/25] Compiling Netswift RequestHeader.swift
/host/spi-builder-workspace/Sources/Netswift/Core/URLRequestExtension.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |
14 | /// Convenience wrapper functions
15 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     mutating func setHTTPMethod(_ method: NetswiftHTTPMethod) {
17 |         self.httpMethod = method.rawValue
[19/25] Compiling Netswift URLRequestExtension.swift
/host/spi-builder-workspace/Sources/Netswift/Core/URLRequestExtension.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |
14 | /// Convenience wrapper functions
15 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     mutating func setHTTPMethod(_ method: NetswiftHTTPMethod) {
17 |         self.httpMethod = method.rawValue
[20/25] Compiling Netswift GenericScheme.swift
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:23:30: error: cannot find type 'URLRequest' in scope
21 |      - parameter completion: A block that will be called when the data task eventually returns
22 |      */
23 |     func perform (_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
24 |
25 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |      */
32 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
33 |     func perform(_ request: URLRequest) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
34 |
35 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:30: error: cannot find type 'URLRequest' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:52: error: cannot find type 'DispatchTime' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                                                    `- error: cannot find type 'DispatchTime' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:29: error: cannot find type 'URLRequest' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:51: error: cannot find type 'DispatchTime' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                                                   `- error: cannot find type 'DispatchTime' in scope
55 | }
56 |
[21/25] Compiling Netswift HTTPPerformer.swift
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:23:30: error: cannot find type 'URLRequest' in scope
21 |      - parameter completion: A block that will be called when the data task eventually returns
22 |      */
23 |     func perform (_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
24 |
25 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |      */
32 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
33 |     func perform(_ request: URLRequest) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
34 |
35 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:30: error: cannot find type 'URLRequest' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:52: error: cannot find type 'DispatchTime' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                                                    `- error: cannot find type 'DispatchTime' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:29: error: cannot find type 'URLRequest' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:51: error: cannot find type 'DispatchTime' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                                                   `- error: cannot find type 'DispatchTime' in scope
55 | }
56 |
[22/25] Compiling Netswift MimeType.swift
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:23:30: error: cannot find type 'URLRequest' in scope
21 |      - parameter completion: A block that will be called when the data task eventually returns
22 |      */
23 |     func perform (_ request: URLRequest, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
24 |
25 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |      */
32 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
33 |     func perform(_ request: URLRequest) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
34 |
35 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:30: error: cannot find type 'URLRequest' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                              `- error: cannot find type 'URLRequest' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:43:52: error: cannot find type 'DispatchTime' in scope
41 |      - parameter completion: A block that will be called when the data task eventually returns
42 |      */
43 |     func perform (_ request: URLRequest, deadline: DispatchTime, completion: @escaping (NetswiftResult<Data?>) -> Void) -> NetswiftTask
   |                                                    `- error: cannot find type 'DispatchTime' in scope
44 |
45 |     /**
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:29: error: cannot find type 'URLRequest' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                             `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/Netswift/Core/HTTPPerformer.swift:54:51: error: cannot find type 'DispatchTime' in scope
52 |      */
53 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 12.0, *)
54 |     func perform(_ request: URLRequest, deadline: DispatchTime) async -> NetswiftResult<Data?>
   |                                                   `- error: cannot find type 'DispatchTime' in scope
55 | }
56 |
[23/25] Compiling Netswift NetswiftHandler.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftNetworkPerformer.swift:26:54: error: cannot find type 'DispatchTime' in scope
24 |      */
25 |     func perform<Request: NetswiftRequest>(_ request: Request,
26 |                                            deadline: DispatchTime?,
   |                                                      `- error: cannot find type 'DispatchTime' in scope
27 |                                            handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask?
28 |
[24/25] Compiling Netswift NetswiftHeaders.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftNetworkPerformer.swift:26:54: error: cannot find type 'DispatchTime' in scope
24 |      */
25 |     func perform<Request: NetswiftRequest>(_ request: Request,
26 |                                            deadline: DispatchTime?,
   |                                                      `- error: cannot find type 'DispatchTime' in scope
27 |                                            handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask?
28 |
[25/25] Compiling Netswift NetswiftNetworkPerformer.swift
/host/spi-builder-workspace/Sources/Netswift/Core/NetswiftNetworkPerformer.swift:26:54: error: cannot find type 'DispatchTime' in scope
24 |      */
25 |     func perform<Request: NetswiftRequest>(_ request: Request,
26 |                                            deadline: DispatchTime?,
   |                                                      `- error: cannot find type 'DispatchTime' in scope
27 |                                            handler: @escaping NetswiftHandler<Request.Response>) -> NetswiftTask?
28 |
BUILD FAILURE 6.3 wasm