The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-networking, reference 1.3.0 (db2cbd), with Swift 6.1 for Wasm on 8 Jun 2025 11:44:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telemtobi/swift-networking.git
Reference: 1.3.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/telemtobi/swift-networking
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at db2cbdb Merge pull request #15 from TelemTobi/interceptor
Cloned https://github.com/telemtobi/swift-networking.git
Revision (git rev-parse @):
db2cbdbf1629154927a51d23945068372ca98e98
SUCCESS checkout https://github.com/telemtobi/swift-networking.git at 1.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/telemtobi/swift-networking.git
https://github.com/telemtobi/swift-networking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-networking",
  "name" : "swift-networking",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Networking",
      "targets" : [
        "Networking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingTests",
      "path" : "Tests/NetworkingTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleBadResponse.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleResponse.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Helpers/TestAuthenticator.swift",
        "Helpers/TestBody.swift",
        "Helpers/TestEndpoint.swift",
        "Helpers/TestError.swift",
        "Helpers/TestResponse.swift",
        "NetworkingControllerTests.swift",
        "URLRequestTests.swift"
      ],
      "target_dependencies" : [
        "Networking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Networking",
      "module_type" : "SwiftTarget",
      "name" : "Networking",
      "path" : "Sources/Networking",
      "product_memberships" : [
        "Networking"
      ],
      "sources" : [
        "Controller/NetworkingController+Internal.swift",
        "Controller/NetworkingController+Logging.swift",
        "Controller/NetworkingController.swift",
        "DecodableError.swift",
        "Endpoint.swift",
        "Extensions/Data+Networking.swift",
        "Extensions/URL+Networking.swift",
        "Extensions/URLRequest+Networking.swift",
        "Extensions/URLResponse+Networking.swift",
        "HttpMethod.swift",
        "HttpStatus.swift",
        "HttpTask.swift",
        "Interceptor.swift",
        "Internal/AnyEncodable.swift",
        "Internal/Error+Extension.swift",
        "Internal/String+Extension.swift",
        "Internal/Task+Extension.swift",
        "JsonMapper.swift",
        "Networking.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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 |     #if DEBUG
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:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 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) {}
[4/22] Compiling Networking JsonMapper.swift
[5/22] Compiling Networking Networking.swift
[6/22] Compiling Networking HttpMethod.swift
[7/22] Compiling Networking HttpStatus.swift
[8/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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     var status: HttpStatus {
[9/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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     var status: HttpStatus {
[10/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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     var status: HttpStatus {
[11/22] Compiling Networking AnyEncodable.swift
[12/22] Compiling Networking Error+Extension.swift
[13/22] Compiling Networking String+Extension.swift
[14/22] Compiling Networking Task+Extension.swift
[15/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) {}
[16/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) {}
[17/22] Compiling Networking DecodableError.swift
[18/22] Compiling Networking Endpoint.swift
[19/22] Compiling Networking Data+Networking.swift
[20/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) 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 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:18:45: error: cannot infer contextual base in reference to member 'success'
 16 |             interceptor?.intercept(&data)
 17 |
 18 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 19 |                 throw(decodedError(endpoint, data))
 20 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:51:34: error: cannot find 'URLRequest' in scope
 49 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 50 |         do {
 51 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 52 |             interceptor?.intercept(&urlRequest)
 53 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:62:46: error: 'nil' requires a contextual type
 60 |             interceptor?.intercept(&sampleData)
 61 |
 62 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 63 |
 64 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:83:34: error: cannot find 'URLRequest' in scope
 81 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 82 |         do {
 83 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 84 |
 85 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:87:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |             interceptor?.intercept(&urlRequest)
 86 |
 87 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |             #if DEBUG
/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:121:34: error: cannot find 'URLRequest' in scope
119 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
120 |         do {
121 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
122 |             interceptor?.intercept(&urlRequest)
123 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:130:46: error: 'nil' requires a contextual type
128 |             let sampleData = endpoint.sampleData ?? Data()
129 |
130 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
131 |
132 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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.swift:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
12 |             endpointName.append(response == nil ? " (Mock)" : "")
13 |
14 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |
16 |             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 |     #if DEBUG
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:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:48:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |         self.interceptor = interceptor
 47 |
 48 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 49 |             configuration: configuration,
 50 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:51:28: error: 'nil' requires a contextual type
 49 |             configuration: configuration,
 50 |             delegate: delegate,
 51 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 52 |         )
 53 |     }
[21/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) 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 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:18:45: error: cannot infer contextual base in reference to member 'success'
 16 |             interceptor?.intercept(&data)
 17 |
 18 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 19 |                 throw(decodedError(endpoint, data))
 20 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:51:34: error: cannot find 'URLRequest' in scope
 49 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 50 |         do {
 51 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 52 |             interceptor?.intercept(&urlRequest)
 53 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:62:46: error: 'nil' requires a contextual type
 60 |             interceptor?.intercept(&sampleData)
 61 |
 62 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 63 |
 64 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:83:34: error: cannot find 'URLRequest' in scope
 81 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 82 |         do {
 83 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 84 |
 85 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:87:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |             interceptor?.intercept(&urlRequest)
 86 |
 87 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |             #if DEBUG
/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:121:34: error: cannot find 'URLRequest' in scope
119 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
120 |         do {
121 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
122 |             interceptor?.intercept(&urlRequest)
123 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:130:46: error: 'nil' requires a contextual type
128 |             let sampleData = endpoint.sampleData ?? Data()
129 |
130 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
131 |
132 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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.swift:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
12 |             endpointName.append(response == nil ? " (Mock)" : "")
13 |
14 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |
16 |             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 |     #if DEBUG
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:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:48:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |         self.interceptor = interceptor
 47 |
 48 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 49 |             configuration: configuration,
 50 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:51:28: error: 'nil' requires a contextual type
 49 |             configuration: configuration,
 50 |             delegate: delegate,
 51 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 52 |         )
 53 |     }
[22/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) 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 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:18:45: error: cannot infer contextual base in reference to member 'success'
 16 |             interceptor?.intercept(&data)
 17 |
 18 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 19 |                 throw(decodedError(endpoint, data))
 20 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:51:34: error: cannot find 'URLRequest' in scope
 49 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 50 |         do {
 51 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 52 |             interceptor?.intercept(&urlRequest)
 53 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:62:46: error: 'nil' requires a contextual type
 60 |             interceptor?.intercept(&sampleData)
 61 |
 62 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 63 |
 64 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:83:34: error: cannot find 'URLRequest' in scope
 81 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 82 |         do {
 83 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 84 |
 85 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:87:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |             interceptor?.intercept(&urlRequest)
 86 |
 87 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |             #if DEBUG
/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:121:34: error: cannot find 'URLRequest' in scope
119 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
120 |         do {
121 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
122 |             interceptor?.intercept(&urlRequest)
123 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:130:46: error: 'nil' requires a contextual type
128 |             let sampleData = endpoint.sampleData ?? Data()
129 |
130 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
131 |
132 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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.swift:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
12 |             endpointName.append(response == nil ? " (Mock)" : "")
13 |
14 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |
16 |             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 |     #if DEBUG
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:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:48:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |         self.interceptor = interceptor
 47 |
 48 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 49 |             configuration: configuration,
 50 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:51:28: error: 'nil' requires a contextual type
 49 |             configuration: configuration,
 50 |             delegate: delegate,
 51 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 52 |         )
 53 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] 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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     var status: HttpStatus {
[3/19] 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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     var status: HttpStatus {
[4/19] 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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 |
 5 |     var status: HttpStatus {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/21] Emitting module Networking
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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 |     #if DEBUG
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:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/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
 1 | import Foundation
 2 |
 3 | public extension URLResponse {
   |        `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 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) {}
[6/21] 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) 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 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:18:45: error: cannot infer contextual base in reference to member 'success'
 16 |             interceptor?.intercept(&data)
 17 |
 18 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 19 |                 throw(decodedError(endpoint, data))
 20 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:51:34: error: cannot find 'URLRequest' in scope
 49 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 50 |         do {
 51 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 52 |             interceptor?.intercept(&urlRequest)
 53 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:62:46: error: 'nil' requires a contextual type
 60 |             interceptor?.intercept(&sampleData)
 61 |
 62 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 63 |
 64 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:83:34: error: cannot find 'URLRequest' in scope
 81 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 82 |         do {
 83 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 84 |
 85 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:87:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |             interceptor?.intercept(&urlRequest)
 86 |
 87 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |             #if DEBUG
/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:121:34: error: cannot find 'URLRequest' in scope
119 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
120 |         do {
121 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
122 |             interceptor?.intercept(&urlRequest)
123 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:130:46: error: 'nil' requires a contextual type
128 |             let sampleData = endpoint.sampleData ?? Data()
129 |
130 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
131 |
132 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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.swift:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
12 |             endpointName.append(response == nil ? " (Mock)" : "")
13 |
14 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |
16 |             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 |     #if DEBUG
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:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:48:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |         self.interceptor = interceptor
 47 |
 48 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 49 |             configuration: configuration,
 50 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:51:28: error: 'nil' requires a contextual type
 49 |             configuration: configuration,
 50 |             delegate: delegate,
 51 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 52 |         )
 53 |     }
[7/21] 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) 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 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:18:45: error: cannot infer contextual base in reference to member 'success'
 16 |             interceptor?.intercept(&data)
 17 |
 18 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 19 |                 throw(decodedError(endpoint, data))
 20 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:51:34: error: cannot find 'URLRequest' in scope
 49 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 50 |         do {
 51 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 52 |             interceptor?.intercept(&urlRequest)
 53 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:62:46: error: 'nil' requires a contextual type
 60 |             interceptor?.intercept(&sampleData)
 61 |
 62 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 63 |
 64 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:83:34: error: cannot find 'URLRequest' in scope
 81 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 82 |         do {
 83 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 84 |
 85 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:87:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |             interceptor?.intercept(&urlRequest)
 86 |
 87 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |             #if DEBUG
/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:121:34: error: cannot find 'URLRequest' in scope
119 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
120 |         do {
121 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
122 |             interceptor?.intercept(&urlRequest)
123 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:130:46: error: 'nil' requires a contextual type
128 |             let sampleData = endpoint.sampleData ?? Data()
129 |
130 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
131 |
132 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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.swift:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
12 |             endpointName.append(response == nil ? " (Mock)" : "")
13 |
14 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |
16 |             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 |     #if DEBUG
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:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:48:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |         self.interceptor = interceptor
 47 |
 48 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 49 |             configuration: configuration,
 50 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:51:28: error: 'nil' requires a contextual type
 49 |             configuration: configuration,
 50 |             delegate: delegate,
 51 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 52 |         )
 53 |     }
[8/21] 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) 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 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:54: error: cannot find type 'URLRequest' in scope
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:18:45: error: cannot infer contextual base in reference to member 'success'
 16 |             interceptor?.intercept(&data)
 17 |
 18 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
 19 |                 throw(decodedError(endpoint, data))
 20 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:51:34: error: cannot find 'URLRequest' in scope
 49 |     internal func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
 50 |         do {
 51 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 52 |             interceptor?.intercept(&urlRequest)
 53 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:62:46: error: 'nil' requires a contextual type
 60 |             interceptor?.intercept(&sampleData)
 61 |
 62 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
 63 |
 64 |             let model = try (sampleData).decode(
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:83:34: error: cannot find 'URLRequest' in scope
 81 |     internal func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 82 |         do {
 83 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 84 |
 85 |             interceptor?.intercept(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:87:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 85 |             interceptor?.intercept(&urlRequest)
 86 |
 87 |             var (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |
 89 |             #if DEBUG
/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:121:34: error: cannot find 'URLRequest' in scope
119 |     internal func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
120 |         do {
121 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
122 |             interceptor?.intercept(&urlRequest)
123 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Internal.swift:130:46: error: 'nil' requires a contextual type
128 |             let sampleData = endpoint.sampleData ?? Data()
129 |
130 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
131 |
132 |             let model = try T
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:6:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     #if DEBUG
 6 |     func logRequest(_ endpoint: Endpoint, _ request: URLRequest, _ response: URLResponse?, _ data: Data) {
   |                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         guard endpoint.shouldPrintLogs else { return }
 8 |
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.swift:21:33: error: cannot find 'DispatchQueue' in scope
 19 |
 20 |     #if DEBUG
 21 |     internal let loggingQueue = DispatchQueue(label: #function)
    |                                 `- error: cannot find 'DispatchQueue' in scope
 22 |     #endif
 23 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Logging.swift:14:40: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
12 |             endpointName.append(response == nil ? " (Mock)" : "")
13 |
14 |             let statusCode = response?.status ?? .ok
   |                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'status'
15 |
16 |             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 |     #if DEBUG
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:44:156: error: cannot find type 'URLSessionDelegate' in scope
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                            `- error: cannot find type 'URLSessionDelegate' in scope
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:44:110: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     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.
 45 |         self.environment = environment
 46 |         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:44:137: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     ///     * Process response data
 43 |     ///     * Handle errors
 44 |     public init(environment: Networking.Environment = .live, interceptor: Interceptor? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         self.environment = environment
 46 |         self.interceptor = interceptor
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:48:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |         self.interceptor = interceptor
 47 |
 48 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 49 |             configuration: configuration,
 50 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:51:28: error: 'nil' requires a contextual type
 49 |             configuration: configuration,
 50 |             delegate: delegate,
 51 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 52 |         )
 53 |     }
[9/21] Compiling Networking String+Extension.swift
[10/21] Compiling Networking Task+Extension.swift
[11/21] Compiling Networking AnyEncodable.swift
[12/21] Compiling Networking Error+Extension.swift
[13/21] Compiling Networking DecodableError.swift
[14/21] Compiling Networking Endpoint.swift
[15/21] Compiling Networking Data+Networking.swift
[16/21] Compiling Networking HttpMethod.swift
[17/21] Compiling Networking HttpStatus.swift
[18/21] 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) {}
[19/21] 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) {}
[20/21] Compiling Networking JsonMapper.swift
[21/21] Compiling Networking Networking.swift
BUILD FAILURE 6.1 wasm