Build Information
Failed to build FreeUseBibleAPI, reference 1.16.0 (2412d5), with Swift 6.3 for Wasm on 1 Nov 2026 17:40:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/HelloAOLab/bible-api-swift.git
Reference: 1.16.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/HelloAOLab/bible-api-swift
* tag 1.16.0 -> FETCH_HEAD
HEAD is now at 2412d51 Sync from HelloAOLab/bible-api@94a01e216beb263981b863b4dae6a6f46cbbfe3f
Cloned https://github.com/HelloAOLab/bible-api-swift.git
Revision (git rev-parse @):
2412d51da9df69f9cd9b97cb20caf27c876a796a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/HelloAOLab/bible-api-swift.git at 1.16.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/HelloAOLab/bible-api-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
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
[3/10] Compiling FreeUseBibleAPI VerseOfTheDay.swift
[4/10] Compiling FreeUseBibleAPI Operations.gen.swift
[5/10] Compiling FreeUseBibleAPI Helpers.swift
[6/10] Compiling FreeUseBibleAPI FreeUseBibleAPI.swift
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:24:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.session = session
26 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:24:40: error: value of type '_' expected to be instance of class or class-constrained type
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
25 | self.session = session
26 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/FreeUseBibleAPI.swift:68:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
66 | private static func load(_ url: URL, transport: any FreeUseBibleAPITransport) async throws -> Data {
67 | let (data, response) = try await transport.data(from: url)
68 | guard (200..<300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
69 | throw FreeUseBibleAPIError.requestFailed(url: url, statusCode: response.statusCode)
70 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/FreeUseBibleAPI.swift:69:85: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
67 | let (data, response) = try await transport.data(from: url)
68 | guard (200..<300).contains(response.statusCode) else {
69 | throw FreeUseBibleAPIError.requestFailed(url: url, statusCode: response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 | }
71 | return data
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module FreeUseBibleAPI
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:14:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// - Parameter url: The URL to request.
13 | /// - Returns: The body and the HTTP response.
14 | func data(from url: URL) async throws -> (Data, HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
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/FreeUseBibleAPI/Transport.swift:20:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public struct URLSessionTransport: FreeUseBibleAPITransport, @unchecked Sendable {
19 | /// The session that requests are made with.
20 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | /// Creates a new transport.
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/FreeUseBibleAPI/Transport.swift:24:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | self.session = session
26 | }
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/FreeUseBibleAPI/Transport.swift:24:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.session = session
26 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:24:40: error: value of type '_' expected to be instance of class or class-constrained type
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
25 | self.session = session
26 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:28:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
28 | public func data(from url: URL) async throws -> (Data, HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | let (data, response) = try await load(url)
30 | guard let httpResponse = response as? HTTPURLResponse else {
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/FreeUseBibleAPI/Transport.swift:36:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | private func load(_ url: URL) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | #if canImport(Darwin)
38 | if #available(macOS 12, iOS 15, tvOS 15, watchOS 8, *) {
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
[8/10] Compiling FreeUseBibleAPI JSONValue.swift
[9/10] Compiling FreeUseBibleAPI Types.gen.swift
[10/10] Compiling FreeUseBibleAPI Transport.swift
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:14:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// - Parameter url: The URL to request.
13 | /// - Returns: The body and the HTTP response.
14 | func data(from url: URL) async throws -> (Data, HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
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/FreeUseBibleAPI/Transport.swift:20:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public struct URLSessionTransport: FreeUseBibleAPITransport, @unchecked Sendable {
19 | /// The session that requests are made with.
20 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | /// Creates a new transport.
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/FreeUseBibleAPI/Transport.swift:24:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | self.session = session
26 | }
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/FreeUseBibleAPI/Transport.swift:24:40: error: value of type '_' expected to be instance of class or class-constrained type
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
25 | self.session = session
26 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:24:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// Creates a new transport.
23 | /// - Parameter session: The session to make requests with. Defaults to `URLSession.shared`.
24 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.session = session
26 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:28:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
28 | public func data(from url: URL) async throws -> (Data, HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | let (data, response) = try await load(url)
30 | guard let httpResponse = response as? HTTPURLResponse else {
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/FreeUseBibleAPI/Transport.swift:36:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | private func load(_ url: URL) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | #if canImport(Darwin)
38 | if #available(macOS 12, iOS 15, tvOS 15, watchOS 8, *) {
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/FreeUseBibleAPI/Transport.swift:30:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | public func data(from url: URL) async throws -> (Data, HTTPURLResponse) {
29 | let (data, response) = try await load(url)
30 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | throw URLError(.badServerResponse)
32 | }
/host/spi-builder-workspace/Sources/FreeUseBibleAPI/Transport.swift:30:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | public func data(from url: URL) async throws -> (Data, HTTPURLResponse) {
29 | let (data, response) = try await load(url)
30 | 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.
31 | throw URLError(.badServerResponse)
32 | }
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/FreeUseBibleAPI/Transport.swift:44:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
42 |
43 | return try await withCheckedThrowingContinuation { continuation in
44 | let task = session.dataTask(with: url) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
45 | if let error {
46 | continuation.resume(throwing: error)
BUILD FAILURE 6.3 wasm