Build Information
Failed to build SlackKit, reference v0.0.2 (4482c9), with Swift 6.3 for Wasm on 18 Apr 2026 10:33:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/diegotl/SlackKit.git
Reference: v0.0.2
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
* tag v0.0.2 -> FETCH_HEAD
HEAD is now at 4482c9c Merge pull request #1 from diegotl/feature/convenience-builder-api
Cloned https://github.com/diegotl/SlackKit.git
Revision (git rev-parse @):
4482c9c2ed4162f7f6bc5ada25fa47c6e213d576
SUCCESS checkout https://github.com/diegotl/SlackKit.git at v0.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/diegotl/SlackKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-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/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
[4/31] Compiling SlackKit OverflowElement.swift
[5/31] Compiling SlackKit SelectElement+Builder.swift
[6/31] Compiling SlackKit StaticSelectElement.swift
[7/31] Compiling SlackKit Message+Builder.swift
[8/31] Compiling SlackKit Message.swift
[9/31] Compiling SlackKit SlackKit.swift
[10/31] Compiling SlackKit ButtonElement.swift
[11/31] Compiling SlackKit DatePickerElement.swift
[12/31] Compiling SlackKit ImageElement.swift
[13/31] Compiling SlackKit Block.swift
[14/31] Compiling SlackKit ActionsBlock+Builder.swift
[15/31] Compiling SlackKit ActionsBlock.swift
[16/31] Compiling SlackKit CallBlock.swift
[17/31] Compiling SlackKit MultiSelectElement.swift
[18/31] Compiling SlackKit OptionGroup+Builder.swift
[19/31] Compiling SlackKit OverflowElement+Builder.swift
[20/31] Compiling SlackKit ImageBlock.swift
[21/31] Compiling SlackKit InputBlock.swift
[22/31] Compiling SlackKit SectionBlock+Builder.swift
[23/31] Compiling SlackKit SectionBlock.swift
[24/31] 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 {
[25/31] 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 {
[26/31] 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 {
[27/31] 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 {
[28/31] Compiling SlackKit ContextBlock+Builder.swift
[29/31] Compiling SlackKit ContextBlock.swift
[30/31] Compiling SlackKit DividerBlock.swift
[31/31] Compiling SlackKit HeaderBlock.swift
BUILD FAILURE 6.3 wasm