Build Information
Failed to build Enconvert, reference master (14f0d7), with Swift 6.1 for Wasm on 23 Sep 2026 10:41:43 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/enconvert/swift-sdk.git
Reference: master
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/enconvert/swift-sdk
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 14f0d75 feat: userAgent init parameter and enconvert-sdk/<version> (swift) User-Agent; 0.1.1
Cloned https://github.com/enconvert/swift-sdk.git
Revision (git rev-parse @):
14f0d75dddc0ad8972d454d3681174c262df4e82
SUCCESS checkout https://github.com/enconvert/swift-sdk.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/enconvert/swift-sdk.git
https://github.com/enconvert/swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.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:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module Enconvert
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:21:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let timeout: TimeInterval
20 | let userAgent: String
21 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | init(apiKey: String, baseURL: String, timeout: TimeInterval, userAgent: String) {
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
[4/14] Compiling Enconvert Version.swift
[5/14] Compiling Enconvert Transport.swift
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:21:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let timeout: TimeInterval
20 | let userAgent: String
21 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | init(apiKey: String, baseURL: String, timeout: TimeInterval, userAgent: String) {
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/Enconvert/Transport.swift:28:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
26 | self.timeout = timeout
27 | self.userAgent = userAgent
28 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
29 | configuration.timeoutIntervalForRequest = timeout
30 | configuration.timeoutIntervalForResource = timeout
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:31:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
29 | configuration.timeoutIntervalForRequest = timeout
30 | configuration.timeoutIntervalForResource = timeout
31 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 | }
33 |
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:57:23: error: cannot find 'URLRequest' in scope
55 | throw EnconvertError.invalidArgument("Invalid URL: \(baseURL)\(path)")
56 | }
57 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
58 | request.httpMethod = method
59 | request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:67:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
65 | }
66 |
67 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | let httpResponse = response as? HTTPURLResponse
69 | var headers: [String: String] = [:]
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:70:60: error: pattern cannot match values of type '(key: AnyHashable, value: Any)'
68 | let httpResponse = response as? HTTPURLResponse
69 | var headers: [String: String] = [:]
70 | for (name, value) in httpResponse?.allHeaderFields ?? [:] {
| `- error: pattern cannot match values of type '(key: AnyHashable, value: Any)'
71 | if let name = name as? String, let value = value as? String {
72 | headers[name.lowercased()] = value
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:88:23: error: cannot find 'URLRequest' in scope
86 | throw EnconvertError.invalidArgument("Invalid URL: \(baseURL)\(path)")
87 | }
88 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
89 | request.httpMethod = method
90 | request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:95:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
93 | request.httpBody = body
94 |
95 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
96 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
97 | return (data, statusCode)
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:96:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | let (data, response) = try await session.data(for: request)
96 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | return (data, statusCode)
98 | }
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:129:23: error: cannot find 'URLRequest' in scope
127 | throw EnconvertError.invalidArgument("Invalid download URL: \(url)")
128 | }
129 | let request = URLRequest(url: downloadURL)
| `- error: cannot find 'URLRequest' in scope
130 | let (data, response) = try await session.data(for: request)
131 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:130:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
128 | }
129 | let request = URLRequest(url: downloadURL)
130 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
131 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
132 | guard (200...299).contains(statusCode) else {
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:131:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 | let request = URLRequest(url: downloadURL)
130 | let (data, response) = try await session.data(for: request)
131 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 | guard (200...299).contains(statusCode) else {
133 | throw EnconvertError.api(statusCode: statusCode, message: "Failed to download: HTTP \(statusCode)")
[6/14] Compiling Enconvert V2Types.swift
[7/14] Compiling Enconvert V2Types+Extraction.swift
[8/14] Compiling Enconvert Types.swift
[9/14] Compiling Enconvert Internal.swift
[10/14] Compiling Enconvert JSONValue.swift
[11/14] Compiling Enconvert Errors.swift
[12/14] Compiling Enconvert Formats.swift
[13/14] Compiling Enconvert Client.swift
[14/14] Compiling Enconvert EnconvertV2.swift
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
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
[2/12] Compiling Enconvert Internal.swift
[3/12] Compiling Enconvert JSONValue.swift
[4/13] Compiling Enconvert Version.swift
[5/13] Compiling Enconvert V2Types+Extraction.swift
[6/13] Compiling Enconvert Types.swift
[7/13] Compiling Enconvert V2Types.swift
[8/13] Compiling Enconvert Transport.swift
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:21:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let timeout: TimeInterval
20 | let userAgent: String
21 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | init(apiKey: String, baseURL: String, timeout: TimeInterval, userAgent: String) {
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/Enconvert/Transport.swift:28:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
26 | self.timeout = timeout
27 | self.userAgent = userAgent
28 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
29 | configuration.timeoutIntervalForRequest = timeout
30 | configuration.timeoutIntervalForResource = timeout
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:31:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
29 | configuration.timeoutIntervalForRequest = timeout
30 | configuration.timeoutIntervalForResource = timeout
31 | self.session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 | }
33 |
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:57:23: error: cannot find 'URLRequest' in scope
55 | throw EnconvertError.invalidArgument("Invalid URL: \(baseURL)\(path)")
56 | }
57 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
58 | request.httpMethod = method
59 | request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:67:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
65 | }
66 |
67 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | let httpResponse = response as? HTTPURLResponse
69 | var headers: [String: String] = [:]
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:70:60: error: pattern cannot match values of type '(key: AnyHashable, value: Any)'
68 | let httpResponse = response as? HTTPURLResponse
69 | var headers: [String: String] = [:]
70 | for (name, value) in httpResponse?.allHeaderFields ?? [:] {
| `- error: pattern cannot match values of type '(key: AnyHashable, value: Any)'
71 | if let name = name as? String, let value = value as? String {
72 | headers[name.lowercased()] = value
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:88:23: error: cannot find 'URLRequest' in scope
86 | throw EnconvertError.invalidArgument("Invalid URL: \(baseURL)\(path)")
87 | }
88 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
89 | request.httpMethod = method
90 | request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:95:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
93 | request.httpBody = body
94 |
95 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
96 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
97 | return (data, statusCode)
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:96:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 |
95 | let (data, response) = try await session.data(for: request)
96 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
97 | return (data, statusCode)
98 | }
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:129:23: error: cannot find 'URLRequest' in scope
127 | throw EnconvertError.invalidArgument("Invalid download URL: \(url)")
128 | }
129 | let request = URLRequest(url: downloadURL)
| `- error: cannot find 'URLRequest' in scope
130 | let (data, response) = try await session.data(for: request)
131 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:130:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
128 | }
129 | let request = URLRequest(url: downloadURL)
130 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
131 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
132 | guard (200...299).contains(statusCode) else {
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:131:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 | let request = URLRequest(url: downloadURL)
130 | let (data, response) = try await session.data(for: request)
131 | let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 | guard (200...299).contains(statusCode) else {
133 | throw EnconvertError.api(statusCode: statusCode, message: "Failed to download: HTTP \(statusCode)")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Compiling Enconvert Errors.swift
[10/13] Compiling Enconvert Formats.swift
[11/13] Compiling Enconvert Client.swift
[12/13] Compiling Enconvert EnconvertV2.swift
[13/13] Emitting module Enconvert
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:21:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | let timeout: TimeInterval
20 | let userAgent: String
21 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | init(apiKey: String, baseURL: String, timeout: TimeInterval, userAgent: String) {
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
BUILD FAILURE 6.1 wasm