The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build EagleNet, reference 2.0.0 (e47828), with Swift 5.10 for Linux on 8 Oct 2025 13:55:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnbalaganD/EagleNet.git
Reference: 2.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/AnbalaganD/EagleNet
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at e47828a Refactor the request body handling to use the typealias `Body` instead of `BodyConvertible`.
Cloned https://github.com/AnbalaganD/EagleNet.git
Revision (git rev-parse @):
e47828a30203e4bbb07ec2f9bd56961aea9d660a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AnbalaganD/EagleNet.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/AnbalaganD/EagleNet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:876c9f54cbb08e857839f8acb28beadbc9bf56a8488855996222d9f683e93e2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module EagleNet
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:24:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlResponse: URLResponse
                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:25:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (Data, URLResponse)
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:39:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:71:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:139:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:191:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: URLResponse
                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:61:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'URL'; use '@unchecked Sendable' for retroactive conformance
extension URL: URLConvertible { }
^
Foundation.URL (private):11:17: warning: stored property '_storage' of 'Sendable'-conforming struct 'URL' has non-sendable type 'URL.Storage?'
    private var _storage: URL.Storage!
                ^
Foundation.URL (private):3:18: note: enum 'Storage' does not conform to the 'Sendable' protocol
    private enum Storage {
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:17:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:18:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:10:40: error: cannot find type 'URLSessionTaskDelegate' in scope
final class SessionDelegate: NSObject, URLSessionTaskDelegate {
                                       ^~~~~~~~~~~~~~~~~~~~~~
[4/28] Compiling EagleNet DataRequest.swift
[5/28] Compiling EagleNet EagleNet+Custom.swift
[6/28] Compiling EagleNet EagleNet+Delete.swift
[7/28] Compiling EagleNet EagleNet+Get.swift
[8/28] Compiling EagleNet EagleNet+Interceptor.swift
[9/28] Compiling EagleNet EagleNet+Post.swift
[10/28] Compiling EagleNet EagleNet+Put.swift
[11/28] Compiling EagleNet NetworkRequestable.swift
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:61:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'URL'; use '@unchecked Sendable' for retroactive conformance
extension URL: URLConvertible { }
^
Foundation.URL (private):11:17: warning: stored property '_storage' of 'Sendable'-conforming struct 'URL' has non-sendable type 'URL.Storage?'
    private var _storage: URL.Storage!
                ^
Foundation.URL (private):3:18: note: enum 'Storage' does not conform to the 'Sendable' protocol
    private enum Storage {
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:17:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:18:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:10:40: error: cannot find type 'URLSessionTaskDelegate' in scope
final class SessionDelegate: NSObject, URLSessionTaskDelegate {
                                       ^~~~~~~~~~~~~~~~~~~~~~
[12/28] Compiling EagleNet URLConvertible.swift
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:61:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'URL'; use '@unchecked Sendable' for retroactive conformance
extension URL: URLConvertible { }
^
Foundation.URL (private):11:17: warning: stored property '_storage' of 'Sendable'-conforming struct 'URL' has non-sendable type 'URL.Storage?'
    private var _storage: URL.Storage!
                ^
Foundation.URL (private):3:18: note: enum 'Storage' does not conform to the 'Sendable' protocol
    private enum Storage {
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:17:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:18:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:10:40: error: cannot find type 'URLSessionTaskDelegate' in scope
final class SessionDelegate: NSObject, URLSessionTaskDelegate {
                                       ^~~~~~~~~~~~~~~~~~~~~~
[13/28] Compiling EagleNet SessionDelegate.swift
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:61:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'URL'; use '@unchecked Sendable' for retroactive conformance
extension URL: URLConvertible { }
^
Foundation.URL (private):11:17: warning: stored property '_storage' of 'Sendable'-conforming struct 'URL' has non-sendable type 'URL.Storage?'
    private var _storage: URL.Storage!
                ^
Foundation.URL (private):3:18: note: enum 'Storage' does not conform to the 'Sendable' protocol
    private enum Storage {
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:17:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:18:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:10:40: error: cannot find type 'URLSessionTaskDelegate' in scope
final class SessionDelegate: NSObject, URLSessionTaskDelegate {
                                       ^~~~~~~~~~~~~~~~~~~~~~
[14/28] Compiling EagleNet ResponseInterceptor.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:24:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlResponse: URLResponse
                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:25:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (Data, URLResponse)
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[15/28] Compiling EagleNet Misc.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:24:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlResponse: URLResponse
                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:25:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (Data, URLResponse)
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[16/28] Compiling EagleNet MultipartParameter.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:24:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlResponse: URLResponse
                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:25:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (Data, URLResponse)
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[17/28] Compiling EagleNet HTTPContentType.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
[18/28] Compiling EagleNet HTTPMethod.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
[19/28] Compiling EagleNet RequestInterceptor.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
[20/28] Compiling EagleNet ArrayExtension.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
[21/28] Compiling EagleNet DataExtension.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
[22/28] Compiling EagleNet HTTPURLResponseExtension.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
[23/28] Compiling EagleNet MultipartRequest.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:39:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:71:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:139:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:191:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: URLResponse
                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:95:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:115:31: error: 'nil' requires a contextual type
        urlRequest.httpBody = nil
                              ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:116:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
        let result = try await urlSession.upload(
                               ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:142:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:193:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        if let httpURLResponse = response as? HTTPURLResponse,
                                          ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:193:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let httpURLResponse = response as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:194:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
              !httpURLResponse.isSuccess {
               ~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:196:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
                message: httpURLResponse.description,
                         ~~~~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:197:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                statusCode: httpURLResponse.statusCode,
                            ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[24/28] Compiling EagleNet NetworkError.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:39:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:71:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:139:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:191:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: URLResponse
                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:95:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:115:31: error: 'nil' requires a contextual type
        urlRequest.httpBody = nil
                              ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:116:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
        let result = try await urlSession.upload(
                               ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:142:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:193:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        if let httpURLResponse = response as? HTTPURLResponse,
                                          ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:193:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let httpURLResponse = response as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:194:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
              !httpURLResponse.isSuccess {
               ~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:196:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
                message: httpURLResponse.description,
                         ~~~~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:197:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                statusCode: httpURLResponse.statusCode,
                            ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[25/28] Compiling EagleNet NetworkService.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:39:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:71:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:139:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:191:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: URLResponse
                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:24:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:95:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:115:31: error: 'nil' requires a contextual type
        urlRequest.httpBody = nil
                              ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:116:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
        let result = try await urlSession.upload(
                               ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:142:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:193:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        if let httpURLResponse = response as? HTTPURLResponse,
                                          ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:193:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let httpURLResponse = response as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:194:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
              !httpURLResponse.isSuccess {
               ~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:196:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
                message: httpURLResponse.description,
                         ~~~~~~~~~~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:197:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                statusCode: httpURLResponse.statusCode,
                            ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[26/28] Compiling EagleNet EagleNet+Upload.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
[27/28] Compiling EagleNet EagleNet.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
[28/28] Compiling EagleNet EagleNetActor.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:79:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:130:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
error: fatalError
BUILD FAILURE 5.10 linux