The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-networking, reference main (f56326), with Swift 6.3 for Linux on 18 Apr 2026 01:38:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telemtobi/swift-networking.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/telemtobi/swift-networking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f563269 Adjust retry backoff duration logic (#19)
Cloned https://github.com/telemtobi/swift-networking.git
Revision (git rev-parse @):
f563269a6bbd9135fc67f4b66f3bfcbb5d0be28e
SUCCESS checkout https://github.com/telemtobi/swift-networking.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/telemtobi/swift-networking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
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/20] Emitting module Networking
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:54: error: cannot find type 'URLRequest' in scope
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:21:37: error: cannot find type 'URLRequest' in scope
19 |     ///
20 |     /// - Parameter request: The URLRequest that will be modified.
21 |     func intercept(_ request: inout URLRequest)
   |                                     `- error: cannot find type 'URLRequest' in scope
22 |
23 |     /// Allows the interceptor to process or modify the response data before decoding.
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:156: error: cannot find type 'URLSessionDelegate' in scope
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: value of type '_' expected to be instance of class or class-constrained type
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: value of type '_' expected to be instance of class or class-constrained type
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:18: error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                  `- error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     /// Initializes a `URLRequest` from an `Endpoint` instance.
/host/spi-builder-workspace/Sources/Networking/Extensions/URLResponse+Networking.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 4 |
 5 |     var status: HttpStatus {
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:49:37: error: cannot find type 'URLRequest' in scope
47 |     var authenticationState: AuthenticationState { .reachable }
48 |     func authenticate() async throws -> Bool { true }
49 |     func intercept(_ request: inout URLRequest) {}
   |                                     `- error: cannot find type 'URLRequest' in scope
50 |     func intercept(_ data: inout Data) {}
51 |     func intercept(_ error: DecodableError) {}
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/22] Compiling Networking String+Extension.swift
[5/22] Compiling Networking Task+Extension.swift
[6/22] Compiling Networking AnyEncodable.swift
[7/22] Compiling Networking Error+Extension.swift
[8/22] Compiling Networking NetworkingController+Internal.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:6:34: error: cannot find 'URLRequest' in scope
  4 |     internal func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint, attempt: Int = .zero) async throws(F) -> T {
  5 |         do {
  6 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
  7 |
  8 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:21:37: error: cannot find type 'URLRequest' in scope
19 |     ///
20 |     /// - Parameter request: The URLRequest that will be modified.
21 |     func intercept(_ request: inout URLRequest)
   |                                     `- error: cannot find type 'URLRequest' in scope
22 |
23 |     /// Allows the interceptor to process or modify the response data before decoding.
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:49:37: error: cannot find type 'URLRequest' in scope
47 |     var authenticationState: AuthenticationState { .reachable }
48 |     func authenticate() async throws -> Bool { true }
49 |     func intercept(_ request: inout URLRequest) {}
   |                                     `- error: cannot find type 'URLRequest' in scope
50 |     func intercept(_ data: inout Data) {}
51 |     func intercept(_ error: DecodableError) {}
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:10:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
  8 |             interceptor?.intercept(&urlRequest)
  9 |
 10 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 11 |
 12 |             logRequest(endpoint, urlRequest, response, data, attempt)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:54: error: cannot find type 'URLRequest' in scope
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:16:45: error: cannot infer contextual base in reference to member 'success'
 14 |             interceptor?.intercept(&data)
 15 |
 16 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 17 |                 throw(decodedError(endpoint, data))
 18 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:53:34: error: cannot find 'URLRequest' in scope
 51 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 52 |         do {
 53 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 54 |             interceptor?.intercept(&urlRequest)
 55 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:64:46: error: 'nil' requires a contextual type
 62 |             interceptor?.intercept(&sampleData)
 63 |
 64 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 65 |
 66 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:85:34: error: cannot find 'URLRequest' in scope
 83 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint, attempt: Int = .zero) async throws(F) -> T {
 84 |         do {
 85 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 86 |
 87 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:89:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 87 |             interceptor?.intercept(&urlRequest)
 88 |
 89 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 90 |
 91 |             logRequest(endpoint, urlRequest, response, data, attempt)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:95:45: error: cannot infer contextual base in reference to member 'success'
 93 |             interceptor?.intercept(&data)
 94 |
 95 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 96 |                 throw(decodedError(endpoint, data))
 97 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:125:34: error: cannot find 'URLRequest' in scope
123 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
124 |         do {
125 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
126 |             interceptor?.intercept(&urlRequest)
127 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:134:46: error: 'nil' requires a contextual type
132 |             let sampleData = endpoint.sampleData ?? Data()
133 |
134 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
135 |
136 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:17:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |             }
16 |
17 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
18 |
19 |             print()
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:156: error: cannot find type 'URLSessionDelegate' in scope
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: value of type '_' expected to be instance of class or class-constrained type
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: value of type '_' expected to be instance of class or class-constrained type
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:18: error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                  `- error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:46:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 44 |         self.interceptor = interceptor
 45 |
 46 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |             configuration: configuration,
 48 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:49:28: error: 'nil' requires a contextual type
 47 |             configuration: configuration,
 48 |             delegate: delegate,
 49 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 50 |         )
 51 |     }
