The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DangerSwiftKantoku, reference main (516a2e), with Swift 6.1 for Wasm on 9 Jul 2026 00:54:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yumemi-inc/danger-swift-kantoku.git
Reference: main
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/yumemi-inc/danger-swift-kantoku
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 516a2e6 Merge pull request #20 from yumemi-inc/ci/renovate/actions-checkout-7.x
Cloned https://github.com/yumemi-inc/danger-swift-kantoku.git
Revision (git rev-parse @):
516a2e6c7a9ff277ca3b403a74125d4e04eb3382
SUCCESS checkout https://github.com/yumemi-inc/danger-swift-kantoku.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yumemi-inc/danger-swift-kantoku.git
https://github.com/yumemi-inc/danger-swift-kantoku.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/davidahouse/XCResultKit
Fetching https://github.com/danger/swift
[1/1013] Fetching xcresultkit
[609/11375] Fetching xcresultkit, swift
Fetched https://github.com/danger/swift from cache (0.46s)
Fetched https://github.com/davidahouse/XCResultKit from cache (0.46s)
Computing version for https://github.com/davidahouse/XCResultKit
Computed https://github.com/davidahouse/XCResultKit at 1.2.2 (0.70s)
Computing version for https://github.com/danger/swift
Computed https://github.com/danger/swift at 3.22.1 (0.23s)
Fetching https://github.com/mxcl/Version
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/nerdishbynature/octokit.swift
[1/311] Fetching version
[309/427] Fetching version, logger
[425/5706] Fetching version, logger, octokit.swift
Fetched https://github.com/mxcl/Version from cache (0.47s)
Fetched https://github.com/shibapm/Logger from cache (0.47s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.47s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.69s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1685] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.41s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.4.0 (0.65s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.1 (0.24s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.91s)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.4.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.1
Creating working copy for https://github.com/davidahouse/XCResultKit
Working copy of https://github.com/davidahouse/XCResultKit resolved at 1.2.2
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
Creating working copy for https://github.com/danger/swift
Working copy of https://github.com/danger/swift resolved at 3.22.1
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/87] Emitting module Logger
[10/87] Compiling XCResultKit ActivityLogAnalyzerControlFlowStepEdge.swift
[11/87] Compiling XCResultKit ActivityLogAnalyzerEventStep.swift
[12/87] Compiling XCResultKit ActivityLogAnalyzerResultMessage.swift
[13/87] Compiling XCResultKit ActivityLogAnalyzerStep.swift
[14/87] Compiling XCResultKit ActivityLogAnalyzerWarningMessage.swift
[15/87] Compiling XCResultKit ActivityLogCommandInvocationSection.swift
[16/87] Compiling XCResultKit ActivityLogMajorSection.swift
[17/87] Compiling XCResultKit ActivityLogMessage.swift
[18/87] Compiling XCResultKit ActivityLogMessageAnnotation.swift
[19/87] Compiling XCResultKit ActivityLogSection.swift
[20/96] Compiling XCResultKit TestArgument.swift
[21/96] Compiling XCResultKit TestAssociatedError.swift
[22/96] Compiling XCResultKit TestDocumentation.swift
[23/96] Compiling XCResultKit TestExpression.swift
[24/96] Compiling XCResultKit TestFailureIssueSummary.swift
[25/96] Compiling XCResultKit TestIssueSummary.swift
[26/96] Compiling XCResultKit TestParameter.swift
[27/96] Compiling XCResultKit TestTag.swift
[28/96] Compiling XCResultKit TestValue.swift
[29/96] Compiling XCResultKit ActivityLogTargetBuildSection.swift
[30/96] Compiling XCResultKit ActivityLogUnitTestSection.swift
[31/96] Compiling XCResultKit ArchiveInfo.swift
[32/96] Compiling XCResultKit CodeCoverageInfo.swift
[33/96] Compiling XCResultKit ConsoleLogItem.swift
[34/96] Compiling XCResultKit ConsoleLogItemLogData.swift
[35/96] Compiling XCResultKit ConsoleLogSection.swift
[36/96] Compiling XCResultKit DocumentLocation.swift
[37/96] Compiling XCResultKit EntityIdentifier.swift
[38/96] Compiling XCResultKit IssueSummary.swift
[39/96] Emitting module XCResultKit
[40/96] Compiling XCResultKit ActionSDKRecord.swift
[41/96] Compiling XCResultKit ActionTestActivitySummary.swift
[42/96] Compiling XCResultKit ActionTestAttachment.swift
[43/96] Compiling XCResultKit ActionTestConfiguration.swift
[44/96] Compiling XCResultKit ActionTestExpectedFailure.swift
[45/96] Compiling XCResultKit ActionTestFailureSummary.swift
[46/96] Compiling XCResultKit ActionTestIssueSummary.swift
[47/96] Compiling XCResultKit ActionTestMetadata.swift
[48/96] Compiling XCResultKit ActionTestNoticeSummary.swift
[49/96] Compiling XCResultKit ActionTestPerformanceMetricSummary.swift
[50/96] Compiling XCResultKit CodeCoverage.swift
[51/96] Compiling XCResultKit LogStoreExecution.swift
[52/96] Compiling XCResultKit LogStoreManifest.swift
[53/96] Compiling XCResultKit Logger.swift
[54/96] Compiling XCResultKit ActionAbstractTestSummary.swift
[55/96] Compiling XCResultKit ActionDeviceRecord.swift
[56/96] Compiling XCResultKit ActionPlatformRecord.swift
[57/96] Compiling XCResultKit ActionRecord.swift
[58/96] Compiling XCResultKit ActionResult.swift
[59/96] Compiling XCResultKit ActionRunDestinationRecord.swift
[60/96] Compiling RequestKit JSONPostRouter.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: error: cannot find type 'URLRequest' in scope
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:50: error: cannot find type 'URLSessionTaskDelegate' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                              `- error: cannot find type 'URLRequest' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:73: error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:25:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |
 24 | public extension JSONPostRouter {
 25 |     func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType _: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 26 |         guard let request = request() else {
 27 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:72:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 70 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
 71 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
 72 |     func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType _: T.Type) async throws -> T? {
    |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |         guard let request = request() else {
 74 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:95:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 93 |     #endif
 94 |
 95 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 96 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 97 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:101:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 99 |     }
100 |
101 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
102 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
103 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:111:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
109 |     }
110 |
111 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
112 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
113 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:158:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
156 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
157 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
158 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
159 |         return try await post(session, decoder: configuration.decoder, expectedResultType: expectedResultType)
160 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:163:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
161 |
162 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
163 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
164 |         let decoder = JSONDecoder()
165 |         if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:65:80: error: cannot find type 'URLRequest' in scope
 63 |
 64 |     func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
 65 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
    |                                                                                `- error: cannot find type 'URLRequest' in scope
 66 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 67 |     func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:138:80: error: cannot find type 'URLRequest' in scope
