Build Information
Failed to build IPGeolocation, reference main (c3b6b3), with Swift 6.3 for Linux on 22 Apr 2026 13:33:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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.3
Building package at path: $PWD
https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-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/17] 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)
[4/18] Compiling IPGeolocation Version.swift
[5/18] Compiling IPGeolocation Models.swift
[6/18] Compiling IPGeolocation ResponseFormat.swift
[7/18] Compiling IPGeolocation Language.swift
[8/18] Compiling IPGeolocation LookupRequest.swift
[9/18] Compiling IPGeolocation ResponseMapper.swift
[10/18] Compiling IPGeolocation JSONOutput.swift
[11/18] Compiling IPGeolocation QueryBuilder.swift
[12/18] Compiling IPGeolocation RequestNormalizer.swift
[13/18] 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)
[14/18] 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)
[15/18] Compiling IPGeolocation APIResponse.swift
[16/18] Compiling IPGeolocation Errors.swift
[17/18] Compiling IPGeolocation IPGeolocationClient.swift
[18/18] Compiling IPGeolocation IPGeolocationClientConfig.swift
BUILD FAILURE 6.3 linux