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 main (77fb89), with Swift 5.10 for Linux on 29 Oct 2025 20:15:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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/AnbalaganD/EagleNet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 77fb899 Add Linux support.
Cloned https://github.com/AnbalaganD/EagleNet.git
Revision (git rev-parse @):
77fb899fa02caae812332175093cd623b8d29960
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AnbalaganD/EagleNet.git at main
========================================
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-2":/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
[3/25] Emitting module EagleNet
/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
[4/28] Compiling EagleNet MultipartRequest.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:98:43: error: value of type 'URLSession' has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:119:43: error: value of type 'URLSession' has no member 'upload'
        let result = try await urlSession.upload(
                               ~~~~~~~~~~ ^~~~~~
[5/28] Compiling EagleNet NetworkError.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:98:43: error: value of type 'URLSession' has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:119:43: error: value of type 'URLSession' has no member 'upload'
        let result = try await urlSession.upload(
                               ~~~~~~~~~~ ^~~~~~
[6/28] Compiling EagleNet NetworkService.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:98:43: error: value of type 'URLSession' has no member 'data'
        let result = try await urlSession.data(for: urlRequest)
                               ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:119:43: error: value of type 'URLSession' has no member 'upload'
        let result = try await urlSession.upload(
                               ~~~~~~~~~~ ^~~~~~
[7/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
[8/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
[9/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
[10/28] Compiling EagleNet EagleNet+Upload.swift
[11/28] Compiling EagleNet EagleNet.swift
[12/28] Compiling EagleNet EagleNetActor.swift
[13/28] Compiling EagleNet HTTPContentType.swift
[14/28] Compiling EagleNet HTTPMethod.swift
[15/28] Compiling EagleNet RequestInterceptor.swift
[16/28] Compiling EagleNet ArrayExtension.swift
[17/28] Compiling EagleNet DataExtension.swift
[18/28] Compiling EagleNet HTTPURLResponseExtension.swift
[19/28] Compiling EagleNet DataRequest.swift
[20/28] Compiling EagleNet EagleNet+Custom.swift
[21/28] Compiling EagleNet EagleNet+Delete.swift
[22/28] Compiling EagleNet EagleNet+Get.swift
[23/28] Compiling EagleNet ResponseInterceptor.swift
[24/28] Compiling EagleNet Misc.swift
[25/28] Compiling EagleNet MultipartParameter.swift
[26/28] Compiling EagleNet EagleNet+Interceptor.swift
[27/28] Compiling EagleNet EagleNet+Post.swift
[28/28] Compiling EagleNet EagleNet+Put.swift
error: fatalError
BUILD FAILURE 5.10 linux