The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build swift-networking, reference main (699c4f), with Swift 6.0 for Linux on 29 Jan 2025 09:17:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telemtobi/swift-networking.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/telemtobi/swift-networking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 699c4fe Merge pull request #14 from TelemTobi/patch/sendable_issue
Cloned https://github.com/telemtobi/swift-networking.git
Revision (git rev-parse @):
699c4fe5c8c4b09b2bf9a7b6ef7e2596950b3018
SUCCESS checkout https://github.com/telemtobi/swift-networking.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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" : [
        "Authenticator.swift",
        "Controller/NetworkingController+Logging.swift",
        "Controller/NetworkingController+Mapping.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",
        "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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/20] Compiling Networking HttpStatus.swift
[4/20] Compiling Networking HttpTask.swift
[5/22] Compiling Networking Authenticator.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/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+Mapping.swift:97:34: error: cannot find 'URLRequest' in scope
 95 |     private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 96 |         do {
 97 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 98 |
 99 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:101:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 99 |             authenticator?.mapRequest(&urlRequest)
100 |
101 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
102 |
103 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:107:45: error: cannot infer contextual base in reference to member 'success'
105 |             #endif
106 |
107 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
108 |                 throw(decodedError(endpoint, data))
109 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:130:34: error: cannot find 'URLRequest' in scope
128 |     private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
129 |         do {
130 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
131 |             authenticator?.mapRequest(&urlRequest)
132 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:139:46: error: 'nil' requires a contextual type
137 |             let sampleData = endpoint.sampleData ?? Data()
138 |
139 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
140 |
141 |             let model = try T
[6/22] Compiling Networking NetworkingController+Logging.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/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+Mapping.swift:97:34: error: cannot find 'URLRequest' in scope
 95 |     private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 96 |         do {
 97 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 98 |
 99 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:101:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 99 |             authenticator?.mapRequest(&urlRequest)
100 |
101 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
102 |
103 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:107:45: error: cannot infer contextual base in reference to member 'success'
105 |             #endif
106 |
107 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
108 |                 throw(decodedError(endpoint, data))
109 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:130:34: error: cannot find 'URLRequest' in scope
128 |     private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
129 |         do {
130 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
131 |             authenticator?.mapRequest(&urlRequest)
132 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:139:46: error: 'nil' requires a contextual type
137 |             let sampleData = endpoint.sampleData ?? Data()
138 |
139 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
140 |
141 |             let model = try T
[7/22] Compiling Networking NetworkingController+Mapping.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/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+Mapping.swift:97:34: error: cannot find 'URLRequest' in scope
 95 |     private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 96 |         do {
 97 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 98 |
 99 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:101:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 99 |             authenticator?.mapRequest(&urlRequest)
100 |
101 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
102 |
103 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:107:45: error: cannot infer contextual base in reference to member 'success'
105 |             #endif
106 |
107 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
108 |                 throw(decodedError(endpoint, data))
109 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:130:34: error: cannot find 'URLRequest' in scope
128 |     private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
129 |         do {
130 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
131 |             authenticator?.mapRequest(&urlRequest)
132 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:139:46: error: 'nil' requires a contextual type
137 |             let sampleData = endpoint.sampleData ?? Data()
138 |
139 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
140 |
141 |             let model = try T
[8/22] Compiling Networking URLResponse+Networking.swift
/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 HttpMethod.swift
/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 Data+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.
[11/22] Compiling Networking URL+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     /// Initializes a `URLRequest` from an `Endpoint` instance.
[12/22] Compiling Networking URLRequest+Networking.swift
/host/spi-builder-workspace/Sources/Networking/Extensions/URLRequest+Networking.swift:3:18: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     /// Initializes a `URLRequest` from an `Endpoint` instance.
[13/22] Compiling Networking AnyEncodable.swift
[14/22] Compiling Networking Error+Extension.swift
[15/22] Compiling Networking String+Extension.swift
[16/22] Compiling Networking Task+Extension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/22] Emitting module Networking
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/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 {
[18/22] Compiling Networking NetworkingController.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 36 |         self.authenticator = authenticator
 37 |
 38 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |             configuration: configuration,
 40 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
 39 |             configuration: configuration,
 40 |             delegate: delegate,
 41 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 42 |         )
 43 |     }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:114:34: error: cannot find 'URLRequest' in scope
112 |     private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
113 |         do {
114 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
115 |
116 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:118:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |             authenticator?.mapRequest(&urlRequest)
117 |
118 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
119 |
120 |             #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.swift:124:45: error: cannot infer contextual base in reference to member 'success'
122 |             #endif
123 |
124 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
125 |                 throw(decodedError(endpoint, data))
126 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:154:34: error: cannot find 'URLRequest' in scope
152 |     private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
153 |         do {
154 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
155 |             authenticator?.mapRequest(&urlRequest)
156 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:163:46: error: 'nil' requires a contextual type
161 |             let sampleData = endpoint.sampleData ?? Data()
162 |
163 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
164 |
165 |             let model = try (sampleData).decode(
[19/22] Compiling Networking DecodableError.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 36 |         self.authenticator = authenticator
 37 |
 38 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |             configuration: configuration,
 40 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
 39 |             configuration: configuration,
 40 |             delegate: delegate,
 41 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 42 |         )
 43 |     }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:114:34: error: cannot find 'URLRequest' in scope
112 |     private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
113 |         do {
114 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
115 |
116 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:118:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |             authenticator?.mapRequest(&urlRequest)
117 |
118 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
119 |
120 |             #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.swift:124:45: error: cannot infer contextual base in reference to member 'success'
122 |             #endif
123 |
124 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
125 |                 throw(decodedError(endpoint, data))
126 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:154:34: error: cannot find 'URLRequest' in scope
152 |     private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
153 |         do {
154 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
155 |             authenticator?.mapRequest(&urlRequest)
156 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:163:46: error: 'nil' requires a contextual type
161 |             let sampleData = endpoint.sampleData ?? Data()
162 |
163 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
164 |
165 |             let model = try (sampleData).decode(
[20/22] Compiling Networking Endpoint.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 36 |         self.authenticator = authenticator
 37 |
 38 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |             configuration: configuration,
 40 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
 39 |             configuration: configuration,
 40 |             delegate: delegate,
 41 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 42 |         )
 43 |     }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:114:34: error: cannot find 'URLRequest' in scope
112 |     private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
113 |         do {
114 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
115 |
116 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:118:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |             authenticator?.mapRequest(&urlRequest)
117 |
118 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
119 |
120 |             #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.swift:124:45: error: cannot infer contextual base in reference to member 'success'
122 |             #endif
123 |
124 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
125 |                 throw(decodedError(endpoint, data))
126 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:154:34: error: cannot find 'URLRequest' in scope
152 |     private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
153 |         do {
154 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
155 |             authenticator?.mapRequest(&urlRequest)
156 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:163:46: error: 'nil' requires a contextual type
161 |             let sampleData = endpoint.sampleData ?? Data()
162 |
163 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
164 |
165 |             let model = try (sampleData).decode(
[21/22] Compiling Networking JsonMapper.swift
[22/22] Compiling Networking Networking.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/19] Emitting module Networking
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/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/21] Compiling Networking URLResponse+Networking.swift
/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/21] Compiling Networking HttpMethod.swift
/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 {
[5/21] Compiling Networking String+Extension.swift
[6/21] Compiling Networking Task+Extension.swift
[7/21] Compiling Networking HttpStatus.swift
[8/21] Compiling Networking HttpTask.swift
[9/21] Compiling Networking AnyEncodable.swift
[10/21] Compiling Networking Error+Extension.swift
[11/21] Compiling Networking Data+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.
[12/21] 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.
[13/21] 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.
[14/21] Compiling Networking Authenticator.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/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+Mapping.swift:97:34: error: cannot find 'URLRequest' in scope
 95 |     private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 96 |         do {
 97 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 98 |
 99 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:101:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 99 |             authenticator?.mapRequest(&urlRequest)
100 |
101 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
102 |
103 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:107:45: error: cannot infer contextual base in reference to member 'success'
105 |             #endif
106 |
107 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
108 |                 throw(decodedError(endpoint, data))
109 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:130:34: error: cannot find 'URLRequest' in scope
128 |     private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
129 |         do {
130 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
131 |             authenticator?.mapRequest(&urlRequest)
132 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:139:46: error: 'nil' requires a contextual type
137 |             let sampleData = endpoint.sampleData ?? Data()
138 |
139 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
140 |
141 |             let model = try T
[15/21] Compiling Networking NetworkingController+Logging.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/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+Mapping.swift:97:34: error: cannot find 'URLRequest' in scope
 95 |     private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 96 |         do {
 97 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 98 |
 99 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:101:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 99 |             authenticator?.mapRequest(&urlRequest)
100 |
101 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
102 |
103 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:107:45: error: cannot infer contextual base in reference to member 'success'
105 |             #endif
106 |
107 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
108 |                 throw(decodedError(endpoint, data))
109 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:130:34: error: cannot find 'URLRequest' in scope
128 |     private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
129 |         do {
130 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
131 |             authenticator?.mapRequest(&urlRequest)
132 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:139:46: error: 'nil' requires a contextual type
137 |             let sampleData = endpoint.sampleData ?? Data()
138 |
139 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
140 |
141 |             let model = try T
[16/21] Compiling Networking NetworkingController+Mapping.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/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/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+Mapping.swift:97:34: error: cannot find 'URLRequest' in scope
 95 |     private func makeRequest<T: Decodable & Sendable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
 96 |         do {
 97 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
 98 |
 99 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:101:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 99 |             authenticator?.mapRequest(&urlRequest)
100 |
101 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
102 |
103 |             #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:107:45: error: cannot infer contextual base in reference to member 'success'
105 |             #endif
106 |
107 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
108 |                 throw(decodedError(endpoint, data))
109 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:130:34: error: cannot find 'URLRequest' in scope
128 |     private func makeMockRequest<T: Decodable & JsonMapper>(_ endpoint: Endpoint) async throws(F) -> T {
129 |         do {
130 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
131 |             authenticator?.mapRequest(&urlRequest)
132 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:139:46: error: 'nil' requires a contextual type
137 |             let sampleData = endpoint.sampleData ?? Data()
138 |
139 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
140 |
141 |             let model = try T
[17/21] Compiling Networking NetworkingController.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 36 |         self.authenticator = authenticator
 37 |
 38 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |             configuration: configuration,
 40 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
 39 |             configuration: configuration,
 40 |             delegate: delegate,
 41 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 42 |         )
 43 |     }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:114:34: error: cannot find 'URLRequest' in scope
112 |     private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
113 |         do {
114 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
115 |
116 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:118:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |             authenticator?.mapRequest(&urlRequest)
117 |
118 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
119 |
120 |             #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.swift:124:45: error: cannot infer contextual base in reference to member 'success'
122 |             #endif
123 |
124 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
125 |                 throw(decodedError(endpoint, data))
126 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:154:34: error: cannot find 'URLRequest' in scope
152 |     private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
153 |         do {
154 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
155 |             authenticator?.mapRequest(&urlRequest)
156 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:163:46: error: 'nil' requires a contextual type
161 |             let sampleData = endpoint.sampleData ?? Data()
162 |
163 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
164 |
165 |             let model = try (sampleData).decode(
[18/21] Compiling Networking DecodableError.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 36 |         self.authenticator = authenticator
 37 |
 38 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |             configuration: configuration,
 40 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
 39 |             configuration: configuration,
 40 |             delegate: delegate,
 41 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 42 |         )
 43 |     }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:114:34: error: cannot find 'URLRequest' in scope
112 |     private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
113 |         do {
114 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
115 |
116 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:118:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |             authenticator?.mapRequest(&urlRequest)
117 |
118 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
119 |
120 |             #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.swift:124:45: error: cannot infer contextual base in reference to member 'success'
122 |             #endif
123 |
124 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
125 |                 throw(decodedError(endpoint, data))
126 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:154:34: error: cannot find 'URLRequest' in scope
152 |     private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
153 |         do {
154 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
155 |             authenticator?.mapRequest(&urlRequest)
156 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:163:46: error: 'nil' requires a contextual type
161 |             let sampleData = endpoint.sampleData ?? Data()
162 |
163 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
164 |
165 |             let model = try (sampleData).decode(
[19/21] Compiling Networking Endpoint.swift
/host/spi-builder-workspace/Sources/Networking/Authenticator.swift:32:38: error: cannot find type 'URLRequest' in scope
30 |     /// This method provides an opportunity for the authenticator to customize the request by adding headers or query parameters.
31 |     /// This can be useful for including global authentication credentials or other information relevant to all API requests.
32 |     func mapRequest(_ request: inout URLRequest)
   |                                      `- error: cannot find type 'URLRequest' in scope
33 | }
34 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     #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:34:160: error: cannot find type 'URLSessionDelegate' in scope
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                                                `- error: cannot find type 'URLSessionDelegate' in scope
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:34:114: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = 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.
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
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:34:141: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 32 |     ///   * The controller checks the authentication state through the `authenticator` (if provided).
 33 |     ///     If authentication is required and fails, a `.failure(.authenticationError)` result is returned.
 34 |     public init(environment: Networking.Environment = .live, authenticator: Authenticator? = nil, configuration: URLSessionConfiguration = .default, delegate: URLSessionDelegate? = nil) {
    |                                                                                                                                             `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         self.environment = environment
 36 |         self.authenticator = authenticator
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:12:18: warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 10 |     public let authenticator: Authenticator?
 11 |
 12 |     internal let urlSession: URLSession
    |                  `- warning: stored property 'urlSession' of 'Sendable'-conforming generic class 'NetworkingController' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 13 |
 14 |     #if DEBUG
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:38:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 36 |         self.authenticator = authenticator
 37 |
 38 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 39 |             configuration: configuration,
 40 |             delegate: delegate,
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:41:28: error: 'nil' requires a contextual type
 39 |             configuration: configuration,
 40 |             delegate: delegate,
 41 |             delegateQueue: nil
    |                            `- error: 'nil' requires a contextual type
 42 |         )
 43 |     }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:114:34: error: cannot find 'URLRequest' in scope
112 |     private func makeRequest<T: Decodable & Sendable>(_ endpoint: Endpoint) async throws(F) -> T {
113 |         do {
114 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
115 |
116 |             authenticator?.mapRequest(&urlRequest)
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:118:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |             authenticator?.mapRequest(&urlRequest)
117 |
118 |             let (data, response) = try await urlSession.data(for: urlRequest)
    |                                                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
119 |
120 |             #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.swift:124:45: error: cannot infer contextual base in reference to member 'success'
122 |             #endif
123 |
124 |             guard response.status.group == .success else {
    |                                             `- error: cannot infer contextual base in reference to member 'success'
125 |                 throw(decodedError(endpoint, data))
126 |             }
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:154:34: error: cannot find 'URLRequest' in scope
152 |     private func makeMockRequest<T: Decodable>(_ endpoint: Endpoint) async throws(F) -> T {
153 |         do {
154 |             var urlRequest = try URLRequest(endpoint)
    |                                  `- error: cannot find 'URLRequest' in scope
155 |             authenticator?.mapRequest(&urlRequest)
156 |
/host/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:163:46: error: 'nil' requires a contextual type
161 |             let sampleData = endpoint.sampleData ?? Data()
162 |
163 |             logRequest(endpoint, urlRequest, nil, sampleData)
    |                                              `- error: 'nil' requires a contextual type
164 |
165 |             let model = try (sampleData).decode(
[20/21] Compiling Networking JsonMapper.swift
[21/21] Compiling Networking Networking.swift
BUILD FAILURE 6.0 linux