The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IPGeolocation, reference main (c3b6b3), with Swift 6.1 for Linux on 22 Apr 2026 13:41:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.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/IPGeolocation/ip-geolocation-api-swift-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c3b6b30 Update README.md
Cloned https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git
Revision (git rev-parse @):
c3b6b300de1a6f360065b6f607e2ccca08170a2f
SUCCESS checkout https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git
https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-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.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling IPGeolocation ResponseMapper.swift
[4/17] Compiling IPGeolocation JSONOutput.swift
[5/17] Compiling IPGeolocation ConfigNormalizer.swift
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:108:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
106 |     }
107 |
108 |     private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
    |                                                     `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
109 |         let cap = maxResponseBodyBytes
110 |         var buffer = Data()
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:43:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 41 |         configuration.urlCredentialStorage = nil
 42 |         configuration.httpShouldSetCookies = false
 43 |         configuration.waitsForConnectivity = false
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 44 |         configuration.httpAdditionalHeaders = [:]
 45 |         let blocker = RedirectBlocker()
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:73:39: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 71 |         }
 72 |
 73 |         let bytesSequence: URLSession.AsyncBytes
    |                                       `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 74 |         let response: URLResponse
 75 |         do {
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:76:59: error: value of type 'URLSession' has no member 'bytes'
 74 |         let response: URLResponse
 75 |         do {
 76 |             (bytesSequence, response) = try await session.bytes(for: urlRequest)
    |                                                           `- error: value of type 'URLSession' has no member 'bytes'
 77 |         } catch {
 78 |             throw Self.mapTransportError(error)
[6/17] Compiling IPGeolocation HTTPTransport.swift
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:108:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
106 |     }
107 |
108 |     private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
    |                                                     `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
109 |         let cap = maxResponseBodyBytes
110 |         var buffer = Data()
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:43:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 41 |         configuration.urlCredentialStorage = nil
 42 |         configuration.httpShouldSetCookies = false
 43 |         configuration.waitsForConnectivity = false
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 44 |         configuration.httpAdditionalHeaders = [:]
 45 |         let blocker = RedirectBlocker()
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:73:39: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 71 |         }
 72 |
 73 |         let bytesSequence: URLSession.AsyncBytes
    |                                       `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 74 |         let response: URLResponse
 75 |         do {
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:76:59: error: value of type 'URLSession' has no member 'bytes'
 74 |         let response: URLResponse
 75 |         do {
 76 |             (bytesSequence, response) = try await session.bytes(for: urlRequest)
    |                                                           `- error: value of type 'URLSession' has no member 'bytes'
 77 |         } catch {
 78 |             throw Self.mapTransportError(error)
[7/17] Compiling IPGeolocation QueryBuilder.swift
[8/17] Compiling IPGeolocation RequestNormalizer.swift
[9/18] Compiling IPGeolocation APIResponse.swift
[10/18] Compiling IPGeolocation Errors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] Compiling IPGeolocation IPGeolocationClient.swift
[12/18] Compiling IPGeolocation IPGeolocationClientConfig.swift
[13/18] Emitting module IPGeolocation
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:108:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
106 |     }
107 |
108 |     private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
    |                                                     `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
109 |         let cap = maxResponseBodyBytes
110 |         var buffer = Data()
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
[14/18] Compiling IPGeolocation Models.swift
[15/18] Compiling IPGeolocation ResponseFormat.swift
[16/18] Compiling IPGeolocation Language.swift
[17/18] Compiling IPGeolocation LookupRequest.swift
[18/18] Compiling IPGeolocation Version.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-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/16] Emitting module IPGeolocation
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:108:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
106 |     }
107 |
108 |     private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
    |                                                     `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
109 |         let cap = maxResponseBodyBytes
110 |         var buffer = Data()
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
[3/16] Compiling IPGeolocation ConfigNormalizer.swift
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:108:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
106 |     }
107 |
108 |     private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
    |                                                     `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
109 |         let cap = maxResponseBodyBytes
110 |         var buffer = Data()
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:43:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 41 |         configuration.urlCredentialStorage = nil
 42 |         configuration.httpShouldSetCookies = false
 43 |         configuration.waitsForConnectivity = false
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 44 |         configuration.httpAdditionalHeaders = [:]
 45 |         let blocker = RedirectBlocker()
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:73:39: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 71 |         }
 72 |
 73 |         let bytesSequence: URLSession.AsyncBytes
    |                                       `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 74 |         let response: URLResponse
 75 |         do {
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:76:59: error: value of type 'URLSession' has no member 'bytes'
 74 |         let response: URLResponse
 75 |         do {
 76 |             (bytesSequence, response) = try await session.bytes(for: urlRequest)
    |                                                           `- error: value of type 'URLSession' has no member 'bytes'
 77 |         } catch {
 78 |             throw Self.mapTransportError(error)
[4/16] Compiling IPGeolocation HTTPTransport.swift
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:108:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
106 |     }
107 |
108 |     private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
    |                                                     `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
109 |         let cap = maxResponseBodyBytes
110 |         var buffer = Data()
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:43:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 41 |         configuration.urlCredentialStorage = nil
 42 |         configuration.httpShouldSetCookies = false
 43 |         configuration.waitsForConnectivity = false
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 44 |         configuration.httpAdditionalHeaders = [:]
 45 |         let blocker = RedirectBlocker()
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:73:39: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 71 |         }
 72 |
 73 |         let bytesSequence: URLSession.AsyncBytes
    |                                       `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
 74 |         let response: URLResponse
 75 |         do {
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:76:59: error: value of type 'URLSession' has no member 'bytes'
 74 |         let response: URLResponse
 75 |         do {
 76 |             (bytesSequence, response) = try await session.bytes(for: urlRequest)
    |                                                           `- error: value of type 'URLSession' has no member 'bytes'
 77 |         } catch {
 78 |             throw Self.mapTransportError(error)
[5/17] Compiling IPGeolocation Version.swift
[6/17] Compiling IPGeolocation APIResponse.swift
[7/17] Compiling IPGeolocation Errors.swift
[8/17] Compiling IPGeolocation IPGeolocationClient.swift
[9/17] Compiling IPGeolocation IPGeolocationClientConfig.swift
[10/17] Compiling IPGeolocation ResponseMapper.swift
[11/17] Compiling IPGeolocation JSONOutput.swift
[12/17] Compiling IPGeolocation QueryBuilder.swift
[13/17] Compiling IPGeolocation RequestNormalizer.swift
[14/17] Compiling IPGeolocation Language.swift
[15/17] Compiling IPGeolocation LookupRequest.swift
[16/17] Compiling IPGeolocation Models.swift
[17/17] Compiling IPGeolocation ResponseFormat.swift
BUILD FAILURE 6.1 linux