The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Decree, reference 4.4.0 (dc5638), with Swift 6.4 for Wasm on 17 Sep 2026 07:23:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/Decree.git
Reference: 4.4.0
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/drewag/Decree
 * tag               4.4.0      -> FETCH_HEAD
HEAD is now at dc5638d [UP] Update to latest XMLCoder
Cloned https://github.com/drewag/Decree.git
Revision (git rev-parse @):
dc5638d1a30595a0d65e59fd950f34a982b0cec0
SUCCESS checkout https://github.com/drewag/Decree.git at 4.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/drewag/Decree.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10129] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git (0.63s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.18.2 (0.83s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.18.2
Building for debugging...
[Pre-planning 1 / 96]
[32 / 47] XMLCoder
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:22:33: error: cannot find type 'URLRequest' in scope
20 | //    init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
   |                                 `- error: cannot find type 'URLRequest' in scope
23 |     func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:22:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | //    init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
   |                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:22:116: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | //    init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
   |                                                                                                                    `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:23:37: error: cannot find type 'URLRequest' in scope
21 |
22 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 |     func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
   |                                     `- error: cannot find type 'URLRequest' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:23:85: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 |     func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
   |                                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | }
25 |
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/Decree/Basic Types/Session.swift:23:119: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 |     func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
   |                                                                                                                       `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | }
