Build Information
Failed to build SlackKit, reference main (9671d7), with Swift 6.2 for Wasm on 5 Feb 2026 01:45:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/diegotl/SlackKit.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/diegotl/SlackKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9671d79 Add AI code review workflow
Cloned https://github.com/diegotl/SlackKit.git
Revision (git rev-parse @):
9671d79002a5bddd80987a74ebca303f303c6f7e
SUCCESS checkout https://github.com/diegotl/SlackKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/diegotl/SlackKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
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/28] Compiling SlackKit ImageBlock.swift
[4/28] Compiling SlackKit InputBlock.swift
[5/28] Compiling SlackKit SectionBlock+Builder.swift
[6/28] Compiling SlackKit SectionBlock.swift
[7/28] Emitting module SlackKit
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: value of type '_' expected to be instance of class or class-constrained type
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// A URLSession-based implementation of NetworkClient
9 | public actor URLSessionNetworkClient: NetworkClient {
10 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | /// Initializes a new URLSession network client
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/SlackKit/Client/URLSessionNetworkClient.swift:14:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | self.session = session
16 | }
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
[8/28] Compiling SlackKit NetworkClient.swift
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: value of type '_' expected to be instance of class or class-constrained type
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// A URLSession-based implementation of NetworkClient
9 | public actor URLSessionNetworkClient: NetworkClient {
10 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | /// Initializes a new URLSession network client
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/SlackKit/Client/URLSessionNetworkClient.swift:14:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | self.session = session
16 | }
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/SlackKit/Client/URLSessionNetworkClient.swift:19:23: error: cannot find 'URLRequest' in scope
17 |
18 | public func post(url: URL, body: Data) async throws -> HTTPResponse {
19 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
20 | request.httpMethod = "POST"
21 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:25:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
23 |
24 | do {
25 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
26 |
27 | guard let httpResponse = response as? HTTPURLResponse else {
[9/28] Compiling SlackKit SlackWebhookClient.swift
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: value of type '_' expected to be instance of class or class-constrained type
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// A URLSession-based implementation of NetworkClient
9 | public actor URLSessionNetworkClient: NetworkClient {
10 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | /// Initializes a new URLSession network client
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/SlackKit/Client/URLSessionNetworkClient.swift:14:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | self.session = session
16 | }
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/SlackKit/Client/URLSessionNetworkClient.swift:19:23: error: cannot find 'URLRequest' in scope
17 |
18 | public func post(url: URL, body: Data) async throws -> HTTPResponse {
19 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
20 | request.httpMethod = "POST"
21 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:25:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
23 |
24 | do {
25 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
26 |
27 | guard let httpResponse = response as? HTTPURLResponse else {
[10/28] Compiling SlackKit URLSessionNetworkClient.swift
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: value of type '_' expected to be instance of class or class-constrained type
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// A URLSession-based implementation of NetworkClient
9 | public actor URLSessionNetworkClient: NetworkClient {
10 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | /// Initializes a new URLSession network client
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/SlackKit/Client/URLSessionNetworkClient.swift:14:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | self.session = session
16 | }
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/SlackKit/Client/URLSessionNetworkClient.swift:19:23: error: cannot find 'URLRequest' in scope
17 |
18 | public func post(url: URL, body: Data) async throws -> HTTPResponse {
19 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
20 | request.httpMethod = "POST"
21 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:25:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
23 |
24 | do {
25 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
26 |
27 | guard let httpResponse = response as? HTTPURLResponse else {
[11/28] Compiling SlackKit SlackError.swift
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: value of type '_' expected to be instance of class or class-constrained type
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:14:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 | self.session = session
16 | }
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// A URLSession-based implementation of NetworkClient
9 | public actor URLSessionNetworkClient: NetworkClient {
10 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | /// Initializes a new URLSession network client
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/SlackKit/Client/URLSessionNetworkClient.swift:14:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Initializes a new URLSession network client
13 | /// - Parameter session: The URLSession to use for requests (defaults to shared)
14 | public init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | self.session = session
16 | }
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/SlackKit/Client/URLSessionNetworkClient.swift:19:23: error: cannot find 'URLRequest' in scope
17 |
18 | public func post(url: URL, body: Data) async throws -> HTTPResponse {
19 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
20 | request.httpMethod = "POST"
21 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/SlackKit/Client/URLSessionNetworkClient.swift:25:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
23 |
24 | do {
25 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
26 |
27 | guard let httpResponse = response as? HTTPURLResponse else {
[12/31] Compiling SlackKit Block.swift
[13/31] Compiling SlackKit ActionsBlock+Builder.swift
[14/31] Compiling SlackKit ActionsBlock.swift
[15/31] Compiling SlackKit CallBlock.swift
[16/31] Compiling SlackKit ButtonElement.swift
[17/31] Compiling SlackKit DatePickerElement.swift
[18/31] Compiling SlackKit ImageElement.swift
[19/31] Compiling SlackKit OverflowElement.swift
[20/31] Compiling SlackKit SelectElement+Builder.swift
[21/31] Compiling SlackKit StaticSelectElement.swift
[22/31] Compiling SlackKit ContextBlock+Builder.swift
[23/31] Compiling SlackKit ContextBlock.swift
[24/31] Compiling SlackKit DividerBlock.swift
[25/31] Compiling SlackKit HeaderBlock.swift
[26/31] Compiling SlackKit MultiSelectElement.swift
[27/31] Compiling SlackKit OptionGroup+Builder.swift
[28/31] Compiling SlackKit OverflowElement+Builder.swift
[29/31] Compiling SlackKit Message+Builder.swift
[30/31] Compiling SlackKit Message.swift
[31/31] Compiling SlackKit SlackKit.swift
BUILD FAILURE 6.2 wasm