Build Information
Failed to build IPGeolocation, reference main (373f8d), with Swift 6.2 for Android on 12 Nov 2026 17:55:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 373f8d3 Merge pull request #5 from IPGeolocation/docs/include-parameter-wording
Cloned https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git
Revision (git rev-parse @):
373f8d3471dc48b16948f15906ea47cb737f0300
SUCCESS checkout https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:d2452b62e3705b516974b91545f6a72393de452ed0d07016d276221983b5f27e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
[3/17] Compiling IPGeolocation Language.swift
[4/17] Compiling IPGeolocation LookupRequest.swift
[5/17] Compiling IPGeolocation Models.swift
[6/17] Compiling IPGeolocation ResponseFormat.swift
[7/17] Compiling IPGeolocation ResponseMapper.swift
[8/17] Compiling IPGeolocation JSONOutput.swift
[9/18] Compiling IPGeolocation QueryBuilder.swift
[10/18] Compiling IPGeolocation RequestNormalizer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] Compiling IPGeolocation APIResponse.swift
[12/18] Compiling IPGeolocation Errors.swift
[13/18] Compiling IPGeolocation IPGeolocationClient.swift
[14/18] Compiling IPGeolocation IPGeolocationClientConfig.swift
[15/18] Emitting module IPGeolocation
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:117:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
115 | }
116 |
117 | private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
118 | let cap = maxResponseBodyBytes
119 | 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)
[16/18] Compiling IPGeolocation ConfigNormalizer.swift
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:117:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
115 | }
116 |
117 | private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
118 | let cap = maxResponseBodyBytes
119 | 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:75:39: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
73 | }
74 |
75 | let bytesSequence: URLSession.AsyncBytes
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
76 | let response: URLResponse
77 | 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:78:59: error: value of type 'URLSession' has no member 'bytes'
76 | let response: URLResponse
77 | do {
78 | (bytesSequence, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' has no member 'bytes'
79 | } catch {
80 | throw Self.mapTransportError(error, apiKey: apiKey)
[17/18] Compiling IPGeolocation HTTPTransport.swift
/host/spi-builder-workspace/Sources/IPGeolocation/Internal/HTTPTransport.swift:117:53: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
115 | }
116 |
117 | private func readBody(bytesSequence: URLSession.AsyncBytes) async throws -> Data {
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
118 | let cap = maxResponseBodyBytes
119 | 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:75:39: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
73 | }
74 |
75 | let bytesSequence: URLSession.AsyncBytes
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
76 | let response: URLResponse
77 | 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:78:59: error: value of type 'URLSession' has no member 'bytes'
76 | let response: URLResponse
77 | do {
78 | (bytesSequence, response) = try await session.bytes(for: urlRequest)
| `- error: value of type 'URLSession' has no member 'bytes'
79 | } catch {
80 | throw Self.mapTransportError(error, apiKey: apiKey)
[18/18] Compiling IPGeolocation Version.swift
BUILD FAILURE 6.2 android