Build Information
Failed to build Ipregistry, reference main (dcde94), with Swift 6.1 for Wasm on 17 Aug 2026 10:39:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build 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.1
Building package at path: $PWD
https://github.com/ipregistry/ipregistry-swift.git
https://github.com/ipregistry/ipregistry-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Ipregistry Location.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/15] Compiling Ipregistry LookupOptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/15] Compiling Ipregistry UserAgent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/15] Compiling Ipregistry Configuration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Compiling Ipregistry Errors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/15] Compiling Ipregistry BatchResults.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/15] Compiling Ipregistry Cache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/15] Compiling Ipregistry IPInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/15] Compiling Ipregistry IpregistryClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/15] Emitting module Ipregistry
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
[13/15] Compiling Ipregistry HTTPTransport.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
[14/15] Compiling Ipregistry IPAddress+Apple.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 Version.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/13] 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
[3/14] Compiling Ipregistry BatchResults.swift
[4/14] Compiling Ipregistry Cache.swift
[5/14] Compiling Ipregistry Version.swift
[6/14] Compiling Ipregistry UserAgent.swift
[7/14] Compiling Ipregistry Location.swift
[8/14] Compiling Ipregistry LookupOptions.swift
[9/14] Compiling Ipregistry IPInfo.swift
[10/14] Compiling Ipregistry IpregistryClient.swift
[11/14] Compiling Ipregistry Configuration.swift
[12/14] Compiling Ipregistry Errors.swift
[13/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 '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 | }
[14/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 '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.1 wasm