The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NetworkRequest 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/yonaskolb/NetworkRequest.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/yonaskolb/NetworkRequest
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at b46f1ea make DecodingError.decodingError public
Cloned https://github.com/yonaskolb/NetworkRequest.git
Revision (git rev-parse @):
b46f1ea66f6e11af2f199098061a38ffc343522c
SUCCESS checkout https://github.com/yonaskolb/NetworkRequest.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/yonaskolb/NetworkRequest.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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Emitting module NetworkRequest
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:9:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:86: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:100: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:6:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(URLError, Data?, HTTPURLResponse?)
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:9:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case apiError(Data, HTTPURLResponse?)
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:16:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?)
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:29:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {}
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:76: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:116: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:82:93: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:45: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:85: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:120:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:141:44: error: cannot find type 'URLRequest' in scope
    public var getURLRequest: () throws -> URLRequest
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
[4/11] Compiling NetworkRequest HTTPNetworkService.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:9:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:86: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:100: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:39:25: error: cannot find type 'URLRequest' in scope
        var urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:57:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var dataTask: URLSessionDataTask?
                      ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:61:26: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
                dataTask.cancel()
                ~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:45: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:85: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                    ^~~~~~~~~~
[5/11] Compiling NetworkRequest MockNetworkService.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:9:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:86: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:100: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:39:25: error: cannot find type 'URLRequest' in scope
        var urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:57:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var dataTask: URLSessionDataTask?
                      ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:61:26: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
                dataTask.cancel()
                ~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:45: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:85: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                    ^~~~~~~~~~
[6/12] Compiling NetworkRequest EncodableRequest.swift
[7/12] Compiling NetworkRequest RequestHandler.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:16:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?)
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:29:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {}
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:76: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:116: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:82:93: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:45: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:85: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:120:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:141:44: error: cannot find type 'URLRequest' in scope
    public var getURLRequest: () throws -> URLRequest
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:26:19: error: cannot infer contextual base in reference to member 'success'
        complete(.success(urlRequest))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:56:23: error: cannot infer contextual base in reference to member 'success'
            complete(.success(urlRequest))
                     ~^~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
[8/12] Compiling NetworkRequest RequestError.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:6:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(URLError, Data?, HTTPURLResponse?)
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:9:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case apiError(Data, HTTPURLResponse?)
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:42:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            var error = "API returned \(response?.statusCode ?? 0)"
                                        ~~~~~~~~~ ^~~~~~~~~~
[9/12] Compiling NetworkRequest NetworkServiceGroup.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
[10/12] Compiling NetworkRequest NetworkService.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
[11/12] Compiling NetworkRequest DecodableRequest.swift
[12/12] Compiling NetworkRequest Request.swift
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:89:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling NetworkRequest NetworkService.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
[3/9] Compiling NetworkRequest NetworkServiceGroup.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
[4/9] Compiling NetworkRequest RequestError.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:6:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(URLError, Data?, HTTPURLResponse?)
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:9:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case apiError(Data, HTTPURLResponse?)
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:42:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            var error = "API returned \(response?.statusCode ?? 0)"
                                        ~~~~~~~~~ ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module NetworkRequest
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:9:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:86: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:100: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:6:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(URLError, Data?, HTTPURLResponse?)
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestError.swift:9:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case apiError(Data, HTTPURLResponse?)
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:16:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?)
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:29:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {}
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:76: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:116: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:82:93: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:45: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:85: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:120:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:141:44: error: cannot find type 'URLRequest' in scope
    public var getURLRequest: () throws -> URLRequest
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
[6/9] Compiling NetworkRequest HTTPNetworkService.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:9:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var urlSession: URLSession
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:86: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:14:100: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(baseURL: String? = nil, headers: [String: String] = [:], urlSession: URLSession = .shared, requestHandlers: [RequestHandler] = []) {
                                                                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:39:25: error: cannot find type 'URLRequest' in scope
        var urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:57:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var dataTask: URLSessionDataTask?
                      ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/HTTPNetworkService.swift:61:26: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
                dataTask.cancel()
                ~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:45: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:85: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                    ^~~~~~~~~~
[7/9] Compiling NetworkRequest MockNetworkService.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/NetworkService.swift:27:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: Cancellable {}
^         ~~~~~~~~~~~~~~~~~~
[8/9] Compiling NetworkRequest RequestHandler.swift
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:10:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void)
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:16:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?)
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:69: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:25:109: error: cannot find type 'URLRequest' in scope
    func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:29:86: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {}
                                                                                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:76: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:54:116: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(id: String, request: AnyRequest, urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:82:93: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(id: String, request: AnyRequest, data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:45: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:116:85: error: cannot find type 'URLRequest' in scope
    public func modifyRequest(_ urlRequest: URLRequest, complete: @escaping (Result<URLRequest, Error>) -> Void) {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:120:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func requestResponded(data: Data?, urlResponse: HTTPURLResponse?, error: Error?) {
                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:141:44: error: cannot find type 'URLRequest' in scope
    public var getURLRequest: () throws -> URLRequest
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:26:19: error: cannot infer contextual base in reference to member 'success'
        complete(.success(urlRequest))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/NetworkService/RequestHandler.swift:56:23: error: cannot infer contextual base in reference to member 'success'
            complete(.success(urlRequest))
                     ~^~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
[9/9] Compiling NetworkRequest Request.swift
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:46:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:71:36: error: cannot find type 'URLRequest' in scope
    func getURLRequest() throws -> URLRequest {
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NetworkRequest/Request/Request.swift:89:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux