Build Information
Failed to build swift-ledger-kit, reference 1.0.0 (2786bd), with Swift 6.3 for Wasm on 4 Sep 2026 23:33:54 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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/freepicheep/swift-ledger-kit.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/freepicheep/swift-ledger-kit
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 2786bda Update README.md with SPI badges
Cloned https://github.com/freepicheep/swift-ledger-kit.git
Revision (git rev-parse @):
2786bda85b49d59d86df8bda462b0ee10af82366
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/freepicheep/swift-ledger-kit.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/freepicheep/swift-ledger-kit.git
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.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/10] Write sources
[6/10] Write swift-version-24593BA9C3E375BF.txt
[8/18] Compiling LedgerModels Primitives.swift
[9/18] Compiling LedgerModels Operations.swift
[10/18] Emitting module LedgerSchemaGenerator
[11/18] Compiling LedgerSchemaGenerator main.swift
[12/19] Wrapping AST for LedgerSchemaGenerator for debugging
[13/19] Write Objects.LinkFileList
[14/19] Linking ledger-schema-generator.wasm
[16/19] Emitting module LedgerModels
[17/19] Compiling LedgerModels Entities.swift
[18/19] Compiling LedgerModels GeneratedSchemaModels.swift
[19/19] Compiling LedgerModels JSONValue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/23] Emitting module LedgerTransport
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:8:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
10 | self.session = URLSession(configuration: configuration)
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/LedgerTransport/URLSessionTransport.swift:9:30: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | self.session = URLSession(configuration: configuration)
11 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:9:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
10 | self.session = URLSession(configuration: configuration)
11 | }
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:9:57: error: value of type '_' expected to be instance of class or class-constrained type
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | self.session = URLSession(configuration: configuration)
11 | }
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:10:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
10 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
11 | }
12 |
[22/23] Compiling LedgerTransport HTTPTypes.swift
[23/23] Compiling LedgerTransport URLSessionTransport.swift
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:8:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
10 | self.session = URLSession(configuration: configuration)
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/LedgerTransport/URLSessionTransport.swift:9:30: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | self.session = URLSession(configuration: configuration)
11 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:9:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
10 | self.session = URLSession(configuration: configuration)
11 | }
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:9:57: error: value of type '_' expected to be instance of class or class-constrained type
7 | public actor URLSessionTransport: HTTPTransport {
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | self.session = URLSession(configuration: configuration)
11 | }
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:10:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 | private let session: URLSession
9 | public init(configuration: URLSessionConfiguration = .ephemeral) {
10 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
11 | }
12 |
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:14:22: error: cannot find 'URLRequest' in scope
12 |
13 | public func send(_ request: HTTPRequest) async throws -> HTTPResponse {
14 | var urlRequest = URLRequest(url: request.url)
| `- error: cannot find 'URLRequest' in scope
15 | urlRequest.httpMethod = request.method.rawValue
16 | urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LedgerTransport/URLSessionTransport.swift:19:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
17 | for (name, value) in request.headers { urlRequest.setValue(value, forHTTPHeaderField: name) }
18 | do {
19 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
20 | guard let http = response as? HTTPURLResponse else { throw TransportError.invalidResponse }
21 | var headers: [String: String] = [:]
BUILD FAILURE 6.3 wasm