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 EagleNet, reference 1.0.0 (ba22bd), with Swift 5.10 for Linux on 24 Aug 2024 01:54:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnbalaganD/EagleNet.git
Reference: 1.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               1.0.0      -> FETCH_HEAD
HEAD is now at ba22bdf Fix file upload issue
Cloned https://github.com/AnbalaganD/EagleNet.git
Revision (git rev-parse @):
ba22bdf15663c58ed0a612d1dd54f164d891770c
SUCCESS checkout https://github.com/AnbalaganD/EagleNet.git at 1.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-4609320-0":/host -w "$PWD" 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:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
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
[3/17] Compiling EagleNet BodyConvertible.swift
[4/17] Compiling EagleNet NetworkRequestable.swift
[5/17] Compiling EagleNet NetworkError.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:12: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/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:24: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:32: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:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:44:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:66:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
[6/17] Compiling EagleNet NetworkService.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:12: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/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:24: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:32: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:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:44:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:66:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
[7/18] Compiling EagleNet URLConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/18] Compiling EagleNet ArrayExtension.swift
[9/18] Compiling EagleNet DataExtension.swift
[10/18] Emitting module EagleNet
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32: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:11:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:13: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:14: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:12: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:24: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:32: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
                 ^
[11/18] Compiling EagleNet DataRequest.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
[12/18] Compiling EagleNet EagleNet.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
[13/18] 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 {
^         ~~~~~~~~~~~~~~~
[14/18] Compiling EagleNet HTTPContentType.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
[15/18] Compiling EagleNet ResponseInterceptor.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:13: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:14: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/18] Compiling EagleNet MultipartRequest.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:13: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:14: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/18] Compiling EagleNet HTTPMethod.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
[18/18] Compiling EagleNet RequestInterceptor.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
    func modify(request: URLRequest) async throws -> URLRequest
                         ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux