The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DangerSwiftEda, reference main (020920), with Swift 6.1 for Wasm on 9 Jul 2026 03:32:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.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-eda.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-eda
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 020920e Merge pull request #34 from yumemi-inc/ci/renovate/actions-checkout-7.x
Cloned https://github.com/yumemi-inc/danger-swift-eda.git
Revision (git rev-parse @):
020920e2de24778eedf007b3b0b247502ea7cdd2
SUCCESS checkout https://github.com/yumemi-inc/danger-swift-eda.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yumemi-inc/danger-swift-eda.git
https://github.com/yumemi-inc/danger-swift-eda.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.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/el-hoshino/DangerSwiftHammer
Fetching https://github.com/danger/swift.git
Fetching https://github.com/yumemi-inc/danger-swift-shoki/
[1/266] Fetching danger-swift-shoki
Fetched https://github.com/yumemi-inc/danger-swift-shoki/ from cache (0.35s)
[1/212] Fetching dangerswifthammer
[213/10574] Fetching dangerswifthammer, swift
Fetched https://github.com/el-hoshino/DangerSwiftHammer from cache (0.51s)
Fetched https://github.com/danger/swift.git from cache (0.51s)
Computing version for https://github.com/yumemi-inc/danger-swift-shoki/
Computed https://github.com/yumemi-inc/danger-swift-shoki/ at 0.3.0 (0.78s)
Computing version for https://github.com/el-hoshino/DangerSwiftHammer
Computed https://github.com/el-hoshino/DangerSwiftHammer at 0.2.2 (0.26s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.22.1 (0.26s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/mxcl/Version
[1/5279] Fetching octokit.swift
[5280/5395] Fetching octokit.swift, logger
Fetched https://github.com/shibapm/Logger from cache (0.57s)
[1/311] Fetching version
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.57s)
Fetched https://github.com/mxcl/Version from cache (0.67s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.90s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1685] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.42s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.4.0 (0.67s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.1 (0.25s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.94s)
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/yumemi-inc/danger-swift-shoki/
Working copy of https://github.com/yumemi-inc/danger-swift-shoki/ resolved at 0.3.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/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.22.1
Creating working copy for https://github.com/el-hoshino/DangerSwiftHammer
Working copy of https://github.com/el-hoshino/DangerSwiftHammer resolved at 0.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/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.4.0
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/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/26] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/26] 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
[12/26] 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]
[13/26] Compiling Logger Logger.swift
[14/26] Emitting module Logger
[15/27] Compiling RequestKit Pagination.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 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.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: '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/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] 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
[3/18] 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)
[4/18] 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
[5/18] Emitting module Logger
/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] {
BUILD FAILURE 6.1 wasm