The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RKAPIService with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TheRakiburKhan/RKAPIService.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/TheRakiburKhan/RKAPIService
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 13c1b2f JSON decoder patch
Cloned https://github.com/TheRakiburKhan/RKAPIService.git
Revision (git rev-parse @):
13c1b2fdd47265e29699c1e831954ed8125b23f1
SUCCESS checkout https://github.com/TheRakiburKhan/RKAPIService.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/TheRakiburKhan/RKAPIService.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling RKAPIUtility HTTPMethod.swift
[6/13] Compiling RKAPIUtility UploadAttachment.swift
[7/13] Compiling RKAPIUtility HTTPStatusCode.swift
[8/13] Compiling RKAPIUtility NetworkResult.swift
[9/13] Compiling RKAPIUtility RKAPIHelper.swift
[10/13] Compiling RKAPIUtility AttachedFile.swift
[11/13] Emitting module RKAPIUtility
[12/13] Compiling RKAPIUtility HTTPHeader.swift
[13/13] Compiling RKAPIUtility Attachment.swift
[15/18] Compiling RKAPIService RKAPIService.swift
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:87: error: cannot find type 'URLSessionDelegate' in scope
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:12:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:13:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var config: URLSessionConfiguration
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:14:27: error: cannot find type 'URLSessionDelegate' in scope
    private var delegate: URLSessionDelegate?
                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:66: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                ~^~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:114: error: cannot find type 'URLSessionDelegate' in scope
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                                                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:72: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:43: error: cannot find type 'URLRequest' in scope
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:45: error: cannot find type 'URLRequest' in scope
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:29:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: queue)
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:36:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
        session.invalidateAndCancel()
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:52:27: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var actualConfig: URLSessionConfiguration = self.config
                          ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:53:29: error: cannot find type 'URLSessionDelegate' in scope
        var actualDelegate: URLSessionDelegate? = self.delegate
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:68:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let newSession = URLSession(configuration: actualConfig, delegate: actualDelegate, delegateQueue: actualQueue)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:76:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            session.dataTask(with: request) { data, response, error in
            ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:82:67: error: value of type '_' expected to be instance of class or class-constrained type
                        continuation.resume(with: .success((data, response)))
                                                                  ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:92:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
            session.uploadTask(with: request, from: data) { data, response, error in
            ~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:98:67: error: value of type '_' expected to be instance of class or class-constrained type
                        continuation.resume(with: .success((data, response)))
                                                                  ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/18] Emitting module RKAPIService
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:23:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest) async throws -> NetworkResult<Data> {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:57:88: error: cannot find type 'URLRequest' in scope
    func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:94:143: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data? = nil, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:136:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest) async throws -> NetworkResult<Data> {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:154:34: error: cannot find type 'URLRequest' in scope
                    cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:176:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:202:44: error: cannot find type 'URLRequest' in scope
    func fetchItems<D: Decodable>(request: URLRequest, _ model: D.Type, decoder: JSONDecoder = .init()) async throws -> Result<NetworkResult<D>, Error> {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:240:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:265:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:292:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:328:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:354:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:382:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:414:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:454:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:492:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:533:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:27:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:56:95: error: cannot find type 'URLRequest' in scope
    public func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:91:137: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:137:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:152:84: error: cannot find type 'URLRequest' in scope
    func fetchItems(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:173:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:214:133: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethod(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:239:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:277:67: error: cannot find type 'URLRequest' in scope
                                                     cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:305:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:330:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:358:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:391:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:431:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:467:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:507:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:87: error: cannot find type 'URLSessionDelegate' in scope
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:12:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:13:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var config: URLSessionConfiguration
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:14:27: error: cannot find type 'URLSessionDelegate' in scope
    private var delegate: URLSessionDelegate?
                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:66: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                ~^~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:114: error: cannot find type 'URLSessionDelegate' in scope
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                                                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:72: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:43: error: cannot find type 'URLRequest' in scope
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:45: error: cannot find type 'URLRequest' in scope
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[17/18] Compiling RKAPIService RKAPIService+completion.swift
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:27:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:56:95: error: cannot find type 'URLRequest' in scope
    public func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:91:137: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:137:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:152:84: error: cannot find type 'URLRequest' in scope
    func fetchItems(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:173:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:214:133: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethod(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:239:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:277:67: error: cannot find type 'URLRequest' in scope
                                                     cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:305:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:330:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:358:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:391:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:431:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:467:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:507:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request) { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:38:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let status = HTTPStatusCode(rawValue: response.statusCode)
                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:63:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:23:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest) async throws -> NetworkResult<Data> {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:98:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:57:88: error: cannot find type 'URLRequest' in scope
    func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:94:143: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data? = nil, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:265:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:240:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:354:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:292:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:328:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:382:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:492:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:454:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:533:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:414:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                             ^~~~~~~~~~
[18/18] Compiling RKAPIService RKAPIService+async.swift
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:23:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest) async throws -> NetworkResult<Data> {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:57:88: error: cannot find type 'URLRequest' in scope
    func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:94:143: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data? = nil, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:136:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest) async throws -> NetworkResult<Data> {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:154:34: error: cannot find type 'URLRequest' in scope
                    cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:176:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:202:44: error: cannot find type 'URLRequest' in scope
    func fetchItems<D: Decodable>(request: URLRequest, _ model: D.Type, decoder: JSONDecoder = .init()) async throws -> Result<NetworkResult<D>, Error> {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:240:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:265:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:292:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:328:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:354:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:382:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:414:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:454:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:492:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:533:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:25:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var rawResponse: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:28:56: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            (rawData, rawResponse) = try await session.data(for: request)
                                               ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:43: error: cannot find type 'URLRequest' in scope
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:34:42: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = rawResponse as? HTTPURLResponse else {
                             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:34:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = rawResponse as? HTTPURLResponse else {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:39:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        let status = HTTPStatusCode(rawValue: response.statusCode)
                                              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:62:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:27:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:99:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:56:95: error: cannot find type 'URLRequest' in scope
    public func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:91:137: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:277:67: error: cannot find type 'URLRequest' in scope
                                                     cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:214:133: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethod(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:330:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:239:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:305:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:358:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:467:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:431:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:507:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:391:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling RKAPIService RKAPIService.swift
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:87: error: cannot find type 'URLSessionDelegate' in scope
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:12:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:13:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var config: URLSessionConfiguration
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:14:27: error: cannot find type 'URLSessionDelegate' in scope
    private var delegate: URLSessionDelegate?
                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:66: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                ~^~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:114: error: cannot find type 'URLSessionDelegate' in scope
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                                                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:72: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:43: error: cannot find type 'URLRequest' in scope
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:45: error: cannot find type 'URLRequest' in scope
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:29:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: queue)
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:36:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
        session.invalidateAndCancel()
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:52:27: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var actualConfig: URLSessionConfiguration = self.config
                          ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:53:29: error: cannot find type 'URLSessionDelegate' in scope
        var actualDelegate: URLSessionDelegate? = self.delegate
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:68:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let newSession = URLSession(configuration: actualConfig, delegate: actualDelegate, delegateQueue: actualQueue)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:76:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            session.dataTask(with: request) { data, response, error in
            ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:82:67: error: value of type '_' expected to be instance of class or class-constrained type
                        continuation.resume(with: .success((data, response)))
                                                                  ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:92:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
            session.uploadTask(with: request, from: data) { data, response, error in
            ~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:98:67: error: value of type '_' expected to be instance of class or class-constrained type
                        continuation.resume(with: .success((data, response)))
                                                                  ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module RKAPIService
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:23:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest) async throws -> NetworkResult<Data> {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:57:88: error: cannot find type 'URLRequest' in scope
    func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:94:143: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data? = nil, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:136:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest) async throws -> NetworkResult<Data> {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:154:34: error: cannot find type 'URLRequest' in scope
                    cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:176:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:202:44: error: cannot find type 'URLRequest' in scope
    func fetchItems<D: Decodable>(request: URLRequest, _ model: D.Type, decoder: JSONDecoder = .init()) async throws -> Result<NetworkResult<D>, Error> {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:240:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:265:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:292:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:328:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:354:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:382:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:414:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:454:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:492:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:533:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:27:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:56:95: error: cannot find type 'URLRequest' in scope
    public func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:91:137: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:137:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:152:84: error: cannot find type 'URLRequest' in scope
    func fetchItems(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:173:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:214:133: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethod(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:239:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:277:67: error: cannot find type 'URLRequest' in scope
                                                     cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:305:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:330:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:358:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:391:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:431:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:467:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:507:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:87: error: cannot find type 'URLSessionDelegate' in scope
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:12:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:13:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var config: URLSessionConfiguration
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:14:27: error: cannot find type 'URLSessionDelegate' in scope
    private var delegate: URLSessionDelegate?
                          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:25:66: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
    public init(sessionConfiguration: URLSessionConfiguration = .ephemeral, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                ~^~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:114: error: cannot find type 'URLSessionDelegate' in scope
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                                                                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:49:72: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func invalidateAndReinitializeSession(sessionConfiguration: URLSessionConfiguration? = nil, delegate: URLSessionDelegate? = nil, queue: OperationQueue? = nil) {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:43: error: cannot find type 'URLRequest' in scope
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:45: error: cannot find type 'URLRequest' in scope
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:90:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func legacyUploadTask(request: URLRequest, data: Data) async throws -> (Data, URLResponse) {
                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[4/5] Compiling RKAPIService RKAPIService+completion.swift
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:27:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:56:95: error: cannot find type 'URLRequest' in scope
    public func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:91:137: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:137:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:152:84: error: cannot find type 'URLRequest' in scope
    func fetchItems(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:173:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:214:133: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethod(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:239:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:277:67: error: cannot find type 'URLRequest' in scope
                                                     cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:305:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:330:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:358:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:391:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:431:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:467:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:507:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request) { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:38:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                let status = HTTPStatusCode(rawValue: response.statusCode)
                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:63:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:23:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest) async throws -> NetworkResult<Data> {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:98:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:57:88: error: cannot find type 'URLRequest' in scope
    func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:94:143: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data? = nil, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:265:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:240:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:354:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:292:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:328:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:382:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:492:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:454:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:533:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:414:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                             ^~~~~~~~~~
[5/5] Compiling RKAPIService RKAPIService+async.swift
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:23:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest) async throws -> NetworkResult<Data> {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:57:88: error: cannot find type 'URLRequest' in scope
    func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:94:143: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data? = nil, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil) async throws -> NetworkResult<Data> {
                                                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:136:30: error: cannot find type 'URLRequest' in scope
    func fetchItems(request: URLRequest) async throws -> NetworkResult<Data> {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:154:34: error: cannot find type 'URLRequest' in scope
                    cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:176:48: error: cannot find type 'URLRequest' in scope
                                  cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:202:44: error: cannot find type 'URLRequest' in scope
    func fetchItems<D: Decodable>(request: URLRequest, _ model: D.Type, decoder: JSONDecoder = .init()) async throws -> Result<NetworkResult<D>, Error> {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:240:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:265:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:292:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:328:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:354:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data> {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:382:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error> {
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:414:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:454:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:492:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async throws -> NetworkResult<Data>{
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:533:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) async -> Result<NetworkResult<D>, Error>{
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:25:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var rawResponse: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:28:56: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            (rawData, rawResponse) = try await session.data(for: request)
                                               ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService.swift:74:43: error: cannot find type 'URLRequest' in scope
    internal func legacyDataTask(request: URLRequest) async throws -> (Data, URLResponse) {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:34:42: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = rawResponse as? HTTPURLResponse else {
                             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:34:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = rawResponse as? HTTPURLResponse else {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:39:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        let status = HTTPStatusCode(rawValue: response.statusCode)
                                              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:62:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:27:41: error: cannot find type 'URLRequest' in scope
    func fetchItemsWithRequest(request: URLRequest, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void) {
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+async.swift:99:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:56:95: error: cannot find type 'URLRequest' in scope
    public func fetchItemsBase(urlLink: URL?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy? = nil, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:91:137: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethodBase(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:277:67: error: cannot find type 'URLRequest' in scope
                                                     cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:214:133: error: cannot find type 'URLRequest' in scope
    func fetchItemsByHTTPMethod(urlLink: URL?, httpMethod: HTTPMethod, body: Data?, additionalHeader: [Header]? = nil, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, _ completion: @escaping (Result<NetworkResult<Data>, Error>)-> Void ){
                                                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:330:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:239:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:305:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:358:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:467:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:431:60: error: cannot find type 'URLRequest' in scope
                                              cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:507:74: error: cannot find type 'URLRequest' in scope
                                                            cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/RKAPIService/RKAPIService+completion.swift:391:46: error: cannot find type 'URLRequest' in scope
                                cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
                                             ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1