25 |
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
24 | }
25 |
26 | extension URLSession: Session {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
27 |
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:33:82: error: cannot find type 'DispatchQueue' in scope
 31 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
 32 |     /// - Parameter onComplete: Callback when the request is complete
 33 |     public func makeRequest(to service: Service = Service.shared, callbackQueue: DispatchQueue? = DispatchQueue.main, onComplete: @escaping (_ result: EmptyResult) -> ()) {
    |                                                                                  `- error: cannot find type 'DispatchQueue' in scope
 34 |         self._makeRequest(to: service, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
 35 |     }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:89:101: error: cannot find type 'DispatchQueue' in scope
 87 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
 88 |     /// - Parameter onComplete: Callback when the request is complete
 89 |     public func makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: DispatchQueue? = DispatchQueue.main, onComplete: @escaping (_ result: EmptyResult) -> ()) {
    |                                                                                                     `- error: cannot find type 'DispatchQueue' in scope
 90 |         self._makeRequest(to: service, with: input, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
 91 |     }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:146:82: error: cannot find type 'DispatchQueue' in scope
144 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
145 |     /// - Parameter onComplete: Callback when the request is complete that includes output if successful
146 |     public func makeRequest(to service: Service = Service.shared, callbackQueue: DispatchQueue? = DispatchQueue.main, onComplete: @escaping (_ result: Result<Output, DecreeError>) -> ()) {
    |                                                                                  `- error: cannot find type 'DispatchQueue' in scope
147 |         self._makeRequest(to: service, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
148 |     }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:189:90: error: cannot find type 'DispatchQueue' in scope
187 |     /// - Parameter callbackQueue: Queue to execute the onComplete callbacks on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
188 |     /// - Parameter onComplete: Callback when the request is complete that includes url to the downloaded data
189 |     public func makeDownloadRequest(to service: Service = Service.shared, callbackQueue: DispatchQueue? = DispatchQueue.main, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
    |                                                                                          `- error: cannot find type 'DispatchQueue' in scope
190 |         self._makeDownloadRequest(to: service, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
191 |     }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:241:101: error: cannot find type 'DispatchQueue' in scope
239 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
240 |     /// - Parameter onComplete: Callback when the request is complete that includes output if successful
241 |     public func makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: DispatchQueue? = DispatchQueue.main, onComplete: @escaping (_ error: Result<Output, DecreeError>) -> ()) {
    |                                                                                                     `- error: cannot find type 'DispatchQueue' in scope
242 |         self._makeRequest(to: service, with: input, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
243 |     }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:286:109: error: cannot find type 'DispatchQueue' in scope
284 |     /// - Parameter callbackQueue: Queue to execute the onComplete callbacks on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
285 |     /// - Parameter onComplete: Callback when the request is complete that includes url to the downloaded data
286 |     public func makeDownloadRequest(to service: Service = Service.shared, with input: Input, callbackQueue: DispatchQueue? = DispatchQueue.main, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
    |                                                                                                             `- error: cannot find type 'DispatchQueue' in scope
287 |         self._makeDownloadRequest(to: service, with: input, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
288 |     }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:21:18: error: cannot find type 'DispatchSemaphore' in scope
 19 |
 20 |     var pathValidation: PathValidation {get}
 21 |     var waiting: DispatchSemaphore {get}
    |                  `- error: cannot find type 'DispatchSemaphore' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:28:48: error: cannot find type 'DispatchTimeoutResult' in scope
 26 |     ///
 27 |     /// Only use for asynchronous requests
 28 |     public func wait(timeout: TimeInterval) -> DispatchTimeoutResult {
    |                                                `- error: cannot find type 'DispatchTimeoutResult' in scope
 29 |         return self.waiting.wait(timeout: .now() + timeout)
 30 |     }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:43:26: error: cannot find 'DispatchSemaphore' in scope
 41 |     public let pathValidation: PathValidation
 42 |     public var returning: EmptyResult
 43 |     public var waiting = DispatchSemaphore(value: 0)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 44 |
 45 |     public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:65:26: error: cannot find 'DispatchSemaphore' in scope
 63 |     public let pathValidation: PathValidation
 64 |     public var returning: EmptyResult
 65 |     public var waiting = DispatchSemaphore(value: 0)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 66 |
 67 |     public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:87:26: error: cannot find 'DispatchSemaphore' in scope
 85 |     public let pathValidation: PathValidation
 86 |     public var returning: Result<E.Output, DecreeError>
 87 |     public var waiting = DispatchSemaphore(value: 0)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 88 |
 89 |     public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:109:26: error: cannot find 'DispatchSemaphore' in scope
107 |     public let pathValidation: PathValidation
108 |     public var returning: Result<URL, DecreeError>
109 |     public var waiting = DispatchSemaphore(value: 0)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
110 |
111 |     public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:131:26: error: cannot find 'DispatchSemaphore' in scope
129 |     public let pathValidation: PathValidation
130 |     public var returning: Result<E.Output, DecreeError>
131 |     public var waiting = DispatchSemaphore(value: 0)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
132 |
133 |     public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:153:26: error: cannot find 'DispatchSemaphore' in scope
151 |     public let pathValidation: PathValidation
152 |     public var returning: Result<URL, DecreeError>
153 |     public var waiting = DispatchSemaphore(value: 0)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
154 |
155 |     public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:25:30: error: cannot find type 'URLRequest' in scope
 23 |     ///     - An optional URLResponse (will usually be an HTTPURLResponse)
 24 |     ///     - An optional error
 25 |     func handle(dataRequest: URLRequest) -> (Data?, URLResponse?, Error?)
    |                              `- error: cannot find type 'URLRequest' in scope
 26 |
 27 |     /// Handle download requests
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:25:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     ///     - An optional URLResponse (will usually be an HTTPURLResponse)
 24 |     ///     - An optional error
 25 |     func handle(dataRequest: URLRequest) -> (Data?, URLResponse?, Error?)
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |
 27 |     /// Handle download requests
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/Decree/Mocking/WebService+AllRequestHandling.swift:38:34: error: cannot find type 'URLRequest' in scope
 36 |     ///     - An optional URLResponse (will usually be an HTTPURLResponse)
 37 |     ///     - An optional error
 38 |     func handle(downloadRequest: URLRequest) -> (URL?, URLResponse?, Error?)
    |                                  `- error: cannot find type 'URLRequest' in scope
 39 | }
 40 |
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:38:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     ///     - An optional URLResponse (will usually be an HTTPURLResponse)
 37 |     ///     - An optional error
 38 |     func handle(downloadRequest: URLRequest) -> (URL?, URLResponse?, Error?)
    |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 | }
 40 |
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/Decree/Mocking/WebService+AllRequestHandling.swift:43:44: error: cannot find type 'URLRequest' in scope
 41 | extension WebService {
 42 |     /// Closure to manually handle web service request
 43 |     public typealias AllRequestsHandler = (URLRequest) -> (Data?, URLResponse?, Error?)
    |                                            `- error: cannot find type 'URLRequest' in scope
 44 |
 45 |     /// Set a handler for handling all requests made to all instances of this web service
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:56:58: error: '@escaping' only applies to function types
 54 |     /// These are the 3 things that are usually returned from the underlying URLSession data task.
 55 |     @available(*, deprecated, message: "This does not support handling download requests. Use the protocol version of this call instead.")
 56 |     public static func startHandlingAllRequests(handler: @escaping AllRequestsHandler) {
    |                                                          `- error: '@escaping' only applies to function types
 57 |         self.stopHandlingAllRequests()
 58 |
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:87:19: error: '@escaping' only applies to function types
 85 |     let handler: WebService.AllRequestsHandler
 86 |
 87 |     init(handler: @escaping WebService.AllRequestsHandler) {
    |                   `- error: '@escaping' only applies to function types
 88 |         self.handler = handler
 89 |     }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:91:30: error: cannot find type 'URLRequest' in scope
 89 |     }
 90 |
 91 |     func handle(dataRequest: URLRequest) -> (Data?, URLResponse?, Error?) {
    |                              `- error: cannot find type 'URLRequest' in scope
 92 |         return self.handler(dataRequest)
 93 |     }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:91:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     }
 90 |
 91 |     func handle(dataRequest: URLRequest) -> (Data?, URLResponse?, Error?) {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |         return self.handler(dataRequest)
 93 |     }
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/Decree/Mocking/WebService+AllRequestHandling.swift:95:34: error: cannot find type 'URLRequest' in scope
 93 |     }
 94 |
 95 |     func handle(downloadRequest: URLRequest) -> (URL?, URLResponse?, Error?) {
    |                                  `- error: cannot find type 'URLRequest' in scope
 96 |         return (nil, nil, DecreeError(.custom(
 97 |             "Using deprecated all requests handler that does not support download requests",
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:95:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |     }
 94 |
 95 |     func handle(downloadRequest: URLRequest) -> (URL?, URLResponse?, Error?) {
    |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         return (nil, nil, DecreeError(.custom(
 97 |             "Using deprecated all requests handler that does not support download requests",
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/Decree/Mocking/WebServiceMock.swift:344:40: error: cannot find type 'URLRequest' in scope
342 |     }
343 |
344 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                        `- error: cannot find type 'URLRequest' in scope
345 |         fatalError("Should not get called. It is special-cased.")
346 |     }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:344:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
342 |     }
343 |
344 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
345 |         fatalError("Should not get called. It is special-cased.")
346 |     }
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/Decree/Mocking/WebServiceMock.swift:344:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
342 |     }
343 |
344 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                                                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
345 |         fatalError("Should not get called. It is special-cased.")
346 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:348:44: error: cannot find type 'URLRequest' in scope
346 |     }
347 |
348 |     public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
    |                                            `- error: cannot find type 'URLRequest' in scope
349 |         fatalError("Should not get called. It is special-cased.")
350 |     }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:348:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
346 |     }
347 |
348 |     public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
    |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
349 |         fatalError("Should not get called. It is special-cased.")
350 |     }
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/Decree/Mocking/WebServiceMock.swift:348:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
346 |     }
347 |
348 |     public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
    |                                                                                                                              `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
