The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Ipregistry, reference 1.0.0 (a4904c), with Swift 6.2 for Wasm on 16 Jul 2026 06:11:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipregistry/ipregistry-swift.git
Reference: 1.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/ipregistry/ipregistry-swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a4904ce Use bash for release test gate steps running in the Swift container
Cloned https://github.com/ipregistry/ipregistry-swift.git
Revision (git rev-parse @):
a4904cee37423f3a9ba00ed0ce185e42cbaad0cc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ipregistry/ipregistry-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ipregistry/ipregistry-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Ipregistry LookupOptions.swift
[4/14] Compiling Ipregistry UserAgent.swift
[5/15] Compiling Ipregistry Version.swift
[6/15] Compiling Ipregistry BatchResults.swift
[7/15] Compiling Ipregistry Cache.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Compiling Ipregistry Configuration.swift
[9/15] Compiling Ipregistry Errors.swift
[10/15] Compiling Ipregistry Location.swift
[11/15] Compiling Ipregistry IPInfo.swift
[12/15] Compiling Ipregistry IpregistryClient.swift
[13/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 'URLSession' (aka '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 'URLSession' (aka '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
[14/15] 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 'URLSession' (aka '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 'URLSession' (aka '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:144:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
142 |                     }
143 |                     var headers: [String: String] = [:]
144 |                     for (name, value) in httpResponse.allHeaderFields {
    |                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
145 |                         headers[String(describing: name)] = String(describing: value)
146 |                     }
/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 | }
[15/15] 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 'URLSession' (aka '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 'URLSession' (aka '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:144:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
142 |                     }
143 |                     var headers: [String: String] = [:]
144 |                     for (name, value) in httpResponse.allHeaderFields {
    |                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
145 |                         headers[String(describing: name)] = String(describing: value)
146 |                     }
/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 | }
BUILD FAILURE 6.2 wasm