Build Information
Failed to build Jobvetta, reference main (a252cb), with Swift 6.1 for Wasm on 13 Aug 2026 22:48:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/jobvetta/jobvetta-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/jobvetta/jobvetta-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a252cb1 Publish the Jobvetta Swift SDK
Cloned https://github.com/jobvetta/jobvetta-swift.git
Revision (git rev-parse @):
a252cb182942e69ec34b0d7cd3c6169c46b98e9d
SUCCESS checkout https://github.com/jobvetta/jobvetta-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jobvetta/jobvetta-swift.git
https://github.com/jobvetta/jobvetta-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Jobvetta
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:171:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | private let apiKey: String
170 | private let baseURL: URL
171 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |
173 | public init(
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/Jobvetta/Jobvetta.swift:176:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
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/Jobvetta/Jobvetta.swift:176:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
[4/4] Compiling Jobvetta Jobvetta.swift
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:171:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | private let apiKey: String
170 | private let baseURL: URL
171 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |
173 | public init(
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/Jobvetta/Jobvetta.swift:176:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
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/Jobvetta/Jobvetta.swift:176:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:231:23: error: cannot find 'URLRequest' in scope
229 |
230 | private func get<T: Decodable>(_ url: URL) async throws -> T {
231 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
232 | request.httpMethod = "GET"
233 | request.timeoutInterval = 30
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:239:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |
238 | let data: Data
239 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 | do {
241 | (data, response) = try await session.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:241:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 | let response: URLResponse
240 | do {
241 | (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
242 | } catch {
243 | throw JobvettaError.request(error.localizedDescription)
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:246:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
244 | }
245 |
246 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
247 | throw JobvettaError.request("received a non-HTTP response")
248 | }
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:246:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | }
245 |
246 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
247 | throw JobvettaError.request("received a non-HTTP response")
248 | }
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/Jobvetta/Jobvetta.swift:255:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
253 | throw JobvettaError.emptyResponse
254 | }
255 | guard (200..<300).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
256 | let message = ((try? JSONSerialization.jsonObject(with: data)) as? [String: Any])?["error"] as? String
257 | throw JobvettaError.api(
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:258:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
256 | let message = ((try? JSONSerialization.jsonObject(with: data)) as? [String: Any])?["error"] as? String
257 | throw JobvettaError.api(
258 | status: httpResponse.statusCode,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
259 | message: message?.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty == false
260 | ? message!
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:261:75: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
259 | message: message?.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty == false
260 | ? message!
261 | : "Jobvetta request failed with status \(httpResponse.statusCode)",
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
262 | body: data
263 | )
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/3] Emitting module Jobvetta
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:171:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | private let apiKey: String
170 | private let baseURL: URL
171 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |
173 | public init(
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/Jobvetta/Jobvetta.swift:176:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
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/Jobvetta/Jobvetta.swift:176:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
[3/3] Compiling Jobvetta Jobvetta.swift
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:171:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | private let apiKey: String
170 | private let baseURL: URL
171 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |
173 | public init(
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/Jobvetta/Jobvetta.swift:176:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
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/Jobvetta/Jobvetta.swift:176:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
174 | apiKey: String,
175 | baseURL: URL = jobvettaDefaultBaseURL,
176 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | ) throws {
178 | let normalizedKey = apiKey.trimmingCharacters(in: .whitespacesAndNewlines)
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:231:23: error: cannot find 'URLRequest' in scope
229 |
230 | private func get<T: Decodable>(_ url: URL) async throws -> T {
231 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
232 | request.httpMethod = "GET"
233 | request.timeoutInterval = 30
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:239:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |
238 | let data: Data
239 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 | do {
241 | (data, response) = try await session.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:241:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 | let response: URLResponse
240 | do {
241 | (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
242 | } catch {
243 | throw JobvettaError.request(error.localizedDescription)
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:246:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
244 | }
245 |
246 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
247 | throw JobvettaError.request("received a non-HTTP response")
248 | }
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:246:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | }
245 |
246 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
247 | throw JobvettaError.request("received a non-HTTP response")
248 | }
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/Jobvetta/Jobvetta.swift:255:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
253 | throw JobvettaError.emptyResponse
254 | }
255 | guard (200..<300).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
256 | let message = ((try? JSONSerialization.jsonObject(with: data)) as? [String: Any])?["error"] as? String
257 | throw JobvettaError.api(
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:258:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
256 | let message = ((try? JSONSerialization.jsonObject(with: data)) as? [String: Any])?["error"] as? String
257 | throw JobvettaError.api(
258 | status: httpResponse.statusCode,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
259 | message: message?.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty == false
260 | ? message!
/host/spi-builder-workspace/Sources/Jobvetta/Jobvetta.swift:261:75: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
259 | message: message?.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty == false
260 | ? message!
261 | : "Jobvetta request failed with status \(httpResponse.statusCode)",
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
262 | body: data
263 | )
BUILD FAILURE 6.1 wasm