The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Ipregistry, reference main (dcde94), with Swift 6.3 for Wasm on 17 Aug 2026 10:38:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipregistry/ipregistry-swift.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/ipregistry/ipregistry-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dcde945 Add connection.is_anycast to the response model
Cloned https://github.com/ipregistry/ipregistry-swift.git
Revision (git rev-parse @):
dcde945f9a4db70cfe079fd799a6e38ee5e0d657
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ipregistry/ipregistry-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ipregistry/ipregistry-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Ipregistry HTTPTransport.swift
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:98:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 | /// The default ``HTTPTransport``, backed by a `URLSession`.
 97 | public struct URLSessionTransport: HTTPTransport {
 98 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |
100 |     /// Creates a transport with its own ephemeral `URLSession`, which uses no
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:111:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |     /// over connection pooling, proxying, TLS, and instrumentation. The caller
110 |     /// retains ownership of the session.
111 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |         self.session = session
113 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:98:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 96 | /// The default ``HTTPTransport``, backed by a `URLSession`.
 97 | public struct URLSessionTransport: HTTPTransport {
 98 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 99 |
100 |     /// Creates a transport with its own ephemeral `URLSession`, which uses no
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:168:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | private final class DataTaskBox: @unchecked Sendable {
167 |     private let lock = NSLock()
168 |     private var task: URLSessionDataTask?
    |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |     private var isCancelled = false
170 |
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/Ipregistry/HTTPTransport.swift:171:24: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |     private var isCancelled = false
170 |
171 |     func store(_ task: URLSessionDataTask) {
    |                        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |         lock.lock()
173 |         defer { lock.unlock() }
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/Ipregistry/HTTPTransport.swift:103:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
101 |     /// persistent caches, cookies, or credential storage.
102 |     public init() {
103 |         let configuration = URLSessionConfiguration.ephemeral
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
104 |         configuration.urlCache = nil
105 |         self.init(session: URLSession(configuration: configuration))
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:105:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
103 |         let configuration = URLSessionConfiguration.ephemeral
104 |         configuration.urlCache = nil
105 |         self.init(session: URLSession(configuration: configuration))
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
106 |     }
107 |
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:116:26: error: cannot find 'URLRequest' in scope
114 |
115 |     public func execute(_ request: HTTPTransportRequest) async throws -> HTTPTransportResponse {
116 |         var urlRequest = URLRequest(url: request.url)
    |                          `- error: cannot find 'URLRequest' in scope
117 |         urlRequest.httpMethod = request.method
118 |         urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:130:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
128 |         return try await withTaskCancellationHandler {
129 |             try await withCheckedThrowingContinuation { continuation in
130 |                 let task = session.dataTask(with: urlRequest) { data, response, error in
    |                                    `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
131 |                     if let error {
132 |                         if (error as? URLError)?.code == .cancelled {
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:175:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
173 |         defer { lock.unlock() }
174 |         if isCancelled {
175 |             task.cancel()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
176 |         } else {
177 |             self.task = task
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:185:15: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
183 |         defer { lock.unlock() }
184 |         isCancelled = true
185 |         task?.cancel()
    |               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
186 |     }
187 | }
[4/14] Compiling Ipregistry IPAddress+Apple.swift
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:98:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 | /// The default ``HTTPTransport``, backed by a `URLSession`.
 97 | public struct URLSessionTransport: HTTPTransport {
 98 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |
100 |     /// Creates a transport with its own ephemeral `URLSession`, which uses no
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:111:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |     /// over connection pooling, proxying, TLS, and instrumentation. The caller
110 |     /// retains ownership of the session.
111 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |         self.session = session
113 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:98:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 96 | /// The default ``HTTPTransport``, backed by a `URLSession`.
 97 | public struct URLSessionTransport: HTTPTransport {
 98 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 99 |
100 |     /// Creates a transport with its own ephemeral `URLSession`, which uses no
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:168:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | private final class DataTaskBox: @unchecked Sendable {
167 |     private let lock = NSLock()
168 |     private var task: URLSessionDataTask?
    |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |     private var isCancelled = false
170 |
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/Ipregistry/HTTPTransport.swift:171:24: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |     private var isCancelled = false
170 |
171 |     func store(_ task: URLSessionDataTask) {
    |                        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |         lock.lock()
173 |         defer { lock.unlock() }
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/Ipregistry/HTTPTransport.swift:103:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
101 |     /// persistent caches, cookies, or credential storage.
102 |     public init() {
103 |         let configuration = URLSessionConfiguration.ephemeral
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
104 |         configuration.urlCache = nil
105 |         self.init(session: URLSession(configuration: configuration))
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:105:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
103 |         let configuration = URLSessionConfiguration.ephemeral
104 |         configuration.urlCache = nil
105 |         self.init(session: URLSession(configuration: configuration))
    |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
106 |     }
107 |
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:116:26: error: cannot find 'URLRequest' in scope
114 |
115 |     public func execute(_ request: HTTPTransportRequest) async throws -> HTTPTransportResponse {
116 |         var urlRequest = URLRequest(url: request.url)
    |                          `- error: cannot find 'URLRequest' in scope
117 |         urlRequest.httpMethod = request.method
118 |         urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:130:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
128 |         return try await withTaskCancellationHandler {
129 |             try await withCheckedThrowingContinuation { continuation in
130 |                 let task = session.dataTask(with: urlRequest) { data, response, error in
    |                                    `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
131 |                     if let error {
132 |                         if (error as? URLError)?.code == .cancelled {
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:175:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
173 |         defer { lock.unlock() }
174 |         if isCancelled {
175 |             task.cancel()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
176 |         } else {
177 |             self.task = task
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:185:15: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
183 |         defer { lock.unlock() }
184 |         isCancelled = true
185 |         task?.cancel()
    |               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
186 |     }
187 | }
[5/15] Compiling Ipregistry UserAgent.swift
[6/15] Compiling Ipregistry Version.swift
[7/15] Compiling Ipregistry IPInfo.swift
[8/15] Compiling Ipregistry IpregistryClient.swift
[9/15] Compiling Ipregistry LookupOptions.swift
[10/15] Compiling Ipregistry Location.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Compiling Ipregistry BatchResults.swift
[12/15] Compiling Ipregistry Cache.swift
[13/15] Compiling Ipregistry Configuration.swift
[14/15] Compiling Ipregistry Errors.swift
[15/15] Emitting module Ipregistry
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:98:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 | /// The default ``HTTPTransport``, backed by a `URLSession`.
 97 | public struct URLSessionTransport: HTTPTransport {
 98 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |
100 |     /// Creates a transport with its own ephemeral `URLSession`, which uses no
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:111:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |     /// over connection pooling, proxying, TLS, and instrumentation. The caller
110 |     /// retains ownership of the session.
111 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |         self.session = session
113 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:98:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 96 | /// The default ``HTTPTransport``, backed by a `URLSession`.
 97 | public struct URLSessionTransport: HTTPTransport {
 98 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 99 |
100 |     /// Creates a transport with its own ephemeral `URLSession`, which uses no
/host/spi-builder-workspace/Sources/Ipregistry/HTTPTransport.swift:168:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | private final class DataTaskBox: @unchecked Sendable {
167 |     private let lock = NSLock()
168 |     private var task: URLSessionDataTask?
    |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |     private var isCancelled = false
170 |
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/Ipregistry/HTTPTransport.swift:171:24: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |     private var isCancelled = false
170 |
171 |     func store(_ task: URLSessionDataTask) {
    |                        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |         lock.lock()
173 |         defer { lock.unlock() }
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
BUILD FAILURE 6.3 wasm