Build Information
Failed to build Decree, reference master (dc5638), with Swift 6.4 for Wasm on 17 Sep 2026 07:23:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/Decree.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-53886769-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.57s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.18.2 (0.76s)
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
[40 / 57] Decree
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:22:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m20 |[0;0m // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
[0;36m21 |[0;0m
[0;36m22 |[0;0m func dataTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
[0;36m24 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:22:82: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
[0;36m21 |[0;0m
[0;36m22 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionDataTask
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
[0;36m24 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:22:116: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
[0;36m21 |[0;0m
[0;36m22 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> [4;39mURLSessionDataTask[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
[0;36m24 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:23:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
[0;36m23 |[0;0m func downloadTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m }
[0;36m25 |[0;0m
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:23:85: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
[0;36m23 |[0;0m func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionDownloadTask
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m }
[0;36m25 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:23:119: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
[0;36m23 |[0;0m func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> [4;39mURLSessionDownloadTask[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m }
[0;36m25 |[0;0m
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m24 |[0;0m }
[0;36m25 |[0;0m
[0;36m26 |[0;0m extension [4;39mURLSession[0;0m: Session {}
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m27 |[0;0m
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:33:82: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m31 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m32 |[0;0m /// - Parameter onComplete: Callback when the request is complete
[0;36m33 |[0;0m public func makeRequest(to service: Service = Service.shared, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onComplete: @escaping (_ result: EmptyResult) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m34 |[0;0m self._makeRequest(to: service, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
[0;36m35 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:89:101: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m87 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m88 |[0;0m /// - Parameter onComplete: Callback when the request is complete
[0;36m89 |[0;0m public func makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onComplete: @escaping (_ result: EmptyResult) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m90 |[0;0m self._makeRequest(to: service, with: input, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
[0;36m91 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:146:82: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m144 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m145 |[0;0m /// - Parameter onComplete: Callback when the request is complete that includes output if successful
[0;36m146 |[0;0m public func makeRequest(to service: Service = Service.shared, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onComplete: @escaping (_ result: Result<Output, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m147 |[0;0m self._makeRequest(to: service, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
[0;36m148 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:189:90: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m187 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callbacks on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m188 |[0;0m /// - Parameter onComplete: Callback when the request is complete that includes url to the downloaded data
[0;36m189 |[0;0m public func makeDownloadRequest(to service: Service = Service.shared, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m190 |[0;0m self._makeDownloadRequest(to: service, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
[0;36m191 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:241:101: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m239 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m240 |[0;0m /// - Parameter onComplete: Callback when the request is complete that includes output if successful
[0;36m241 |[0;0m public func makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onComplete: @escaping (_ error: Result<Output, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m242 |[0;0m self._makeRequest(to: service, with: input, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
[0;36m243 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Endpoint+MakeRequest.swift:286:109: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m284 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callbacks on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m285 |[0;0m /// - Parameter onComplete: Callback when the request is complete that includes url to the downloaded data
[0;36m286 |[0;0m public func makeDownloadRequest(to service: Service = Service.shared, with input: Input, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m287 |[0;0m self._makeDownloadRequest(to: service, with: input, callbackQueue: callbackQueue, onProgress: nil, onComplete: onComplete)
[0;36m288 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:21:18: [1;31merror: [1;39mcannot find type 'DispatchSemaphore' in scope[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m var pathValidation: PathValidation {get}
[0;36m21 |[0;0m var waiting: [4;39mDispatchSemaphore[0;0m {get}
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchSemaphore' in scope[0;0m
[0;36m22 |[0;0m }
[0;36m23 |[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:28:48: [1;31merror: [1;39mcannot find type 'DispatchTimeoutResult' in scope[0;0m
[0;36m26 |[0;0m ///
[0;36m27 |[0;0m /// Only use for asynchronous requests
[0;36m28 |[0;0m public func wait(timeout: TimeInterval) -> [4;39mDispatchTimeoutResult[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTimeoutResult' in scope[0;0m
[0;36m29 |[0;0m return self.waiting.wait(timeout: .now() + timeout)
[0;36m30 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:43:26: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m41 |[0;0m public let pathValidation: PathValidation
[0;36m42 |[0;0m public var returning: EmptyResult
[0;36m43 |[0;0m public var waiting = [4;39mDispatchSemaphore[0;0m(value: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m44 |[0;0m
[0;36m45 |[0;0m public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:65:26: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m63 |[0;0m public let pathValidation: PathValidation
[0;36m64 |[0;0m public var returning: EmptyResult
[0;36m65 |[0;0m public var waiting = [4;39mDispatchSemaphore[0;0m(value: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m66 |[0;0m
[0;36m67 |[0;0m public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:87:26: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m85 |[0;0m public let pathValidation: PathValidation
[0;36m86 |[0;0m public var returning: Result<E.Output, DecreeError>
[0;36m87 |[0;0m public var waiting = [4;39mDispatchSemaphore[0;0m(value: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m88 |[0;0m
[0;36m89 |[0;0m public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:109:26: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m107 |[0;0m public let pathValidation: PathValidation
[0;36m108 |[0;0m public var returning: Result<URL, DecreeError>
[0;36m109 |[0;0m public var waiting = [4;39mDispatchSemaphore[0;0m(value: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m110 |[0;0m
[0;36m111 |[0;0m public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:131:26: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m129 |[0;0m public let pathValidation: PathValidation
[0;36m130 |[0;0m public var returning: Result<E.Output, DecreeError>
[0;36m131 |[0;0m public var waiting = [4;39mDispatchSemaphore[0;0m(value: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m132 |[0;0m
[0;36m133 |[0;0m public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:153:26: [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m151 |[0;0m public let pathValidation: PathValidation
[0;36m152 |[0;0m public var returning: Result<URL, DecreeError>
[0;36m153 |[0;0m public var waiting = [4;39mDispatchSemaphore[0;0m(value: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchSemaphore' in scope[0;0m
[0;36m154 |[0;0m
[0;36m155 |[0;0m public static var typeName: String {
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:25:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m /// - An optional URLResponse (will usually be an HTTPURLResponse)
[0;36m24 |[0;0m /// - An optional error
[0;36m25 |[0;0m func handle(dataRequest: [4;39mURLRequest[0;0m) -> (Data?, URLResponse?, Error?)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m /// Handle download requests
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:25:53: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m /// - An optional URLResponse (will usually be an HTTPURLResponse)
[0;36m24 |[0;0m /// - An optional error
[0;36m25 |[0;0m func handle(dataRequest: URLRequest) -> (Data?, [4;39mURLResponse[0;0m?, Error?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m /// Handle download requests
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:38:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m36 |[0;0m /// - An optional URLResponse (will usually be an HTTPURLResponse)
[0;36m37 |[0;0m /// - An optional error
[0;36m38 |[0;0m func handle(downloadRequest: [4;39mURLRequest[0;0m) -> (URL?, URLResponse?, Error?)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:38:56: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m /// - An optional URLResponse (will usually be an HTTPURLResponse)
[0;36m37 |[0;0m /// - An optional error
[0;36m38 |[0;0m func handle(downloadRequest: URLRequest) -> (URL?, [4;39mURLResponse[0;0m?, Error?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:43:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m41 |[0;0m extension WebService {
[0;36m42 |[0;0m /// Closure to manually handle web service request
[0;36m43 |[0;0m public typealias AllRequestsHandler = ([4;39mURLRequest[0;0m) -> (Data?, URLResponse?, Error?)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m44 |[0;0m
[0;36m45 |[0;0m /// 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: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m54 |[0;0m /// These are the 3 things that are usually returned from the underlying URLSession data task.
[0;36m55 |[0;0m @available(*, deprecated, message: "This does not support handling download requests. Use the protocol version of this call instead.")
[0;36m56 |[0;0m public static func startHandlingAllRequests(handler: @escaping AllRequestsHandler) {
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m57 |[0;0m self.stopHandlingAllRequests()
[0;36m58 |[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:87:19: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m85 |[0;0m let handler: WebService.AllRequestsHandler
[0;36m86 |[0;0m
[0;36m87 |[0;0m init(handler: @escaping WebService.AllRequestsHandler) {
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m88 |[0;0m self.handler = handler
[0;36m89 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:91:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m89 |[0;0m }
[0;36m90 |[0;0m
[0;36m91 |[0;0m func handle(dataRequest: [4;39mURLRequest[0;0m) -> (Data?, URLResponse?, Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m92 |[0;0m return self.handler(dataRequest)
[0;36m93 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:91:53: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m89 |[0;0m }
[0;36m90 |[0;0m
[0;36m91 |[0;0m func handle(dataRequest: URLRequest) -> (Data?, [4;39mURLResponse[0;0m?, Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m92 |[0;0m return self.handler(dataRequest)
[0;36m93 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:95:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m93 |[0;0m }
[0;36m94 |[0;0m
[0;36m95 |[0;0m func handle(downloadRequest: [4;39mURLRequest[0;0m) -> (URL?, URLResponse?, Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m96 |[0;0m return (nil, nil, DecreeError(.custom(
[0;36m97 |[0;0m "Using deprecated all requests handler that does not support download requests",
/host/spi-builder-workspace/Sources/Decree/Mocking/WebService+AllRequestHandling.swift:95:56: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m93 |[0;0m }
[0;36m94 |[0;0m
[0;36m95 |[0;0m func handle(downloadRequest: URLRequest) -> (URL?, [4;39mURLResponse[0;0m?, Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m96 |[0;0m return (nil, nil, DecreeError(.custom(
[0;36m97 |[0;0m "Using deprecated all requests handler that does not support download requests",
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:344:40: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m342 |[0;0m }
[0;36m343 |[0;0m
[0;36m344 |[0;0m public func dataTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m345 |[0;0m fatalError("Should not get called. It is special-cased.")
[0;36m346 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:344:89: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m342 |[0;0m }
[0;36m343 |[0;0m
[0;36m344 |[0;0m public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m345 |[0;0m fatalError("Should not get called. It is special-cased.")
[0;36m346 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:344:123: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m342 |[0;0m }
[0;36m343 |[0;0m
[0;36m344 |[0;0m public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m345 |[0;0m fatalError("Should not get called. It is special-cased.")
[0;36m346 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:348:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m346 |[0;0m }
[0;36m347 |[0;0m
[0;36m348 |[0;0m public func downloadTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m349 |[0;0m fatalError("Should not get called. It is special-cased.")
[0;36m350 |[0;0m }
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:348:92: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m346 |[0;0m }
[0;36m347 |[0;0m
[0;36m348 |[0;0m public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m349 |[0;0m fatalError("Should not get called. It is special-cased.")
[0;36m350 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Mocking/WebServiceMock.swift:348:126: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m346 |[0;0m }
[0;36m347 |[0;0m
[0;36m348 |[0;0m public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> [4;39mURLSessionDownloadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m349 |[0;0m fatalError("Should not get called. It is special-cased.")
[0;36m350 |[0;0m }
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:37:24: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m35 |[0;0m let endpoint: E
[0;36m36 |[0;0m let input: RequestInput
[0;36m37 |[0;0m let callbackQueue: [4;39mDispatchQueue[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m38 |[0;0m let onProgress: ((Double) -> ())?
[0;36m39 |[0;0m let onComplete: (_ result: Result<Output?, DecreeError>) -> ()
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:44:78: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m42 |[0;0m var progressObserver: AnyObject?
[0;36m43 |[0;0m
[0;36m44 |[0;0m init(for endpoint: E, of service: S, input: RequestInput, callbackQueue: [4;39mDispatchQueue[0;0m?, onProgress: ((Double) -> ())?, onComplete: @escaping (_ result: Result<Output?, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m45 |[0;0m self.service = service
[0;36m46 |[0;0m self.endpoint = endpoint
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:97:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m95 |[0;0m
[0;36m96 |[0;0m private extension Session {
[0;36m97 |[0;0m func execute<S: WebService>(_ request: [4;39mURLRequest[0;0m, for webService: S, onComplete: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTask? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m98 |[0;0m for handlerSpec in AllRequestsHandlers {
[0;36m99 |[0;0m if handlerSpec.service is S.Type {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:97:105: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m
[0;36m96 |[0;0m private extension Session {
[0;36m97 |[0;0m func execute<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> ()) -> URLSessionDataTask? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m98 |[0;0m for handlerSpec in AllRequestsHandlers {
[0;36m99 |[0;0m if handlerSpec.service is S.Type {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:97:137: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m
[0;36m96 |[0;0m private extension Session {
[0;36m97 |[0;0m func execute<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (Data?, URLResponse?, Error?) -> ()) -> [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m98 |[0;0m for handlerSpec in AllRequestsHandlers {
[0;36m99 |[0;0m if handlerSpec.service is S.Type {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:110:52: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m108 |[0;0m }
[0;36m109 |[0;0m
[0;36m110 |[0;0m func executeDownload<S: WebService>(_ request: [4;39mURLRequest[0;0m, for webService: S, onComplete: @escaping (URL?, URLResponse?, Error?) -> ()) -> URLSessionDownloadTask? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m111 |[0;0m for handlerSpec in AllRequestsHandlers {
[0;36m112 |[0;0m if handlerSpec.service is S.Type {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:110:112: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m108 |[0;0m }
[0;36m109 |[0;0m
[0;36m110 |[0;0m func executeDownload<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (URL?, [4;39mURLResponse[0;0m?, Error?) -> ()) -> URLSessionDownloadTask? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m for handlerSpec in AllRequestsHandlers {
[0;36m112 |[0;0m if handlerSpec.service is S.Type {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:110:144: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m108 |[0;0m }
[0;36m109 |[0;0m
[0;36m110 |[0;0m func executeDownload<S: WebService>(_ request: URLRequest, for webService: S, onComplete: @escaping (URL?, URLResponse?, Error?) -> ()) -> [4;39mURLSessionDownloadTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m for handlerSpec in AllRequestsHandlers {
[0;36m112 |[0;0m if handlerSpec.service is S.Type {
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:127:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m125 |[0;0m
[0;36m126 |[0;0m private extension DecreeRequest {
[0;36m127 |[0;0m func createRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m128 |[0;0m let request: URLRequest
[0;36m129 |[0;0m if let url = url {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:84: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m145 |[0;0m ///
[0;36m146 |[0;0m /// - Returns: the created request
[0;36m147 |[0;0m func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m148 |[0;0m let url = try self.createUrl(to: endpoint, input: input)
[0;36m149 |[0;0m return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:98: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m159 |[0;0m ///
[0;36m160 |[0;0m /// - Returns: the created request
[0;36m161 |[0;0m func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m162 |[0;0m var request = URLRequest(url: url)
[0;36m163 |[0;0m request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m class DecreeRequest<E: Endpoint, S: WebService> {
[0;36m|[0;0m `- [1;39mnote: [1;39m'E' previously declared here[0;0m
[0;36m14 |[0;0m enum Output {
[0;36m15 |[0;0m case data(Data)
[0;36m:[0;0m
[0;36m213 |[0;0m ///
[0;36m214 |[0;0m /// - Returns: the URL to send the input to
[0;36m215 |[0;0m func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m216 |[0;0m var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
[0;36m217 |[0;0m if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:58: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m236 |[0;0m }
[0;36m237 |[0;0m
[0;36m238 |[0;0m func addAuthorization<E: Endpoint>(to request: inout [4;39mURLRequest[0;0m, isRequired: Bool, for endpoint: E) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m239 |[0;0m switch self.service.authorization {
[0;36m240 |[0;0m case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m class DecreeRequest<E: Endpoint, S: WebService> {
[0;36m|[0;0m `- [1;39mnote: [1;39m'E' previously declared here[0;0m
[0;36m14 |[0;0m enum Output {
[0;36m15 |[0;0m case data(Data)
[0;36m:[0;0m
[0;36m254 |[0;0m }
[0;36m255 |[0;0m
[0;36m256 |[0;0m func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m257 |[0;0m guard let response = response as? HTTPURLResponse else {
[0;36m258 |[0;0m return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:53: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m254 |[0;0m }
[0;36m255 |[0;0m
[0;36m256 |[0;0m func automaticValidate<E: Endpoint>(_ response: [4;39mURLResponse[0;0m, for endpoint: E) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m257 |[0;0m guard let response = response as? HTTPURLResponse else {
[0;36m258 |[0;0m return
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:274:35: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m272 |[0;0m
[0;36m273 |[0;0m private extension DecreeRequest {
[0;36m274 |[0;0m func observeProgress(of task: [4;39mURLSessionTask[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m275 |[0;0m #if canImport(ObjectiveC)
[0;36m276 |[0;0m if #available(iOS 11.0, OSX 10.13, tvOS 11.0, *) {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:288:54: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m286 |[0;0m
[0;36m287 |[0;0m private extension DecreeRequest {
[0;36m288 |[0;0m func handleResponse(_ output: Output?, response: [4;39mURLResponse[0;0m?, error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m289 |[0;0m self.callbackQueue.async {
[0;36m290 |[0;0m self.logResponse(output: output, response: response, error: error, for: self.endpoint)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m class DecreeRequest<E: Endpoint, S: WebService> {
[0;36m|[0;0m `- [1;39mnote: [1;39m'E' previously declared here[0;0m
[0;36m14 |[0;0m enum Output {
[0;36m15 |[0;0m case data(Data)
[0;36m:[0;0m
[0;36m334 |[0;0m }
[0;36m335 |[0;0m
[0;36m336 |[0;0m func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m337 |[0;0m let loadedData: Data?
[0;36m338 |[0;0m if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:69: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m334 |[0;0m }
[0;36m335 |[0;0m
[0;36m336 |[0;0m func handle<E: Endpoint>(_ error: Error, withResponse response: [4;39mURLResponse[0;0m, output: Output?, endpoint: E) -> ErrorHandling {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m337 |[0;0m let loadedData: Data?
[0;36m338 |[0;0m if let output = output {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m365 |[0;0m
[0;36m366 |[0;0m private extension DecreeRequest {
[0;36m367 |[0;0m func log<E: Endpoint>(_ request: [4;39mURLRequest[0;0m, for endpoint: E) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m368 |[0;0m Logger.shared.logInfo("""
[0;36m369 |[0;0m --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m class DecreeRequest<E: Endpoint, S: WebService> {
[0;36m|[0;0m `- [1;39mnote: [1;39m'E' previously declared here[0;0m
[0;36m14 |[0;0m enum Output {
[0;36m15 |[0;0m case data(Data)
[0;36m:[0;0m
[0;36m376 |[0;0m }
[0;36m377 |[0;0m
[0;36m378 |[0;0m func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m379 |[0;0m var log = """
[0;36m380 |[0;0m --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:62: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m376 |[0;0m }
[0;36m377 |[0;0m
[0;36m378 |[0;0m func logResponse<E: Endpoint>(output: Output?, response: [4;39mURLResponse[0;0m?, error: Error?, for endpoint: E) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m379 |[0;0m var log = """
[0;36m380 |[0;0m --------------------------------------------------------------
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:10:37: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m
[0;36m10 |[0;0m extension Optional where Wrapped == [4;39mDispatchQueue[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m11 |[0;0m func async(execute: @escaping () -> ()) {
[0;36m12 |[0;0m if let queue = self {
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:18:76: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m16 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m17 |[0;0m /// - Parameter onComplete: Callback when the request is complete
[0;36m18 |[0;0m func _makeRequest(to service: Service = Service.shared, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ result: EmptyResult) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m19 |[0;0m if let mock = service.sessionOverride as? WebServiceMock<Service> {
[0;36m20 |[0;0m mock.handle(for: self, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:46:95: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m44 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m45 |[0;0m /// - Parameter onComplete: Callback when the request is complete
[0;36m46 |[0;0m func _makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ result: EmptyResult) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m47 |[0;0m if let mock = service.sessionOverride as? WebServiceMock<Service> {
[0;36m48 |[0;0m mock.handle(for: self, input: input, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:81:76: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m79 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m80 |[0;0m /// - Parameter onComplete: Callback when the request is complete that includes output if successful
[0;36m81 |[0;0m func _makeRequest(to service: Service = Service.shared, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ result: Result<Output, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m82 |[0;0m if let mock = service.sessionOverride as? WebServiceMock<Service> {
[0;36m83 |[0;0m mock.handle(for: self, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:104:84: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m102 |[0;0m
[0;36m103 |[0;0m extension OutEndpoint {
[0;36m104 |[0;0m func _makeDownloadRequest(to service: Service = Service.shared, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m105 |[0;0m if let mock = service.sessionOverride as? WebServiceMock<Service> {
[0;36m106 |[0;0m mock.handleDownload(for: self, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:124:95: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m122 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on an unpredictable queue. Defaults to the main queue.
[0;36m123 |[0;0m /// - Parameter onComplete: Callback when the request is complete that includes output if successful
[0;36m124 |[0;0m func _makeRequest(to service: Service = Service.shared, with input: Input, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ error: Result<Output, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m125 |[0;0m if let mock = service.sessionOverride as? WebServiceMock<Service> {
[0;36m126 |[0;0m mock.handle(for: self, input: input, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/Endpoint+PrivateMakeRequest.swift:155:103: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m153 |[0;0m
[0;36m154 |[0;0m extension InOutEndpoint where Input: Encodable {
[0;36m155 |[0;0m func _makeDownloadRequest(to service: Service = Service.shared, with input: Input, callbackQueue: [4;39mDispatchQueue[0;0m? = DispatchQueue.main, onProgress: ((Double) -> ())? = nil, onComplete: @escaping (_ error: Result<URL, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m156 |[0;0m if let mock = service.sessionOverride as? WebServiceMock<Service> {
[0;36m157 |[0;0m mock.handleDownload(for: self, input: input, callbackQueue: callbackQueue, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Decree/Private/HTTPStatus.swift:62:32: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m case other(Int)
[0;36m61 |[0;0m
[0;36m62 |[0;0m public init(from response: [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m self = HTTPStatus(rawValue: response.statusCode)
[0;36m64 |[0;0m }
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m extension XMLParser.ErrorCode: CustomStringConvertible {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m14 |[0;0m public var description: String {
[0;36m15 |[0;0m switch self {
/host/spi-builder-workspace/Sources/Decree/Private/URLRequest+Logging.swift:13:11: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m var logDescription: String {
[0;36m15 |[0;0m var log = """
/host/spi-builder-workspace/Sources/Decree/Private/URLRequest+Logging.swift:28:19: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m private extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m var basicLog: String {
[0;36m30 |[0;0m return "\(self.httpMethod ?? "GET") \(url?.absoluteString ?? "NO URL")"
/host/spi-builder-workspace/Sources/Decree/Private/URLResponse+Logging.swift:13:1: [1;31merror: [1;39mnon-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m extension [4;39mURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m14 |[0;0m var logDescription: String {
[0;36m15 |[0;0m var log = ""
/host/spi-builder-workspace/Sources/Decree/Private/URLResponse+Logging.swift:29:9: [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m27 |[0;0m }
[0;36m28 |[0;0m
[0;36m29 |[0;0m private extension [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m30 |[0;0m var headers: String {
[0;36m31 |[0;0m return self.allHeaderFields.map({ key, value in
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:26:87: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m24 |[0;0m /// - Parameter callbackQueue: Queue to execute the onComplete callback on. If nil, it will execute on the default queue from URLSession
[0;36m25 |[0;0m /// - Parameter onComplete: callback for when the request completes with the data returned
[0;36m26 |[0;0m func makeRequest<E: Endpoint>(to endpoint: E, input: RequestInput, callbackQueue: [4;39mDispatchQueue[0;0m?, onProgress: ((Double) -> ())?, onComplete: @escaping (_ result: Result<Data?, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m27 |[0;0m let request = DecreeRequest(for: endpoint, of: self, input: input, callbackQueue: callbackQueue, onProgress: onProgress, onComplete: { result in
[0;36m28 |[0;0m switch result {
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:48:95: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m46 |[0;0m }
[0;36m47 |[0;0m
[0;36m48 |[0;0m func makeDownloadRequest<E: Endpoint>(to endpoint: E, input: RequestInput, callbackQueue: [4;39mDispatchQueue[0;0m?, onProgress: ((Double) -> ())?, onComplete: @escaping (_ result: Result<URL, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m49 |[0;0m let request = DecreeRequest(for: endpoint, of: self, input: input, callbackQueue: callbackQueue, onProgress: onProgress, onComplete: { result in
[0;36m50 |[0;0m switch result {
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:11:67: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m extension WebServiceMock {
[0;36m11 |[0;0m func handle<E: EmptyEndpoint>(for endpoint: E, callbackQueue: [4;39mDispatchQueue[0;0m?, onComplete: @escaping (_ result: EmptyResult) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m12 |[0;0m do {
[0;36m13 |[0;0m let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:33:80: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m
[0;36m33 |[0;0m func handle<E: InEndpoint>(for endpoint: E, input: E.Input, callbackQueue: [4;39mDispatchQueue[0;0m?, onComplete: @escaping (_ result: EmptyResult) -> ()) where E.Input: Encodable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m34 |[0;0m do {
[0;36m35 |[0;0m let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:55:65: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m
[0;36m55 |[0;0m func handle<E: OutEndpoint>(for endpoint: E, callbackQueue: [4;39mDispatchQueue[0;0m?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m56 |[0;0m do {
[0;36m57 |[0;0m let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:77:73: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m
[0;36m77 |[0;0m func handleDownload<E: OutEndpoint>(for endpoint: E, callbackQueue: [4;39mDispatchQueue[0;0m?, onComplete: @escaping (_ result: Result<URL, DecreeError>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m78 |[0;0m do {
[0;36m79 |[0;0m let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:99:83: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m97 |[0;0m }
[0;36m98 |[0;0m
[0;36m99 |[0;0m func handle<E: InOutEndpoint>(for endpoint: E, input: E.Input, callbackQueue: [4;39mDispatchQueue[0;0m?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) where E.Input: Encodable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m100 |[0;0m do {
[0;36m101 |[0;0m let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:121:91: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m119 |[0;0m }
[0;36m120 |[0;0m
[0;36m121 |[0;0m func handleDownload<E: InOutEndpoint>(for endpoint: E, input: E.Input, callbackQueue: [4;39mDispatchQueue[0;0m?, onComplete: @escaping (_ result: Result<URL, DecreeError>) -> ()) where E.Input: Encodable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m122 |[0;0m do {
[0;36m123 |[0;0m let next = try self.nextExpectation(for: endpoint)
/host/spi-builder-workspace/Sources/Decree/WebService.swift:71:50: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m69 |[0;0m
[0;36m70 |[0;0m /// **OPTIONAL** Chance to configure each URLRequest
[0;36m71 |[0;0m func configure<E: Endpoint>(_ request: inout [4;39mURLRequest[0;0m, for endpoint: E) throws
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m72 |[0;0m
[0;36m73 |[0;0m /// **OPTIONAL** Chance to configure each input encoder
/host/spi-builder-workspace/Sources/Decree/WebService.swift:91:44: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m89 |[0;0m
[0;36m90 |[0;0m /// **OPTIONAL** Chance to validate the URLResponse
[0;36m91 |[0;0m func validate<E: Endpoint>(_ response: [4;39mURLResponse[0;0m, for endpoint: E) throws
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m92 |[0;0m
[0;36m93 |[0;0m /// **OPTIONAL** Chance to validate the BasicResponse
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/WebService.swift:99:62: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m
[0;36m98 |[0;0m /// *OPTIONAL* Chance to automatically handle a response error
[0;36m99 |[0;0m func handle<E: Endpoint>(_ error: DecreeError, response: [4;39mURLResponse[0;0m, from endpoint: E) -> ErrorHandling
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m100 |[0;0m }
[0;36m101 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/WebService.swift:107:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m105 |[0;0m
[0;36m106 |[0;0m public var sessionOverride: Session? { return nil }
[0;36m107 |[0;0m public func configure<E: Endpoint>(_ request: inout [4;39mURLRequest[0;0m, for endpoint: E) throws {}
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m108 |[0;0m public func configure<E: Endpoint>(_ encoder: inout JSONEncoder, for endpoint: E) throws {}
[0;36m109 |[0;0m public func configure<E: Endpoint>(_ decoder: inout JSONDecoder, for endpoint: E) throws {}
/host/spi-builder-workspace/Sources/Decree/WebService.swift:113:51: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m public func configure<E: Endpoint>(_ decoder: inout XMLDecoder, for endpoint: E) throws {}
[0;36m112 |[0;0m public func configure<E: Endpoint>(_ encoder: inout KeyValueEncoder, for endpoint: E) throws {}
[0;36m113 |[0;0m public func validate<E: Endpoint>(_ response: [4;39mURLResponse[0;0m, for endpoint: E) throws {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m public func validate<E: Endpoint>(_ response: BasicResponse, for endpoint: E) throws {}
[0;36m115 |[0;0m public func handle<E: Endpoint>(_ error: DecreeError, response: URLResponse, from endpoint: E) -> ErrorHandling { return .error(error) }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Decree/WebService.swift:115:69: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m113 |[0;0m public func validate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {}
[0;36m114 |[0;0m public func validate<E: Endpoint>(_ response: BasicResponse, for endpoint: E) throws {}
[0;36m115 |[0;0m public func handle<E: Endpoint>(_ error: DecreeError, response: [4;39mURLResponse[0;0m, from endpoint: E) -> ErrorHandling { return .error(error) }
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m116 |[0;0m }
[0;36m117 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[#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