The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ErrorKit, reference v2.1.0 (8144f3), with Swift 6.2 for Wasm on 25 Jun 2026 23:33:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/ErrorKit.git
Reference: v2.1.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/stackotter/ErrorKit
 * tag               v2.1.0     -> FETCH_HEAD
HEAD is now at 8144f39 Remove SendableMetatype (introduced in previous commit); requires Swift 6.2
Cloned https://github.com/stackotter/ErrorKit.git
Revision (git rev-parse @):
8144f39785e845f9a4048bdf67825f8ae53c54ac
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/ErrorKit.git at v2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stackotter/ErrorKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/rarestype/h
[1/1274] Fetching h
Fetched https://github.com/rarestype/h from cache (0.36s)
Computing version for https://github.com/rarestype/h
Computed https://github.com/rarestype/h at 1.0.1 (0.54s)
Creating working copy for https://github.com/rarestype/h
Working copy of https://github.com/rarestype/h resolved at 1.0.1
Building for debugging...
[0/9] Write sources
[2/9] Copying PrivacyInfo.xcprivacy
[5/9] Copying Info.plist
[5/9] Write sources
[7/9] Copying Localizable.xcstrings
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/14] Emitting module BaseDigits
[11/14] Compiling BaseDigits BaseDigits.swift
[13/20] Compiling MessageAuthentication MessageAuthenticationHash.swift
[14/20] Emitting module MessageAuthentication
[15/20] Compiling MessageAuthentication MessageAuthenticationKey.swift
[16/21] Compiling Base16 Base16.Values.swift
[17/21] Compiling Base16 Base16.UppercaseDigits.swift
[18/21] Compiling Base16 Base16.swift
[20/21] Compiling Base16 Base16.LowercaseDigits.swift
[21/21] Emitting module Base16
[23/24] Emitting module SHA2
[24/24] Compiling SHA2 SHA256.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/48] Emitting module ErrorKit
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:43: error: cannot find 'DispatchQueue' in scope
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:102: error: cannot infer contextual base in reference to member 'concurrent'
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                                                                                      `- error: cannot infer contextual base in reference to member 'concurrent'
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:176:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
177 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
178 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[27/51] Compiling ErrorKit ErrorKit.swift
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:43: error: cannot find 'DispatchQueue' in scope
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:102: error: cannot infer contextual base in reference to member 'concurrent'
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                                                                                      `- error: cannot infer contextual base in reference to member 'concurrent'
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:313:44: error: cannot infer contextual base in reference to member 'barrier'
311 |    /// - Parameter mapper: The error mapper type to register
312 |    public static func registerMapper(_ mapper: ErrorMapper.Type) {
313 |       self.errorMappersQueue.async(flags: .barrier) {
    |                                            `- error: cannot infer contextual base in reference to member 'barrier'
314 |          self._errorMappers.append(mapper)
315 |       }
[28/51] Compiling ErrorKit ErrorMapper.swift
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:43: error: cannot find 'DispatchQueue' in scope
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:102: error: cannot infer contextual base in reference to member 'concurrent'
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                                                                                      `- error: cannot infer contextual base in reference to member 'concurrent'
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:313:44: error: cannot infer contextual base in reference to member 'barrier'
311 |    /// - Parameter mapper: The error mapper type to register
312 |    public static func registerMapper(_ mapper: ErrorMapper.Type) {
313 |       self.errorMappersQueue.async(flags: .barrier) {
    |                                            `- error: cannot infer contextual base in reference to member 'barrier'
314 |          self._errorMappers.append(mapper)
315 |       }
[29/51] Compiling ErrorKit CoreDataErrorMapper.swift
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:43: error: cannot find 'DispatchQueue' in scope
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:319:102: error: cannot infer contextual base in reference to member 'concurrent'
317 |
318 |    /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
319 |    private static let errorMappersQueue = DispatchQueue(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
    |                                                                                                      `- error: cannot infer contextual base in reference to member 'concurrent'
320 |
321 |    /// The collection of error mappers that ErrorKit uses to generate user-friendly messages.
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:313:44: error: cannot infer contextual base in reference to member 'barrier'
311 |    /// - Parameter mapper: The error mapper type to register
312 |    public static func registerMapper(_ mapper: ErrorMapper.Type) {
313 |       self.errorMappersQueue.async(flags: .barrier) {
    |                                            `- error: cannot infer contextual base in reference to member 'barrier'
314 |          self._errorMappers.append(mapper)
315 |       }
[30/51] Compiling ErrorKit OperationError.swift
[31/51] Compiling ErrorKit ParsingError.swift
[32/51] Compiling ErrorKit PermissionError.swift
[33/51] Compiling ErrorKit MailComposerModifier.swift
[34/51] Compiling ErrorKit MailComposerView.swift
[35/51] Compiling ErrorKit Throwable.swift
[36/51] Compiling ErrorKit FileManager+ErrorKit.swift
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:176:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
177 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
178 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:178:43: error: cannot find type 'URLRequest' in scope
176 | extension URLSession {
177 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
178 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                           `- error: cannot find type 'URLRequest' in scope
179 |       do {
180 |          return try await self.data(for: request)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[37/51] Compiling ErrorKit URLSession+ErrorKit.swift
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:176:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
177 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
178 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:178:43: error: cannot find type 'URLRequest' in scope
176 | extension URLSession {
177 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
178 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                           `- error: cannot find type 'URLRequest' in scope
179 |       do {
180 |          return try await self.data(for: request)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[38/51] Compiling ErrorKit resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:176:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
177 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
178 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:178:43: error: cannot find type 'URLRequest' in scope
176 | extension URLSession {
177 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
178 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                           `- error: cannot find type 'URLRequest' in scope
179 |       do {
180 |          return try await self.data(for: request)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[39/51] Compiling ErrorKit String+ErrorKit.swift
[40/51] Compiling ErrorKit ErrorKit+OSLog.swift
[41/51] Compiling ErrorKit MailAttachment.swift
[42/51] Compiling ErrorKit FoundationErrorMapper.swift
[43/51] Compiling ErrorKit MapKitErrorMapper.swift
[44/51] Compiling ErrorKit Logger+ErrorKit.swift
[45/51] Compiling ErrorKit StateError.swift
[46/51] Compiling ErrorKit ValidationError.swift
[47/51] Compiling ErrorKit Catching.swift
[48/51] Compiling ErrorKit DatabaseError.swift
[49/51] Compiling ErrorKit FileError.swift
[50/51] Compiling ErrorKit GenericError.swift
[51/51] Compiling ErrorKit NetworkError.swift
BUILD FAILURE 6.2 wasm