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 XCEAPIClient, reference 6.0.0 (22c92e), with Swift 5.10 for Linux on 6 Jan 2025 08:26:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XCEssentials/APIClient.git
Reference: 6.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/XCEssentials/APIClient
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at 22c92e1 Merge branch 'release/6.0.0'
Cloned https://github.com/XCEssentials/APIClient.git
Revision (git rev-parse @):
22c92e1cacf738d1ac32c90389212abadcdf27fa
SUCCESS checkout https://github.com/XCEssentials/APIClient.git at 6.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/XCEssentials/APIClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
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/9] Compiling XCEAPIClient Errors.swift
[4/9] Compiling XCEAPIClient Helpers.swift
[5/9] Compiling XCEAPIClient URLRequestFacilitator.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:38:18: 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/XCEAPIClient/URLRequestFacilitator.swift:49:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:107:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:119:22: error: cannot find 'URLRequest' in scope
        var result = URLRequest(url: targetURL)
                     ^~~~~~~~~~
[6/9] Compiling XCEAPIClient RequestDefinition.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue>
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Emitting module XCEAPIClient
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue>
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:160:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue> {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:158:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:421:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue> {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:419:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:468:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:466:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:568:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue> {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:566:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:36:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        session: URLSession = .shared
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        session: URLSession = .shared
                              ~^~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:38:18: 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/XCEAPIClient/URLRequestFacilitator.swift:49:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:107:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
[8/9] Compiling XCEAPIClient BasicURLRequestFacilitator.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:36:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        session: URLSession = .shared
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        session: URLSession = .shared
                              ~^~~~~~
[9/9] Compiling XCEAPIClient ParameterEncoding.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue>
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:160:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue> {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:158:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:421:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue> {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:419:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:468:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:466:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:568:17: error: cannot find type 'URLRequest' in scope
    ) -> Result<URLRequest, RequestEncodingIssue> {
                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:566:23: error: cannot find type 'URLRequest' in scope
        _ urlRequest: URLRequest,
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:615:16: error: cannot find 'CFBooleanGetTypeID' in scope
        return CFBooleanGetTypeID() == CFGetTypeID(self)
               ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:615:40: error: cannot find 'CFGetTypeID' in scope
        return CFBooleanGetTypeID() == CFGetTypeID(self)
                                       ^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux