The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IPGeolocation, reference v1.0.0 (6c3f51), with Swift 6.2 for Android on 22 Apr 2026 13:32:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: v1.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/IPGeolocation/ip-geolocation-api-swift-sdk
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 6c3f51c Initial release of the IPGeolocation Swift SDK (v1.0.0)
Cloned https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git
Revision (git rev-parse @):
6c3f51c2f3b848bbc161168adf37c73eb8b54312
SUCCESS checkout https://github.com/IPGeolocation/ip-geolocation-api-swift-sdk.git at v1.0.0
========================================
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-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
[3/17] Compiling IPGeolocation Models.swift
[4/17] Compiling IPGeolocation ResponseFormat.swift
[5/18] Compiling IPGeolocation ResponseMapper.swift
[6/18] Compiling IPGeolocation JSONOutput.swift
[7/18] Compiling IPGeolocation QueryBuilder.swift
[8/18] Compiling IPGeolocation RequestNormalizer.swift
[9/18] Compiling IPGeolocation Language.swift
[10/18] Compiling IPGeolocation LookupRequest.swift
[11/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)
[12/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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/18] Compiling IPGeolocation APIResponse.swift
[14/18] Compiling IPGeolocation Errors.swift
[15/18] Compiling IPGeolocation IPGeolocationClient.swift
[16/18] Compiling IPGeolocation IPGeolocationClientConfig.swift
[17/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)
[18/18] Compiling IPGeolocation Version.swift
BUILD FAILURE 6.2 android