Build Information
Failed to build CoinGecko-Swift, reference 0.0.1 (38a466
), with Swift 6.2 (beta) for Android on 18 Jun 2025 23:16:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crewshin/CoinGecko-Swift.git
Reference: 0.0.1
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/crewshin/CoinGecko-Swift
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 38a466d Cleanup
Cloned https://github.com/crewshin/CoinGecko-Swift.git
Revision (git rev-parse @):
38a466db14b3533dce95f5cfb56a74595805db31
SUCCESS checkout https://github.com/crewshin/CoinGecko-Swift.git at 0.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/crewshin/CoinGecko-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/10] Compiling CoinGecko_Swift NetworkRequestType.swift
[4/11] Compiling CoinGecko_Swift Networking.swift
/host/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:21:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | public struct Response<T> {
20 | public let value: T
21 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | }
23 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:24:52: error: cannot find type 'URLRequest' in scope
22 | }
23 |
24 | public func codableTask<T: Decodable>(request: URLRequest, decoder: JSONDecoder = JSONDecoder(), completion: @escaping (Result<Response<T>, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
25 |
26 | var tmpRequest = request
/host/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:32:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 | }
31 |
32 | URLSession.shared.dataTask(with: tmpRequest) { (data, response, error) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | guard let data = data,
34 | error == nil,
/host/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:42:73: error: argument type '_' expected to be an instance of a class or class-constrained type
40 | }
41 |
42 | completion(.success(Response(value: objectOutput, response: response)))
| `- error: argument type '_' expected to be an instance of a class or class-constrained type
43 |
44 | }.resume()
[5/11] Compiling CoinGecko_Swift APIErrors.swift
[6/11] Compiling CoinGecko_Swift CoinGecko.swift
/host/spi-builder-workspace/Sources/CoinGecko-Swift/CoinGecko.swift:22:23: error: cannot find 'URLRequest' in scope
20 | public func ping(completion: @escaping (Result<Networking.Response<PingResponse>, APIError>) -> Void) {
21 |
22 | var request = URLRequest(url: baseURL.appendingPathComponent("/ping"))
| `- error: cannot find 'URLRequest' in scope
23 | request.httpMethod = HTTPRequestType.get.rawValue
24 |
/host/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:24:52: error: cannot find type 'URLRequest' in scope
22 | }
23 |
24 | public func codableTask<T: Decodable>(request: URLRequest, decoder: JSONDecoder = JSONDecoder(), completion: @escaping (Result<Response<T>, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
25 |
26 | var tmpRequest = request
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Compiling CoinGecko_Swift API.swift
[8/11] Emitting module CoinGecko_Swift
/host/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:21:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | public struct Response<T> {
20 | public let value: T
21 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | }
23 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:24:52: error: cannot find type 'URLRequest' in scope
22 | }
23 |
24 | public func codableTask<T: Decodable>(request: URLRequest, decoder: JSONDecoder = JSONDecoder(), completion: @escaping (Result<Response<T>, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
25 |
26 | var tmpRequest = request
[9/11] Compiling CoinGecko_Swift String+.swift
[10/11] Compiling CoinGecko_Swift JSON+.swift
[11/11] Compiling CoinGecko_Swift PingResponse.swift
BUILD FAILURE 6.2 android