The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IPAPI, reference master (739413), with Swift 6.3 for Wasm on 11 Apr 2026 12:59:15 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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/arturgrigor/IPAPI.git
Reference: master
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/arturgrigor/IPAPI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7394135 Merge pull request #4 from arturgrigor/develop
Submodule path 'Carthage/Checkouts/OHHTTPStubs': checked out 'a5f9693dbf7a98e91cd7b72fff02bdd291ac66e0'
Submodule 'Carthage/Checkouts/OHHTTPStubs' (https://github.com/AliSoftware/OHHTTPStubs.git) registered for path 'Carthage/Checkouts/OHHTTPStubs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/OHHTTPStubs'...
Cloned https://github.com/arturgrigor/IPAPI.git
Revision (git rev-parse @):
7394135f9162ab7127a5ebd94d48e797dc516414
SUCCESS checkout https://github.com/arturgrigor/IPAPI.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/arturgrigor/IPAPI.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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Sources/Info.plist': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Sources/IPAPI.h': File not found.
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/4] Emitting module IPAPI
/host/spi-builder-workspace/Sources/Service.swift:185:29: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 |     /// Returns the session configuration of the receiver.
185 |     open var configuration: URLSessionConfiguration
    |                             `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
186 |
187 |     // MARK: - Initialization -
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service.swift:203:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
201 |         pricingPlan: PricingPlan = .free,
202 |         timeoutInterval: TimeInterval = 15,
203 |         configuration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                          `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
204 |     ) {
205 |         self.pricingPlan = pricingPlan
/host/spi-builder-workspace/Sources/Service.swift:203:74: error: default argument value of type '_' cannot be converted to type 'AnyObject'
201 |         pricingPlan: PricingPlan = .free,
202 |         timeoutInterval: TimeInterval = 15,
203 |         configuration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                          `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
204 |     ) {
205 |         self.pricingPlan = pricingPlan
/host/spi-builder-workspace/Sources/Service.swift:203:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         pricingPlan: PricingPlan = .free,
202 |         timeoutInterval: TimeInterval = 15,
203 |         configuration: URLSessionConfiguration = URLSessionConfiguration.default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
204 |     ) {
205 |         self.pricingPlan = pricingPlan
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service.swift:221:162: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |     /// - Returns: The new `URLSessionDataTask` instance.
220 |     @discardableResult
221 |     open func fetch(query: String? = nil, fields: [Result.Field]? = nil, language: String? = nil, completion: ((Swift.Result<Result, Swift.Error>) -> Void)?) -> URLSessionDataTask? {
    |                                                                                                                                                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
222 |         var urlComponents: URLComponents
223 |         do {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service.swift:280:108: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |     /// - Returns: The new `URLSessionDataTask` instance.
279 |     @discardableResult
280 |     open func batch(_ queries: [Request], completion: ((Swift.Result<[Result], Swift.Error>) -> Void)?) -> URLSessionDataTask? {
    |                                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
281 |         var urlComponents: URLComponents
282 |         do {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
[4/4] Compiling IPAPI Service.swift
/host/spi-builder-workspace/Sources/Service.swift:185:29: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 |     /// Returns the session configuration of the receiver.
185 |     open var configuration: URLSessionConfiguration
    |                             `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
186 |
187 |     // MARK: - Initialization -
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service.swift:203:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
201 |         pricingPlan: PricingPlan = .free,
202 |         timeoutInterval: TimeInterval = 15,
203 |         configuration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                          `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
204 |     ) {
205 |         self.pricingPlan = pricingPlan
/host/spi-builder-workspace/Sources/Service.swift:203:74: error: default argument value of type '_' cannot be converted to type 'AnyObject'
201 |         pricingPlan: PricingPlan = .free,
202 |         timeoutInterval: TimeInterval = 15,
203 |         configuration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                          `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
204 |     ) {
205 |         self.pricingPlan = pricingPlan
/host/spi-builder-workspace/Sources/Service.swift:203:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         pricingPlan: PricingPlan = .free,
202 |         timeoutInterval: TimeInterval = 15,
203 |         configuration: URLSessionConfiguration = URLSessionConfiguration.default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
204 |     ) {
205 |         self.pricingPlan = pricingPlan
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service.swift:221:162: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |     /// - Returns: The new `URLSessionDataTask` instance.
220 |     @discardableResult
221 |     open func fetch(query: String? = nil, fields: [Result.Field]? = nil, language: String? = nil, completion: ((Swift.Result<Result, Swift.Error>) -> Void)?) -> URLSessionDataTask? {
    |                                                                                                                                                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
222 |         var urlComponents: URLComponents
223 |         do {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service.swift:280:108: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |     /// - Returns: The new `URLSessionDataTask` instance.
279 |     @discardableResult
280 |     open func batch(_ queries: [Request], completion: ((Swift.Result<[Result], Swift.Error>) -> Void)?) -> URLSessionDataTask? {
    |                                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
281 |         var urlComponents: URLComponents
282 |         do {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Service.swift:250:23: error: cannot find 'URLRequest' in scope
248 |         }
249 |
250 |         let request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: self.timeoutInterval)
    |                       `- error: cannot find 'URLRequest' in scope
251 |         let config = self.configuration
252 |         let session = URLSession(configuration: config)
/host/spi-builder-workspace/Sources/Service.swift:250:58: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
248 |         }
249 |
250 |         let request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: self.timeoutInterval)
    |                                                          `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
251 |         let config = self.configuration
252 |         let session = URLSession(configuration: config)
/host/spi-builder-workspace/Sources/Service.swift:252:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
250 |         let request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: self.timeoutInterval)
251 |         let config = self.configuration
252 |         let session = URLSession(configuration: config)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
253 |
254 |         let task = session.dataTask(with: request, completionHandler: { data, response, error in
/host/spi-builder-workspace/Sources/Service.swift:309:23: error: cannot find 'URLRequest' in scope
307 |         }
308 |
309 |         var request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: self.timeoutInterval)
    |                       `- error: cannot find 'URLRequest' in scope
310 |         request.httpMethod = "POST"
311 |         request.httpBody = jsonBody
/host/spi-builder-workspace/Sources/Service.swift:309:58: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
307 |         }
308 |
309 |         var request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: self.timeoutInterval)
    |                                                          `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
310 |         request.httpMethod = "POST"
311 |         request.httpBody = jsonBody
/host/spi-builder-workspace/Sources/Service.swift:313:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
311 |         request.httpBody = jsonBody
312 |         let config = self.configuration
313 |         let session = URLSession(configuration: config)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
314 |
315 |         let task = session.dataTask(with: request, completionHandler: { data, response, error in
BUILD FAILURE 6.3 wasm