[9/22] Compiling Networking NetworkingController+Logging.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:6:34: error: cannot find 'URLRequest' in scope
  4 |     internal func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint, attempt: Int = .zero) async throws(F) -> T {
  5 |         do {
  6 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
  7 |
  8 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:21:37: error: cannot find type 'URLRequest' in scope
19 |     ///
20 |     /// - Parameter request: The URLRequest that will be modified.
21 |     func intercept(_ request: inout URLRequest)
   |                                     `- error: cannot find type 'URLRequest' in scope
22 |
23 |     /// Allows the interceptor to process or modify the response data before decoding.
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:49:37: error: cannot find type 'URLRequest' in scope
47 |     var authenticationState: AuthenticationState { .reachable }
48 |     func authenticate() async throws -> Bool { true }
49 |     func intercept(_ request: inout URLRequest) {}
   |                                     `- error: cannot find type 'URLRequest' in scope
50 |     func intercept(_ data: inout Data) {}
51 |     func intercept(_ error: DecodableError) {}
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:10:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
  8 |             interceptor?.intercept(&urlRequest)
  9 |
 10 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 11 |
 12 |             logRequest(endpoint, urlRequest, response, data, attempt)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:54: error: cannot find type 'URLRequest' in scope
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:16:45: error: cannot infer contextual base in reference to member 'success'
 14 |             interceptor?.intercept(&data)
 15 |
 16 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 17 |                 throw(decodedError(endpoint, data))
 18 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:53:34: error: cannot find 'URLRequest' in scope
 51 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 52 |         do {
 53 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 54 |             interceptor?.intercept(&urlRequest)
 55 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:64:46: error: 'nil' requires a contextual type
 62 |             interceptor?.intercept(&sampleData)
 63 |
 64 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 65 |
 66 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:85:34: error: cannot find 'URLRequest' in scope
 83 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint, attempt: Int = .zero) async throws(F) -> T {
 84 |         do {
 85 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 86 |
 87 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:89:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 87 |             interceptor?.intercept(&urlRequest)
 88 |
 89 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 90 |
 91 |             logRequest(endpoint, urlRequest, response, data, attempt)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:95:45: error: cannot infer contextual base in reference to member 'success'
 93 |             interceptor?.intercept(&data)
 94 |
 95 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 96 |                 throw(decodedError(endpoint, data))
 97 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:125:34: error: cannot find 'URLRequest' in scope
123 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
124 |         do {
125 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
126 |             interceptor?.intercept(&urlRequest)
127 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:134:46: error: 'nil' requires a contextual type
132 |             let sampleData = endpoint.sampleData ?? Data()
133 |
134 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
135 |
136 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:17:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |             }
16 |
17 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
18 |
19 |             print()
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:156: error: cannot find type 'URLSessionDelegate' in scope
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: value of type '_' expected to be instance of class or class-constrained type
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: value of type '_' expected to be instance of class or class-constrained type
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:18: error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                  `- error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:46:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 44 |         self.interceptor = interceptor
 45 |
 46 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |             configuration: configuration,
 48 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:49:28: error: 'nil' requires a contextual type
 47 |             configuration: configuration,
 48 |             delegate: delegate,
 49 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 50 |         )
 51 |     }
[10/22] Compiling Networking NetworkingController.swift
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:6:34: error: cannot find 'URLRequest' in scope
  4 |     internal func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint, attempt: Int = .zero) async throws(F) -> T {
  5 |         do {
  6 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
  7 |
  8 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:21:37: error: cannot find type 'URLRequest' in scope
19 |     ///
20 |     /// - Parameter request: The URLRequest that will be modified.
21 |     func intercept(_ request: inout URLRequest)
   |                                     `- error: cannot find type 'URLRequest' in scope
22 |
23 |     /// Allows the interceptor to process or modify the response data before decoding.
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:49:37: error: cannot find type 'URLRequest' in scope
47 |     var authenticationState: AuthenticationState { .reachable }
48 |     func authenticate() async throws -> Bool { true }
49 |     func intercept(_ request: inout URLRequest) {}
   |                                     `- error: cannot find type 'URLRequest' in scope
50 |     func intercept(_ data: inout Data) {}
51 |     func intercept(_ error: DecodableError) {}
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:10:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
  8 |             interceptor?.intercept(&urlRequest)
  9 |
 10 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 11 |
 12 |             logRequest(endpoint, urlRequest, response, data, attempt)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:54: error: cannot find type 'URLRequest' in scope
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:16:45: error: cannot infer contextual base in reference to member 'success'
 14 |             interceptor?.intercept(&data)
 15 |
 16 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 17 |                 throw(decodedError(endpoint, data))
 18 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:53:34: error: cannot find 'URLRequest' in scope
 51 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 52 |         do {
 53 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 54 |             interceptor?.intercept(&urlRequest)
 55 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:64:46: error: 'nil' requires a contextual type
 62 |             interceptor?.intercept(&sampleData)
 63 |
 64 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 65 |
 66 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:85:34: error: cannot find 'URLRequest' in scope
 83 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint, attempt: Int = .zero) async throws(F) -> T {
 84 |         do {
 85 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 86 |
 87 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:89:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 87 |             interceptor?.intercept(&urlRequest)
 88 |
 89 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 90 |
 91 |             logRequest(endpoint, urlRequest, response, data, attempt)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:95:45: error: cannot infer contextual base in reference to member 'success'
 93 |             interceptor?.intercept(&data)
 94 |
 95 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 96 |                 throw(decodedError(endpoint, data))
 97 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:125:34: error: cannot find 'URLRequest' in scope
123 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
124 |         do {
125 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
126 |             interceptor?.intercept(&urlRequest)
127 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:134:46: error: 'nil' requires a contextual type
132 |             let sampleData = endpoint.sampleData ?? Data()
133 |
134 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
135 |
136 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:4:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | public extension NetworkingController {
 4 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data, _ attempt: Int = .zero) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |         guard endpoint.shouldPrintLogs else { return }
 6 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:17:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |             }
16 |
17 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
18 |
19 |             print()
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:156: error: cannot find type 'URLSessionDelegate' in scope
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:42:137: error: value of type '_' expected to be instance of class or class-constrained type
 40 |     ///     * Process response data
 41 |     ///     * Handle errors
 42 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: value of type '_' expected to be instance of class or class-constrained type
 43 |         self.environment = environment
 44 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:18:18: error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 16 |     public let interceptor: Interceptor?
 17 |
 18 |     internal let urlSession: URLSession
    |                  `- error: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-Sendable type 'AnyObject'
 19 |
 20 |     internal let loggingQueue = DispatchQueue(label: #function)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:46:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 44 |         self.interceptor = interceptor
 45 |
 46 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |             configuration: configuration,
 48 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:49:28: error: 'nil' requires a contextual type
 47 |             configuration: configuration,
 48 |             delegate: delegate,
 49 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 50 |         )
 51 |     }
[11/22] Compiling Networking URL+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     /// Initializes a `URLRequest` from an `Endpoint` instance.
/host/spi-builder-workspace/Sources/Networking/Extensions/URLResponse+Networking.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 4 |
 5 |     var status: HttpStatus {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[12/22] Compiling Networking URLRequest+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     /// Initializes a `URLRequest` from an `Endpoint` instance.
/host/spi-builder-workspace/Sources/Networking/Extensions/URLResponse+Networking.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 4 |
 5 |     var status: HttpStatus {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[13/22] Compiling Networking URLResponse+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     /// Initializes a `URLRequest` from an `Endpoint` instance.
/host/spi-builder-workspace/Sources/Networking/Extensions/URLResponse+Networking.swift:3:8: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
 4 |
 5 |     var status: HttpStatus {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[14/22] Compiling Networking JsonMapper.swift
[15/22] Compiling Networking Networking.swift
[16/22] Compiling Networking DecodableError.swift
[17/22] Compiling Networking Endpoint.swift
[18/22] Compiling Networking Data+Networking.swift
[19/22] Compiling Networking HttpMethod.swift
[20/22] Compiling Networking HttpStatus.swift
[21/22] Compiling Networking HttpTask.swift
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:21:37: error: cannot find type 'URLRequest' in scope
19 |     ///
20 |     /// - Parameter request: The URLRequest that will be modified.
21 |     func intercept(_ request: inout URLRequest)
   |                                     `- error: cannot find type 'URLRequest' in scope
22 |
23 |     /// Allows the interceptor to process or modify the response data before decoding.
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:49:37: error: cannot find type 'URLRequest' in scope
47 |     var authenticationState: AuthenticationState { .reachable }
48 |     func authenticate() async throws -> Bool { true }
49 |     func intercept(_ request: inout URLRequest) {}
   |                                     `- error: cannot find type 'URLRequest' in scope
50 |     func intercept(_ data: inout Data) {}
51 |     func intercept(_ error: DecodableError) {}
[22/22] Compiling Networking Interceptor.swift
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:21:37: error: cannot find type 'URLRequest' in scope
19 |     ///
20 |     /// - Parameter request: The URLRequest that will be modified.
21 |     func intercept(_ request: inout URLRequest)
   |                                     `- error: cannot find type 'URLRequest' in scope
22 |
23 |     /// Allows the interceptor to process or modify the response data before decoding.
/host/spi-builder-workspace/Sources/Networking/Interceptor.swift:49:37: error: cannot find type 'URLRequest' in scope
47 |     var authenticationState: AuthenticationState { .reachable }
48 |     func authenticate() async throws -> Bool { true }
49 |     func intercept(_ request: inout URLRequest) {}
   |                                     `- error: cannot find type 'URLRequest' in scope
50 |     func intercept(_ data: inout Data) {}
51 |     func intercept(_ error: DecodableError) {}
BUILD FAILURE 6.3 linux