136 |     }
137 |
138 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
    |                                                                                `- error: cannot find type 'URLRequest' in scope
139 |         var urlComponents = urlComponents
140 |         urlComponents.percentEncodedQuery = urlQuery(parameters)?.map { [$0.name, $0.value ?? ""].joined(separator: "=") }.joined(separator: "&")
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:71:23: error: cannot find type 'URLRequest' in scope
 69 |     func load<T: Decodable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void)
 70 |         -> URLSessionDataTaskProtocol?
 71 |     func request() -> URLRequest?
    |                       `- error: cannot find type 'URLRequest' in scope
 72 |
 73 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:84:23: error: cannot find type 'URLRequest' in scope
 82 |
 83 | public extension Router {
 84 |     func request() -> URLRequest? {
    |                       `- error: cannot find type 'URLRequest' in scope
 85 |         let url = URL(string: path, relativeTo: URL(string: configuration.apiEndpoint)!)
 86 |         var parameters = encoding == .json ? [:] : params
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:40:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
 38 |         let task = session.uploadTask(with: request, fromData: data) { data, response, error in
 39 |             if let response = response as? HTTPURLResponse {
 40 |                 if !response.wasSuccessful {
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
 41 |                     var userInfo = [String: Any]()
 42 |                     if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:78:90: error: 'nil' requires a contextual type
 76 |
 77 |         let data = try JSONSerialization.data(withJSONObject: params, options: JSONSerialization.WritingOptions())
 78 |         let responseTuple = try await session.upload(for: request, from: data, delegate: nil)
    |                                                                                          `- error: 'nil' requires a contextual type
 79 |         if let response = responseTuple.1 as? HTTPURLResponse {
 80 |             if !response.wasSuccessful {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:127:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
125 |
126 |         let task = session.uploadTask(with: request, fromData: data) { data, response, error in
127 |             if let response = response as? HTTPURLResponse, !response.wasSuccessful {
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
128 |                 var userInfo = [String: Any]()
129 |                 if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:178:90: error: 'nil' requires a contextual type
176 |
177 |         let data = try JSONSerialization.data(withJSONObject: params, options: JSONSerialization.WritingOptions())
178 |         let responseTuple = try await session.upload(for: request, from: data, delegate: nil)
    |                                                                                          `- error: 'nil' requires a contextual type
179 |         if let response = responseTuple.1 as? HTTPURLResponse, response.wasSuccessful == false {
180 |             var userInfo = [String: Any]()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/96] Compiling RequestKit Pagination.swift
[62/96] Emitting module RequestKit
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: error: cannot find type 'URLRequest' in scope
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:50: error: cannot find type 'URLSessionTaskDelegate' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                              `- error: cannot find type 'URLRequest' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:73: error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:25:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |
 24 | public extension JSONPostRouter {
 25 |     func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType _: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 26 |         guard let request = request() else {
 27 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:72:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 70 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
 71 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
 72 |     func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType _: T.Type) async throws -> T? {
    |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 73 |         guard let request = request() else {
 74 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:95:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 93 |     #endif
 94 |
 95 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 96 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 97 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:101:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 99 |     }
100 |
101 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
102 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
103 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:111:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
109 |     }
110 |
111 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
112 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
113 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:158:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
156 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
157 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
158 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
159 |         return try await post(session, decoder: configuration.decoder, expectedResultType: expectedResultType)
160 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:163:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
161 |
162 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
163 |     func post<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
164 |         let decoder = JSONDecoder()
165 |         if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:121: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     #endif
17 | }
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:23:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
21 | }
22 |
23 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
24 |
25 | extension URLSession: RequestKitURLSession {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
24 |
25 | extension URLSession: RequestKitURLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
27 |         return dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:65:80: error: cannot find type 'URLRequest' in scope
 63 |
 64 |     func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
 65 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
    |                                                                                `- error: cannot find type 'URLRequest' in scope
 66 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 67 |     func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:71:23: error: cannot find type 'URLRequest' in scope
 69 |     func load<T: Decodable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void)
 70 |         -> URLSessionDataTaskProtocol?
 71 |     func request() -> URLRequest?
    |                       `- error: cannot find type 'URLRequest' in scope
 72 |
 73 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:84:23: error: cannot find type 'URLRequest' in scope
 82 |
 83 | public extension Router {
 84 |     func request() -> URLRequest? {
    |                       `- error: cannot find type 'URLRequest' in scope
 85 |         let url = URL(string: path, relativeTo: URL(string: configuration.apiEndpoint)!)
 86 |         var parameters = encoding == .json ? [:] : params
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:138:80: error: cannot find type 'URLRequest' in scope
136 |     }
137 |
138 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
    |                                                                                `- error: cannot find type 'URLRequest' in scope
139 |         var urlComponents = urlComponents
140 |         urlComponents.percentEncodedQuery = urlQuery(parameters)?.map { [$0.name, $0.value ?? ""].joined(separator: "=") }.joined(separator: "&")
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:159:78: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
157 |
158 |     @available(*, deprecated, message: "Plase use `load` method instead")
159 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
    |                                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
160 |                                 completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
161 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:165:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
163 |     }
164 |
165 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
166 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
167 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:175:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 |     }
174 |
175 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
176 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
177 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:212:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
210 |     }
211 |
212 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
213 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
214 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:218:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
216 |     }
217 |
218 |     func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
219 |         guard let request = request() else {
220 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:243:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
241 |
242 |     @discardableResult
243 |     func delete(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
244 |         guard let request = request() else { return nil }
245 |         let task = session.dataTask(with: request) { data, response, err in
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:261:71: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
259 |
260 |     @discardableResult
261 |     func put<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
262 |                          completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
263 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:294:73: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
292 |
293 |     @discardableResult
294 |     func patch<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
295 |                            completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
296 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:327:81: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
325 |
326 |     @discardableResult
327 |     func loadPaginated<T: Codable>(_ session: RequestKitURLSession = URLSession.shared,
    |                                                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
328 |                                    decoder: JSONDecoder = JSONDecoder(),
329 |                                    expectedResultType _: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:361:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
359 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
360 | public extension Router {
361 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
362 |         guard let request = request() else {
363 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:381:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
379 |     }
380 |
381 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
382 |         return try await load(session, decoder: configuration.decoder, expectedResultType: expectedResultType)
383 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:385:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
383 |     }
384 |
385 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
386 |         let decoder = JSONDecoder()
387 |         if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:393:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
391 |     }
392 |
393 |     func load(_ session: RequestKitURLSession = URLSession.shared) async throws {
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
394 |         guard let request = request() else {
395 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:410:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
408 |     }
409 |
410 |     func delete(_ session: RequestKitURLSession = URLSession.shared) async throws {
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
411 |         guard let request = request() else {
412 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:424:71: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
422 |     }
423 |
424 |     func put<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
    |                                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
425 |         guard let request = request() else {
426 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:442:73: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
440 |     }
441 |
442 |     func patch<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
    |                                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
443 |         guard let request = request() else {
444 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:460:81: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
458 |     }
459 |
460 |     func loadPaginated<T: Codable>(_ session: RequestKitURLSession = URLSession.shared,
    |                                                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
461 |                                    decoder: JSONDecoder = JSONDecoder(),
462 |                                    expectedResultType _: T.Type) async throws -> PaginatedResponse<T>
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:494:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
492 | }
493 |
494 | public extension HTTPURLResponse {
    |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
495 |     var wasSuccessful: Bool {
496 |         let successRange = 200 ..< 300
[63/96] Compiling RequestKit RequestKitSession.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: error: cannot find type 'URLRequest' in scope
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:50: error: cannot find type 'URLSessionTaskDelegate' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                              `- error: cannot find type 'URLRequest' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:73: error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:121: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     #endif
17 | }
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:23:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
21 | }
22 |
23 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
24 |
25 | extension URLSession: RequestKitURLSession {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
24 |
25 | extension URLSession: RequestKitURLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
27 |         return dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:26:40: error: cannot find type 'URLRequest' in scope
24 |
25 | extension URLSession: RequestKitURLSession {
26 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
   |                                        `- error: cannot find type 'URLRequest' in scope
27 |         return dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask
28 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:30:42: error: cannot find type 'URLRequest' in scope
28 |     }
29 |
30 |     public func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol {
   |                                          `- error: cannot find type 'URLRequest' in scope
31 |         return uploadTask(with: request, from: bodyData, completionHandler: completionHandler)
32 |     }
[64/96] Compiling RequestKit Router.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:65:80: error: cannot find type 'URLRequest' in scope
 63 |
 64 |     func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
 65 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
    |                                                                                `- error: cannot find type 'URLRequest' in scope
 66 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 67 |     func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: error: cannot find type 'URLRequest' in scope
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:50: error: cannot find type 'URLSessionTaskDelegate' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                              `- error: cannot find type 'URLRequest' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:73: error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:71:23: error: cannot find type 'URLRequest' in scope
 69 |     func load<T: Decodable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void)
 70 |         -> URLSessionDataTaskProtocol?
 71 |     func request() -> URLRequest?
    |                       `- error: cannot find type 'URLRequest' in scope
 72 |
 73 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:84:23: error: cannot find type 'URLRequest' in scope
 82 |
 83 | public extension Router {
 84 |     func request() -> URLRequest? {
    |                       `- error: cannot find type 'URLRequest' in scope
 85 |         let url = URL(string: path, relativeTo: URL(string: configuration.apiEndpoint)!)
 86 |         var parameters = encoding == .json ? [:] : params
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:138:80: error: cannot find type 'URLRequest' in scope
136 |     }
137 |
138 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
    |                                                                                `- error: cannot find type 'URLRequest' in scope
139 |         var urlComponents = urlComponents
140 |         urlComponents.percentEncodedQuery = urlQuery(parameters)?.map { [$0.name, $0.value ?? ""].joined(separator: "=") }.joined(separator: "&")
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:159:78: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
157 |
158 |     @available(*, deprecated, message: "Plase use `load` method instead")
159 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
    |                                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
160 |                                 completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
161 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:165:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
163 |     }
164 |
165 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
166 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
167 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:175:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 |     }
174 |
175 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
176 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
177 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:212:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
210 |     }
211 |
212 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
213 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
214 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:218:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
216 |     }
217 |
218 |     func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
219 |         guard let request = request() else {
220 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:243:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
241 |
242 |     @discardableResult
243 |     func delete(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
244 |         guard let request = request() else { return nil }
245 |         let task = session.dataTask(with: request) { data, response, err in
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:261:71: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
259 |
260 |     @discardableResult
261 |     func put<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
262 |                          completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
263 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:294:73: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
292 |
293 |     @discardableResult
294 |     func patch<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
295 |                            completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
296 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:327:81: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
325 |
326 |     @discardableResult
327 |     func loadPaginated<T: Codable>(_ session: RequestKitURLSession = URLSession.shared,
    |                                                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
328 |                                    decoder: JSONDecoder = JSONDecoder(),
329 |                                    expectedResultType _: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:361:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
359 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
360 | public extension Router {
361 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
362 |         guard let request = request() else {
363 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:381:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
379 |     }
380 |
381 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
382 |         return try await load(session, decoder: configuration.decoder, expectedResultType: expectedResultType)
383 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:385:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
383 |     }
384 |
385 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
386 |         let decoder = JSONDecoder()
387 |         if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:393:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
391 |     }
392 |
393 |     func load(_ session: RequestKitURLSession = URLSession.shared) async throws {
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
394 |         guard let request = request() else {
395 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:410:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
408 |     }
409 |
410 |     func delete(_ session: RequestKitURLSession = URLSession.shared) async throws {
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
411 |         guard let request = request() else {
412 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:424:71: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
422 |     }
423 |
424 |     func put<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
    |                                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
425 |         guard let request = request() else {
426 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:442:73: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
440 |     }
441 |
442 |     func patch<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
    |                                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
443 |         guard let request = request() else {
444 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:460:81: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
458 |     }
459 |
460 |     func loadPaginated<T: Codable>(_ session: RequestKitURLSession = URLSession.shared,
    |                                                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
461 |                                    decoder: JSONDecoder = JSONDecoder(),
462 |                                    expectedResultType _: T.Type) async throws -> PaginatedResponse<T>
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:494:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
492 | }
493 |
494 | public extension HTTPURLResponse {
    |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
495 |     var wasSuccessful: Bool {
496 |         let successRange = 200 ..< 300
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:144:37: error: cannot find 'URLRequest' in scope
142 |         switch encoding {
143 |         case .url, .json:
144 |             var mutableURLRequest = URLRequest(url: url)
    |                                     `- error: cannot find 'URLRequest' in scope
145 |             mutableURLRequest.httpMethod = method.rawValue
146 |             return mutableURLRequest
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:150:37: error: cannot find 'URLRequest' in scope
148 |             let queryData = urlComponents.percentEncodedQuery?.data(using: String.Encoding.utf8)
149 |             urlComponents.queryItems = nil // clear the query items as they go into the body
150 |             var mutableURLRequest = URLRequest(url: urlComponents.url!)
    |                                     `- error: cannot find 'URLRequest' in scope
151 |             mutableURLRequest.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "content-type")
152 |             mutableURLRequest.httpBody = queryData
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:184:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
182 |         let task = session.dataTask(with: request) { data, response, err in
183 |             if let response = response as? HTTPURLResponse {
184 |                 if response.wasSuccessful == false {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
185 |                     var userInfo = [String: Any]()
186 |                     if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:225:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
223 |         let task = session.dataTask(with: request) { data, response, err in
224 |             if let response = response as? HTTPURLResponse {
225 |                 if response.wasSuccessful == false {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
226 |                     var userInfo = [String: Any]()
227 |                     if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:246:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
244 |         guard let request = request() else { return nil }
245 |         let task = session.dataTask(with: request) { data, response, err in
246 |             if let response = response as? HTTPURLResponse, !response.wasSuccessful {
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
247 |                 var userInfo = [String: Any]()
248 |                 if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:273:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
271 |         }
272 |         let task = session.uploadTask(with: request, fromData: data) { data, response, error in
273 |             if let response = response as? HTTPURLResponse, !response.wasSuccessful {
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
274 |                 var userInfo = [String: Any]()
275 |                 if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:306:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
304 |         }
305 |         let task = session.uploadTask(with: request, fromData: data) { data, response, error in
306 |             if let response = response as? HTTPURLResponse, !response.wasSuccessful {
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
307 |                 var userInfo = [String: Any]()
308 |                 if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:334:71: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
332 |         guard let request = request() else { return nil }
333 |         let task = session.dataTask(with: request) { data, response, err in
334 |             if let response = response as? HTTPURLResponse, !response.wasSuccessful {
    |                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
335 |                 var userInfo = [String: Any]()
336 |                 if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:366:76: error: 'nil' requires a contextual type
364 |         }
365 |
366 |         let responseTuple = try await session.data(for: request, delegate: nil)
    |                                                                            `- error: 'nil' requires a contextual type
367 |
368 |         if let response = responseTuple.1 as? HTTPURLResponse {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:398:76: error: 'nil' requires a contextual type
396 |         }
397 |
398 |         let responseTuple = try await session.data(for: request, delegate: nil)
    |                                                                            `- error: 'nil' requires a contextual type
399 |         if let response = responseTuple.1 as? HTTPURLResponse {
400 |             if response.wasSuccessful == false {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:414:79: error: 'nil' requires a contextual type
412 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
413 |         }
414 |         let (data, response) = try await session.data(for: request, delegate: nil)
    |                                                                               `- error: 'nil' requires a contextual type
415 |         if let response = response as? HTTPURLResponse, !response.wasSuccessful {
416 |             var userInfo = [String: Any]()
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:429:101: error: 'nil' requires a contextual type
427 |         }
428 |         let body = try JSONSerialization.data(withJSONObject: params, options: JSONSerialization.WritingOptions())
429 |         let (responseData, response) = try await session.upload(for: request, from: body, delegate: nil)
    |                                                                                                     `- error: 'nil' requires a contextual type
430 |         if let response = response as? HTTPURLResponse, !response.wasSuccessful {
431 |             var userInfo = [String: Any]()
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:447:101: error: 'nil' requires a contextual type
445 |         }
446 |         let body = try JSONSerialization.data(withJSONObject: params, options: JSONSerialization.WritingOptions())
447 |         let (responseData, response) = try await session.upload(for: request, from: body, delegate: nil)
    |                                                                                                     `- error: 'nil' requires a contextual type
448 |         if let response = response as? HTTPURLResponse, !response.wasSuccessful {
449 |             var userInfo = [String: Any]()
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:467:79: error: 'nil' requires a contextual type
465 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
466 |         }
467 |         let (data, response) = try await session.data(for: request, delegate: nil)
    |                                                                               `- error: 'nil' requires a contextual type
468 |         if let httpResponse = response as? HTTPURLResponse, !httpResponse.wasSuccessful {
469 |             var userInfo = [String: Any]()
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:476:82: error: type of expression is ambiguous without a type annotation
474 |         }
475 |         let decoded = try decoder.decode(T.self, from: data)
476 |         let linkHeader = (response as? HTTPURLResponse)?.allHeaderFields["Link"] as? String
    |                                                                                  `- error: type of expression is ambiguous without a type annotation
477 |         return PaginatedResponse(values: decoded, pageInfo: PageInfo(linkHeader: linkHeader))
478 |     }
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:31: error: cannot find 'DispatchQueue' in scope
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                               `- error: cannot find 'DispatchQueue' in scope
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:94: error: cannot infer contextual base in reference to member 'concurrent'
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                                                                                              `- error: cannot infer contextual base in reference to member 'concurrent'
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:142:51: error: cannot find type 'Process' in scope
140 |                           with arguments: [String],
141 |                           environmentVariables: [String: String],
142 |                           outputFile: String?) -> Process
    |                                                   `- error: cannot find type 'Process' in scope
143 |     {
144 |         let scriptOutputFile: String
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:105:21: error: cannot find 'DispatchGroup' in scope
103 |         try task.run()
104 |
105 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
106 |
107 |         var stdoutString: String!
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:110:47: error: cannot infer contextual base in reference to member 'userInitiated'
108 |         var stderrData: Data!
109 |
110 |         outputQueue.async(group: group, qos: .userInitiated) {
    |                                               `- error: cannot infer contextual base in reference to member 'userInitiated'
111 |             // Pull out the STDOUT as a string because we'll need that regardless
112 |             let stdoutData = stdout.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:116:47: error: cannot infer contextual base in reference to member 'userInitiated'
114 |         }
115 |
116 |         outputQueue.async(group: group, qos: .userInitiated) {
    |                                               `- error: cannot infer contextual base in reference to member 'userInitiated'
117 |             // Read from STDERR to ensure the `Pipe` does not fill up
118 |             stderrData = stderr.fileHandleForReading.readDataToEndOfFile()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/DangerSwiftKantokuTests/Resources/Test_Warnings.json
    /host/spi-builder-workspace/Tests/DangerSwiftKantokuTests/Resources/Test_Perfect.json
    /host/spi-builder-workspace/Tests/DangerSwiftKantokuTests/Resources/Test_Errors.json
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/80] Compiling DangerShellExecutor ShellExecutor.swift
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:31: error: cannot find 'DispatchQueue' in scope
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                               `- error: cannot find 'DispatchQueue' in scope
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:94: error: cannot infer contextual base in reference to member 'concurrent'
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                                                                                              `- error: cannot infer contextual base in reference to member 'concurrent'
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:142:51: error: cannot find type 'Process' in scope
140 |                           with arguments: [String],
141 |                           environmentVariables: [String: String],
142 |                           outputFile: String?) -> Process
    |                                                   `- error: cannot find type 'Process' in scope
143 |     {
144 |         let scriptOutputFile: String
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:105:21: error: cannot find 'DispatchGroup' in scope
103 |         try task.run()
104 |
105 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
106 |
107 |         var stdoutString: String!
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:110:47: error: cannot infer contextual base in reference to member 'userInitiated'
108 |         var stderrData: Data!
109 |
110 |         outputQueue.async(group: group, qos: .userInitiated) {
    |                                               `- error: cannot infer contextual base in reference to member 'userInitiated'
111 |             // Pull out the STDOUT as a string because we'll need that regardless
112 |             let stdoutData = stdout.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:116:47: error: cannot infer contextual base in reference to member 'userInitiated'
114 |         }
115 |
116 |         outputQueue.async(group: group, qos: .userInitiated) {
    |                                               `- error: cannot infer contextual base in reference to member 'userInitiated'
117 |             // Read from STDERR to ensure the `Pipe` does not fill up
118 |             stderrData = stderr.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:154:20: error: cannot find 'Process' in scope
152 |         let script = "\(command) \(arguments.joined(separator: " "))" + scriptOutputFile
153 |
154 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
155 |         task.executableURL = URL(fileURLWithPath: "/bin/sh")
156 |         task.arguments = ["-c", script]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/80] Emitting module DangerShellExecutor
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:31: error: cannot find 'DispatchQueue' in scope
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                               `- error: cannot find 'DispatchQueue' in scope
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:94: error: cannot infer contextual base in reference to member 'concurrent'
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                                                                                              `- error: cannot infer contextual base in reference to member 'concurrent'
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:142:51: error: cannot find type 'Process' in scope
140 |                           with arguments: [String],
141 |                           environmentVariables: [String: String],
142 |                           outputFile: String?) -> Process
    |                                                   `- error: cannot find type 'Process' in scope
143 |     {
144 |         let scriptOutputFile: String
[4/80] Emitting module Logger
[5/80] Compiling RequestKit RequestKitSession.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: error: cannot find type 'URLRequest' in scope
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:50: error: cannot find type 'URLSessionTaskDelegate' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                              `- error: cannot find type 'URLRequest' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:73: error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:121: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     #endif
17 | }
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/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:23:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
21 | }
22 |
23 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
24 |
25 | extension URLSession: RequestKitURLSession {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
24 |
25 | extension URLSession: RequestKitURLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
27 |         return dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:26:40: error: cannot find type 'URLRequest' in scope
24 |
25 | extension URLSession: RequestKitURLSession {
26 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
   |                                        `- error: cannot find type 'URLRequest' in scope
27 |         return dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask
28 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:30:42: error: cannot find type 'URLRequest' in scope
28 |     }
29 |
30 |     public func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol {
   |                                          `- error: cannot find type 'URLRequest' in scope
31 |         return uploadTask(with: request, from: bodyData, completionHandler: completionHandler)
32 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:65:80: error: cannot find type 'URLRequest' in scope
 63 |
 64 |     func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
 65 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
    |                                                                                `- error: cannot find type 'URLRequest' in scope
 66 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 67 |     func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: error: cannot find type 'URLRequest' in scope
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
BUILD FAILURE 6.1 wasm