This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.24.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/NetworkRequest.git
Reference: 0.1.0
Cloned https://github.com/yonaskolb/NetworkRequest.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/yonaskolb/NetworkRequest.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/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 {}
^         ~~~~~~~~~~~~~~~~~~
[2/10] Compiling NetworkRequest EncodableRequest.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] 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/10] 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 {}
^         ~~~~~~~~~~~~~~~~~~
[5/10] 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) {
                                                                                    ^~~~~~~~~~
[6/10] 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) {
                                                                                    ^~~~~~~~~~
[7/10] Compiling NetworkRequest DecodableRequest.swift
[8/10] 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/10] 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 {
                                   ^~~~~~~~~~
[10/10] 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.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.