349 |         fatalError("Should not get called. It is special-cased.")
350 |     }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:37:24: error: cannot find type 'DispatchQueue' in scope
 35 |     let endpoint: E
 36 |     let input: RequestInput
 37 |     let callbackQueue: DispatchQueue?
    |                        `- error: cannot find type 'DispatchQueue' in scope
 38 |     let onProgress: ((Double) -> ())?
 39 |     let onComplete: (_ result: Result<Output?, DecreeError>) -> ()
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:44:78: error: cannot find type 'DispatchQueue' in scope
 42 |     var progressObserver: AnyObject?
 43 |
 44 |     init(for endpoint: E, of service: S, input: RequestInput, callbackQueue: DispatchQueue?, onProgress: ((Double) -> ())?, onComplete: @escaping (_ result: Result<Output?, DecreeError>) -> ()) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
 45 |         self.service = service
 46 |         self.endpoint = endpoint
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:97:44: error: cannot find type 'URLRequest' in scope
 95 |
 96 | private extension Session {
 97 |     func execute<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTask? {
    |                                            `- error: cannot find type 'URLRequest' in scope
 98 |         for handlerSpec in AllRequestsHandlers {
 99 |             if handlerSpec.service is S.Type {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:97:105: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |
 96 | private extension Session {
 97 |     func execute<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTask? {
    |                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         for handlerSpec in AllRequestsHandlers {
 99 |             if handlerSpec.service is S.Type {
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/Decree/Private/DecreeRequest.swift:97:137: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |
 96 | private extension Session {
 97 |     func execute<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTask? {
    |                                                                                                                                         `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |         for handlerSpec in AllRequestsHandlers {
 99 |             if handlerSpec.service is S.Type {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:110:52: error: cannot find type 'URLRequest' in scope
108 |     }
109 |
110 |     func executeDownload<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (URL?, URLResponse?, Error?) -> ()) -> URLSessionDownloadTask? {
    |                                                    `- error: cannot find type 'URLRequest' in scope
111 |         for handlerSpec in AllRequestsHandlers {
112 |             if handlerSpec.service is S.Type {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:110:112: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     func executeDownload<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (URL?, URLResponse?, Error?) -> ()) -> URLSessionDownloadTask? {
    |                                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         for handlerSpec in AllRequestsHandlers {
112 |             if handlerSpec.service is S.Type {
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/Decree/Private/DecreeRequest.swift:110:144: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     func executeDownload<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (URL?, URLResponse?, Error?) -> ()) -> URLSessionDownloadTask? {
    |                                                                                                                                                `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         for handlerSpec in AllRequestsHandlers {
112 |             if handlerSpec.service is S.Type {
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:127:36: error: cannot find type 'URLRequest' in scope
125 |
126 | private extension DecreeRequest {
127 |     func createRequest() throws -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
128 |         let request: URLRequest
129 |         if let url = url {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:84: error: cannot find type 'URLRequest' in scope
145 |     ///
146 |     /// - Returns: the created request
147 |     func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
    |                                                                                    `- error: cannot find type 'URLRequest' in scope
148 |         let url = try self.createUrl(to: endpoint, input: input)
149 |         return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:98: error: cannot find type 'URLRequest' in scope
159 |     ///
160 |     /// - Returns: the created request
161 |     func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
    |                                                                                                  `- error: cannot find type 'URLRequest' in scope
162 |         var request = URLRequest(url: url)
163 |         request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 11 | #endif
 12 |
 13 | class DecreeRequest<E: Endpoint, S: WebService> {
    |                     `- note: 'E' previously declared here
 14 |     enum Output {
 15 |         case data(Data)
    :
213 |     ///
214 |     /// - Returns: the URL to send the input to
215 |     func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
    |                    `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 |         var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 |         if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:58: error: cannot find type 'URLRequest' in scope
236 |     }
237 |
238 |     func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
    |                                                          `- error: cannot find type 'URLRequest' in scope
239 |         switch self.service.authorization {
240 |         case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 11 | #endif
 12 |
 13 | class DecreeRequest<E: Endpoint, S: WebService> {
    |                     `- note: 'E' previously declared here
 14 |     enum Output {
 15 |         case data(Data)
    :
254 |     }
255 |
256 |     func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
    |                            `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 |         guard let response = response as? HTTPURLResponse else {
258 |             return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 |     }
255 |
256 |     func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
257 |         guard let response = response as? HTTPURLResponse else {
258 |             return
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/Decree/Private/DecreeRequest.swift:274:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 |
273 | private extension DecreeRequest {
274 |     func observeProgress(of task: URLSessionTask?) {
    |                                   `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |         #if canImport(ObjectiveC)
276 |         if #available(iOS 11.0, OSX 10.13, tvOS 11.0, *) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:288:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
286 |
287 | private extension DecreeRequest {
288 |     func handleResponse(_ output: Output?, response: URLResponse?, error: Error?) {
    |                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
289 |         self.callbackQueue.async {
290 |             self.logResponse(output: output, response: response, error: error, for: self.endpoint)
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/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 11 | #endif
 12 |
 13 | class DecreeRequest<E: Endpoint, S: WebService> {
    |                     `- note: 'E' previously declared here
 14 |     enum Output {
 15 |         case data(Data)
    :
334 |     }
335 |
336 |     func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
    |                 `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 |         let loadedData: Data?
338 |         if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
334 |     }
335 |
336 |     func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
    |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
337 |         let loadedData: Data?
338 |         if let output = output {
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/Decree/Private/DecreeRequest.swift:367:38: error: cannot find type 'URLRequest' in scope
365 |
366 | private extension DecreeRequest {
367 |     func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
    |                                      `- error: cannot find type 'URLRequest' in scope
368 |         Logger.shared.logInfo("""
369 |             --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 11 | #endif
 12 |
 13 | class DecreeRequest<E: Endpoint, S: WebService> {
    |                     `- note: 'E' previously declared here
 14 |     enum Output {
 15 |         case data(Data)
    :
376 |     }
377 |
378 |     func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
    |                      `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 |         var log = """
380 |             --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:62: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
376 |     }
377 |
378 |     func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
    |                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 |         var log = """
380 |             --------------------------------------------------------------
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/Decree/Private/DispatchQueue+Async.swift:10:37: error: cannot find type 'DispatchQueue' in scope
 8 | import Foundation
 9 |
10 | extension Optional where Wrapped == DispatchQueue {
   |                                     `- error: cannot find type 'DispatchQueue' in scope
11 |     func async(execute: @escaping () -> ()) {
12 |         if let queue = self {
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:18:76: error: cannot find type 'DispatchQueue' in scope
 16 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
 17 |     /// - Parameter onComplete: Callback when the request is complete
 18 |     func _makeRequest(to service: Service = Service.shared, callbackQueue: DispatchQueue? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ result: EmptyResult) -> ()) {
    |                                                                            `- error: cannot find type 'DispatchQueue' in scope
 19 |         if let mock = service.sessionOverride as? WebServiceMock<Service> {
 20 |             mock.handle(for: self, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:46:95: error: cannot find type 'DispatchQueue' in scope
 44 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
 45 |     /// - Parameter onComplete: Callback when the request is complete
 46 |     func _makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: DispatchQueue? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ result: EmptyResult) -> ()) {
    |                                                                                               `- error: cannot find type 'DispatchQueue' in scope
 47 |         if let mock = service.sessionOverride as? WebServiceMock<Service> {
 48 |             mock.handle(for: self, input: input, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:81:76: error: cannot find type 'DispatchQueue' in scope
 79 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
 80 |     /// - Parameter onComplete: Callback when the request is complete that includes output if successful
 81 |     func _makeRequest(to service: Service = Service.shared, callbackQueue: DispatchQueue? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ result: Result<Output, DecreeError>) -> ()) {
    |                                                                            `- error: cannot find type 'DispatchQueue' in scope
 82 |         if let mock = service.sessionOverride as? WebServiceMock<Service> {
 83 |             mock.handle(for: self, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:104:84: error: cannot find type 'DispatchQueue' in scope
102 |
103 | extension OutEndpoint {
104 |     func _makeDownloadRequest(to service: Service = Service.shared, callbackQueue: DispatchQueue? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
    |                                                                                    `- error: cannot find type 'DispatchQueue' in scope
105 |         if let mock = service.sessionOverride as? WebServiceMock<Service> {
106 |             mock.handleDownload(for: self, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:124:95: error: cannot find type 'DispatchQueue' in scope
122 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
123 |     /// - Parameter onComplete: Callback when the request is complete that includes output if successful
124 |     func _makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: DispatchQueue? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ error: Result<Output, DecreeError>) -> ()) {
    |                                                                                               `- error: cannot find type 'DispatchQueue' in scope
125 |         if let mock = service.sessionOverride as? WebServiceMock<Service> {
126 |             mock.handle(for: self, input: input, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:155:103: error: cannot find type 'DispatchQueue' in scope
153 |
154 | extension InOutEndpoint where Input: Encodable {
155 |     func _makeDownloadRequest(to service: Service = Service.shared, with input: Input, callbackQueue: DispatchQueue? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
    |                                                                                                       `- error: cannot find type 'DispatchQueue' in scope
156 |         if let mock = service.sessionOverride as? WebServiceMock<Service> {
157 |             mock.handleDownload(for: self, input: input, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/HTTPStatus.swift:62:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |     case other(Int)
 61 |
 62 |     public init(from response: HTTPURLResponse) {
    |                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |         self = HTTPStatus(rawValue: response.statusCode)
 64 |     }
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/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
 11 | #endif
 12 |
 13 | extension XMLParser.ErrorCode: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 14 |     public var description: String {
 15 |         switch self {
/host/spi-builder-workspace/Sources/Decree/Private/URLRequest+Logging.swift:13:11: error: cannot find type 'URLRequest' in scope
11 | #endif
12 |
13 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
14 |     var logDescription: String {
15 |         var log = """
/host/spi-builder-workspace/Sources/Decree/Private/URLRequest+Logging.swift:28:19: error: cannot find type 'URLRequest' in scope
26 | }
27 |
28 | private extension URLRequest {
   |                   `- error: cannot find type 'URLRequest' in scope
29 |     var basicLog: String {
30 |         return "\(self.httpMethod ?? "GET") \(url?.absoluteString ?? "NO URL")"
/host/spi-builder-workspace/Sources/Decree/Private/URLResponse+Logging.swift:13:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
11 | #endif
12 |
13 | extension URLResponse {
   | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
14 |     var logDescription: String {
15 |         var log = ""
/host/spi-builder-workspace/Sources/Decree/Private/URLResponse+Logging.swift:29:9: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
27 | }
28 |
29 | private extension HTTPURLResponse {
   |         `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
30 |     var headers: String {
31 |         return self.allHeaderFields.map({ key, value in
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:26:87: error: cannot find type 'DispatchQueue' in scope
 24 |     /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on the default queue from URLSession
 25 |     /// - Parameter onComplete: callback for when the request completes with the data returned
 26 |     func makeRequest<E: Endpoint>(to endpoint: E, input: RequestInput, callbackQueue: DispatchQueue?, onProgress: ((Double) -> ())?, onComplete: @escaping (_ result: Result<Data?, DecreeError>) -> ()) {
    |                                                                                       `- error: cannot find type 'DispatchQueue' in scope
 27 |         let request = DecreeRequest(for: endpoint, of: self, input: input, callbackQueue: callbackQueue, onProgress: onProgress, onComplete: { result in
 28 |             switch result {
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:48:95: error: cannot find type 'DispatchQueue' in scope
 46 |     }
 47 |
 48 |     func makeDownloadRequest<E: Endpoint>(to endpoint: E, input: RequestInput, callbackQueue: DispatchQueue?, onProgress: ((Double) -> ())?, onComplete: @escaping (_ result: Result<URL, DecreeError>) -> ()) {
    |                                                                                               `- error: cannot find type 'DispatchQueue' in scope
 49 |         let request = DecreeRequest(for: endpoint, of: self, input: input, callbackQueue: callbackQueue, onProgress: onProgress, onComplete: { result in
 50 |             switch result {
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:11:67: error: cannot find type 'DispatchQueue' in scope
  9 |
 10 | extension WebServiceMock {
 11 |     func handle<E: EmptyEndpoint>(for endpoint: E, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: EmptyResult) -> ()) {
    |                                                                   `- error: cannot find type 'DispatchQueue' in scope
 12 |         do {
 13 |             let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:33:80: error: cannot find type 'DispatchQueue' in scope
 31 |     }
 32 |
 33 |     func handle<E: InEndpoint>(for endpoint: E, input: E.Input, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: EmptyResult) -> ()) where E.Input: Encodable {
    |                                                                                `- error: cannot find type 'DispatchQueue' in scope
 34 |         do {
 35 |             let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:55:65: error: cannot find type 'DispatchQueue' in scope
 53 |     }
 54 |
 55 |     func handle<E: OutEndpoint>(for endpoint: E, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) {
    |                                                                 `- error: cannot find type 'DispatchQueue' in scope
 56 |         do {
 57 |             let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:77:73: error: cannot find type 'DispatchQueue' in scope
 75 |     }
 76 |
 77 |     func handleDownload<E: OutEndpoint>(for endpoint: E, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<URL, DecreeError>) -> ()) {
    |                                                                         `- error: cannot find type 'DispatchQueue' in scope
 78 |         do {
 79 |             let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:99:83: error: cannot find type 'DispatchQueue' in scope
 97 |     }
 98 |
 99 |     func handle<E: InOutEndpoint>(for endpoint: E, input: E.Input, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) where E.Input: Encodable {
    |                                                                                   `- error: cannot find type 'DispatchQueue' in scope
100 |         do {
101 |             let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:121:91: error: cannot find type 'DispatchQueue' in scope
119 |     }
120 |
121 |     func handleDownload<E: InOutEndpoint>(for endpoint: E, input: E.Input, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<URL, DecreeError>) -> ()) where E.Input: Encodable {
    |                                                                                           `- error: cannot find type 'DispatchQueue' in scope
122 |         do {
123 |             let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/WebService.swift:71:50: error: cannot find type 'URLRequest' in scope
 69 |
 70 |     /// **OPTIONAL** Chance to configure each URLRequest
 71 |     func configure<E: Endpoint>(_ request: inout URLRequest, for endpoint: E) throws
    |                                                  `- error: cannot find type 'URLRequest' in scope
 72 |
 73 |     /// **OPTIONAL** Chance to configure each input encoder
/host/spi-builder-workspace/Sources/Decree/WebService.swift:91:44: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |
 90 |     /// **OPTIONAL** Chance to validate the URLResponse
 91 |     func validate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws
    |                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |     /// **OPTIONAL** Chance to validate the BasicResponse
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/Decree/WebService.swift:99:62: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |
 98 |     /// *OPTIONAL* Chance to automatically handle a response error
 99 |     func handle<E: Endpoint>(_ error: DecreeError, response: URLResponse, from endpoint: E) -> ErrorHandling
    |                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | }
101 |
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/Decree/WebService.swift:107:57: error: cannot find type 'URLRequest' in scope
105 |
106 |     public var sessionOverride: Session? { return nil }
107 |     public func configure<E: Endpoint>(_ request: inout URLRequest, for endpoint: E) throws {}
    |                                                         `- error: cannot find type 'URLRequest' in scope
108 |     public func configure<E: Endpoint>(_ encoder: inout JSONEncoder, for endpoint: E) throws {}
109 |     public func configure<E: Endpoint>(_ decoder: inout JSONDecoder, for endpoint: E) throws {}
/host/spi-builder-workspace/Sources/Decree/WebService.swift:113:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     public func configure<E: Endpoint>(_ decoder: inout XMLDecoder, for endpoint: E) throws {}
112 |     public func configure<E: Endpoint>(_ encoder: inout KeyValueEncoder, for endpoint: E) throws {}
113 |     public func validate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {}
    |                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     public func validate<E: Endpoint>(_ response: BasicResponse, for endpoint: E) throws {}
115 |     public func handle<E: Endpoint>(_ error: DecreeError, response: URLResponse, from endpoint: E) -> ErrorHandling { return .error(error) }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Decree/WebService.swift:115:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     public func validate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {}
114 |     public func validate<E: Endpoint>(_ response: BasicResponse, for endpoint: E) throws {}
115 |     public func handle<E: Endpoint>(_ error: DecreeError, response: URLResponse, from endpoint: E) -> ErrorHandling { return .error(error) }
    |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 | }
117 |
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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Decree/Basic\ Types/Authorization.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/AuthorizationRequirement.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/DecreeError.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/DecreeErrorDescribable.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/EmptyResult.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/ErrorHandling.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/ErrorResponse.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/File.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/InputFormat.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/Method.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/NoBasicResponse.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/OutputFormat.swift /host/spi-builder-workspace/Sources/Decree/Basic\ Types/Session.swift /host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift /host/spi-builder-workspace/Sources/Decree/Endpoint.swift /host/spi-builder-workspace/Sources/Decree/KeyValueEncoder.swift /host/spi-builder-workspace/Sources/Decree/Logger.swift /host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift /host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift /host/spi-builder-workspace/Sources/Decree/Mocking/WebService+Mocking.swift /host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift /host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift /host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift /host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift /host/spi-builder-workspace/Sources/Decree/Private/Expectations+Private.swift /host/spi-builder-workspace/Sources/Decree/Private/FormDataEncoder.swift /host/spi-builder-workspace/Sources/Decree/Private/FormURLEncoder.swift /host/spi-builder-workspace/Sources/Decree/Private/HTTPStatus.swift /host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift /host/spi-builder-workspace/Sources/Decree/Private/ProgressObserver.swift /host/spi-builder-workspace/Sources/Decree/Private/RequestInput.swift /host/spi-builder-workspace/Sources/Decree/Private/String+Helpers.swift /host/spi-builder-workspace/Sources/Decree/Private/String+TitleCase.swift /host/spi-builder-workspace/Sources/Decree/Private/URLRequest+Logging.swift /host/spi-builder-workspace/Sources/Decree/Private/URLResponse+Logging.swift /host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift /host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift /host/spi-builder-workspace/Sources/Decree/WebService.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Decree -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/Objects-normal/wasm32/Decree_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/Objects-normal/wasm32/Modules/Decree.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/Objects-normal/wasm32/Modules/Decree.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/Objects-normal/wasm32/Decree-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/Objects-normal/wasm32/Decree-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/Objects-normal/wasm32/Decree-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Decree.build/Debug-webassembly-wasm32/Decree-t.build/Objects-normal/wasm32/Modules/Decree.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm