The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SlackKit, reference v0.0.2 (4482c9), with Swift 6.2 for Wasm on 4 Feb 2026 07:13:43 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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.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] Emitting module SlackKit
/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
[4/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 {
[5/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 {
[6/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 {
[7/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 {
[8/31] Compiling SlackKit ImageBlock.swift
[9/31] Compiling SlackKit InputBlock.swift
[10/31] Compiling SlackKit SectionBlock+Builder.swift
[11/31] Compiling SlackKit SectionBlock.swift
[12/31] Compiling SlackKit Message+Builder.swift
[13/31] Compiling SlackKit Message.swift
[14/31] Compiling SlackKit SlackKit.swift
[15/31] Compiling SlackKit ButtonElement.swift
[16/31] Compiling SlackKit DatePickerElement.swift
[17/31] Compiling SlackKit ImageElement.swift
[18/31] Compiling SlackKit ContextBlock+Builder.swift
[19/31] Compiling SlackKit ContextBlock.swift
[20/31] Compiling SlackKit DividerBlock.swift
[21/31] Compiling SlackKit HeaderBlock.swift
[22/31] Compiling SlackKit MultiSelectElement.swift
[23/31] Compiling SlackKit OptionGroup+Builder.swift
[24/31] Compiling SlackKit OverflowElement+Builder.swift
[25/31] Compiling SlackKit OverflowElement.swift
[26/31] Compiling SlackKit SelectElement+Builder.swift
[27/31] Compiling SlackKit StaticSelectElement.swift
[28/31] Compiling SlackKit Block.swift
[29/31] Compiling SlackKit ActionsBlock+Builder.swift
[30/31] Compiling SlackKit ActionsBlock.swift
[31/31] Compiling SlackKit CallBlock.swift
BUILD FAILURE 6.2 wasm