The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoinGecko-Swift, reference 0.0.1 (38a466), with Swift 6.3 for Linux on 12 Apr 2026 05:19:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/crewshin/CoinGecko-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[3/10] 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)
[4/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
[5/11] Compiling CoinGecko_Swift API.swift
[6/11] Compiling CoinGecko_Swift APIErrors.swift
[7/11] Compiling CoinGecko_Swift JSON+.swift
[8/11] Compiling CoinGecko_Swift NetworkRequestType.swift
[9/11] Compiling CoinGecko_Swift String+.swift
[10/11] Compiling CoinGecko_Swift PingResponse.swift
[11/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,
BUILD FAILURE 6.3 linux