Build Information
Failed to build WAservix, reference v1.0.1 (26fb7f), with Swift 6.3 for Wasm on 13 Nov 2026 12:51:46 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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TekservixHQ/waservix-swift.git
Reference: v1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/TekservixHQ/waservix-swift
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 26fb7fb Mark JSONValue as Sendable
Cloned https://github.com/TekservixHQ/waservix-swift.git
Revision (git rev-parse @):
26fb7fba1a70188536fd75084c1b653cbfcabb8c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/TekservixHQ/waservix-swift.git at v1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/TekservixHQ/waservix-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.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:404d9f92dde919fe554c9d5fda9b03708bc2858ae850b6a992d65e289f55b404
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling WAservix JSONValue.swift
[4/5] Emitting module WAservix
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:8:39: error: cannot find type 'URLRequest' in scope
6 | /// Sends a request and returns the raw body and response. Swap it out in tests
7 | /// or to add your own logging, retries or proxy.
8 | public typealias WAservixTransport = (URLRequest) async throws -> (Data, HTTPURLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | /// Thrown when the API answers with an error. A 503 means the device is reconnecting: retry shortly.
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:57:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |
56 | /// Default transport built on URLSession (works on Apple platforms and Linux).
57 | public static func urlSessionTransport(_ session: URLSession) -> WAservixTransport {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | return { request in
59 | try await withCheckedThrowingContinuation { continuation in
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/WAservix/WAservixClient.swift:257:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 | }
256 |
257 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 | for (key, value) in response.allHeaderFields {
259 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[5/5] Compiling WAservix WAservixClient.swift
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:8:39: error: cannot find type 'URLRequest' in scope
6 | /// Sends a request and returns the raw body and response. Swap it out in tests
7 | /// or to add your own logging, retries or proxy.
8 | public typealias WAservixTransport = (URLRequest) async throws -> (Data, HTTPURLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | /// Thrown when the API answers with an error. A 503 means the device is reconnecting: retry shortly.
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:57:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |
56 | /// Default transport built on URLSession (works on Apple platforms and Linux).
57 | public static func urlSessionTransport(_ session: URLSession) -> WAservixTransport {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | return { request in
59 | try await withCheckedThrowingContinuation { continuation in
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/WAservix/WAservixClient.swift:257:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 | }
256 |
257 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 | for (key, value) in response.allHeaderFields {
259 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:53:75: error: cannot infer contextual base in reference to member 'shared'
51 | self.baseURL = url
52 | self.timeout = timeout
53 | self.transport = transport ?? WAservixClient.urlSessionTransport(.shared)
| `- error: cannot infer contextual base in reference to member 'shared'
54 | }
55 |
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:59:23: error: generic parameter 'T' could not be inferred
57 | public static func urlSessionTransport(_ session: URLSession) -> WAservixTransport {
58 | return { request in
59 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
60 | let task = session.dataTask(with: request) { data, response, error in
61 | if let error = error {
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:60:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
58 | return { request in
59 | try await withCheckedThrowingContinuation { continuation in
60 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
61 | if let error = error {
62 | continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:82:19: error: cannot find 'URLRequest' in scope
80 | throw WAservixError(status: 0, message: "Invalid URL: \(baseURL + path)", errors: nil, body: nil, retryAfter: nil)
81 | }
82 | var req = URLRequest(url: url, timeoutInterval: timeout)
| `- error: cannot find 'URLRequest' in scope
83 | req.httpMethod = method.uppercased()
84 | req.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/WAservix/WAservixClient.swift:258:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
256 |
257 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
258 | for (key, value) in response.allHeaderFields {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
259 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
260 | }
BUILD FAILURE 6.3 wasm