Build Information
Failed to build Spidra, reference 1.0.0 (24bacd), with Swift 6.2 for Wasm on 27 Apr 2026 10:51:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/spidra-io/spidra-swift.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/spidra-io/spidra-swift
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 24bacd2 Initialize Spidra Swift SDK with full API models and resources mapping
Cloned https://github.com/spidra-io/spidra-swift.git
Revision (git rev-parse @):
24bacd2557e7422c6b379b650aad4aded3f7fa3d
SUCCESS checkout https://github.com/spidra-io/spidra-swift.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/spidra-io/spidra-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Spidra Batch.swift
[4/17] Compiling Spidra Core.swift
[5/17] Compiling Spidra CrawlResource.swift
[6/17] Compiling Spidra LogsResource.swift
[7/17] Compiling Spidra ScrapeResource.swift
[8/17] Compiling Spidra UsageResource.swift
[9/17] Compiling Spidra SpidraClient.swift
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:9:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:9:62: error: value of type '_' expected to be instance of class or class-constrained type
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | self.config = config
11 | self.session = session
[10/17] Compiling Spidra AnyCodable.swift
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:9:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:9:62: error: value of type '_' expected to be instance of class or class-constrained type
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | self.config = config
11 | self.session = session
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] Emitting module Spidra
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:5:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public class HttpClient {
4 | private let config: SpidraConfig
5 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let encoder: JSONEncoder
7 | private let decoder: JSONDecoder
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/Spidra/HTTPClient.swift:9:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | self.config = config
11 | self.session = session
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/Spidra/HTTPClient.swift:9:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:9:62: error: value of type '_' expected to be instance of class or class-constrained type
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:34:104: error: cannot find type 'URLRequest' in scope
32 | }
33 |
34 | private func createRequest<T: Codable>(endpoint: String, method: String, body: T? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
35 | guard let url = URL(string: config.baseUrl + endpoint) else {
36 | throw SpidraError.networkError(URLError(.badURL))
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:51:76: error: cannot find type 'URLRequest' in scope
49 | }
50 |
51 | private func createRequest(endpoint: String, method: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | guard let url = URL(string: config.baseUrl + endpoint) else {
53 | throw SpidraError.networkError(URLError(.badURL))
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:64:47: error: cannot find type 'URLRequest' in scope
62 | }
63 |
64 | private func execute<U: Codable>(request: URLRequest) async throws -> U {
| `- error: cannot find type 'URLRequest' in scope
65 | let (data, response) = try await session.data(for: request)
66 |
[12/18] Compiling Spidra HTTPClient.swift
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:5:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public class HttpClient {
4 | private let config: SpidraConfig
5 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let encoder: JSONEncoder
7 | private let decoder: JSONDecoder
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/Spidra/HTTPClient.swift:9:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | self.config = config
11 | self.session = session
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/Spidra/HTTPClient.swift:9:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:9:62: error: value of type '_' expected to be instance of class or class-constrained type
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:34:104: error: cannot find type 'URLRequest' in scope
32 | }
33 |
34 | private func createRequest<T: Codable>(endpoint: String, method: String, body: T? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
35 | guard let url = URL(string: config.baseUrl + endpoint) else {
36 | throw SpidraError.networkError(URLError(.badURL))
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:51:76: error: cannot find type 'URLRequest' in scope
49 | }
50 |
51 | private func createRequest(endpoint: String, method: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | guard let url = URL(string: config.baseUrl + endpoint) else {
53 | throw SpidraError.networkError(URLError(.badURL))
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:64:47: error: cannot find type 'URLRequest' in scope
62 | }
63 |
64 | private func execute<U: Codable>(request: URLRequest) async throws -> U {
| `- error: cannot find type 'URLRequest' in scope
65 | let (data, response) = try await session.data(for: request)
66 |
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:39:23: error: cannot find 'URLRequest' in scope
37 | }
38 |
39 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
40 | request.httpMethod = method
41 | request.setValue("Bearer \(config.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method
58 | request.setValue("Bearer \(config.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:65:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
63 |
64 | private func execute<U: Codable>(request: URLRequest) async throws -> U {
65 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
66 |
67 | guard let httpResponse = response as? HTTPURLResponse else {
[13/18] Compiling Spidra BatchResource.swift
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:5:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public class HttpClient {
4 | private let config: SpidraConfig
5 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let encoder: JSONEncoder
7 | private let decoder: JSONDecoder
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/Spidra/HTTPClient.swift:9:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | self.config = config
11 | self.session = session
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/Spidra/HTTPClient.swift:9:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:9:62: error: value of type '_' expected to be instance of class or class-constrained type
7 | private let decoder: JSONDecoder
8 |
9 | public init(config: SpidraConfig, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | self.config = config
11 | self.session = session
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:34:104: error: cannot find type 'URLRequest' in scope
32 | }
33 |
34 | private func createRequest<T: Codable>(endpoint: String, method: String, body: T? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
35 | guard let url = URL(string: config.baseUrl + endpoint) else {
36 | throw SpidraError.networkError(URLError(.badURL))
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:51:76: error: cannot find type 'URLRequest' in scope
49 | }
50 |
51 | private func createRequest(endpoint: String, method: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | guard let url = URL(string: config.baseUrl + endpoint) else {
53 | throw SpidraError.networkError(URLError(.badURL))
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:64:47: error: cannot find type 'URLRequest' in scope
62 | }
63 |
64 | private func execute<U: Codable>(request: URLRequest) async throws -> U {
| `- error: cannot find type 'URLRequest' in scope
65 | let (data, response) = try await session.data(for: request)
66 |
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:39:23: error: cannot find 'URLRequest' in scope
37 | }
38 |
39 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
40 | request.httpMethod = method
41 | request.setValue("Bearer \(config.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method
58 | request.setValue("Bearer \(config.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Spidra/HTTPClient.swift:65:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
63 |
64 | private func execute<U: Codable>(request: URLRequest) async throws -> U {
65 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
66 |
67 | guard let httpResponse = response as? HTTPURLResponse else {
[14/18] Compiling Spidra Crawl.swift
[15/18] Compiling Spidra Logs.swift
[16/18] Compiling Spidra Scrape.swift
[17/18] Compiling Spidra SpidraError.swift
[18/18] Compiling Spidra Usage.swift
BUILD FAILURE 6.2 wasm