The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ErrorKit, reference v2.1.0 (8144f3), with Swift 6.1 for Wasm on 26 Jun 2026 03:32:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path:  $PWD
https://github.com/stackotter/ErrorKit.git
https://github.com/stackotter/ErrorKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/rarestype/h
[1/1274] Fetching h
Fetched https://github.com/rarestype/h from cache (0.41s)
Computing version for https://github.com/rarestype/h
Computed https://github.com/rarestype/h at 1.0.1 (0.67s)
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
[4/9] Copying Info.plist
[4/9] Copying PrivacyInfo.xcprivacy
[6/9] Write sources
[7/9] Copying Localizable.xcstrings
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/14] Emitting module BaseDigits
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/14] Compiling BaseDigits BaseDigits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/20] Compiling Base16 Base16.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/20] Compiling Base16 Base16.Values.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/20] Compiling Base16 Base16.UppercaseDigits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/20] Compiling Base16 Base16.LowercaseDigits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/20] Emitting module Base16
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/21] Emitting module MessageAuthentication
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/21] Compiling MessageAuthentication MessageAuthenticationHash.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/21] Compiling MessageAuthentication MessageAuthenticationKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/24] Emitting module SHA2
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/24] Compiling SHA2 SHA256.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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) {
[27/51] Compiling ErrorKit StateError.swift
[28/51] Compiling ErrorKit ValidationError.swift
[29/51] Compiling ErrorKit Catching.swift
[30/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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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)
[31/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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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)
[32/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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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)
[33/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 |       }
[34/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 |       }
[35/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 |       }
[36/51] Compiling ErrorKit FoundationErrorMapper.swift
[37/51] Compiling ErrorKit MapKitErrorMapper.swift
[38/51] Compiling ErrorKit Logger+ErrorKit.swift
[39/51] Compiling ErrorKit DatabaseError.swift
[40/51] Compiling ErrorKit FileError.swift
[41/51] Compiling ErrorKit GenericError.swift
[42/51] Compiling ErrorKit NetworkError.swift
[43/51] Compiling ErrorKit MailComposerModifier.swift
[44/51] Compiling ErrorKit MailComposerView.swift
[45/51] Compiling ErrorKit Throwable.swift
[46/51] Compiling ErrorKit String+ErrorKit.swift
[47/51] Compiling ErrorKit ErrorKit+OSLog.swift
[48/51] Compiling ErrorKit MailAttachment.swift
[49/51] Compiling ErrorKit OperationError.swift
[50/51] Compiling ErrorKit ParsingError.swift
[51/51] Compiling ErrorKit PermissionError.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling BaseDigits BaseDigits.swift
[3/6] Emitting module BaseDigits
[5/7] Compiling MessageAuthentication MessageAuthenticationHash.swift
[6/7] Emitting module MessageAuthentication
[7/7] Compiling MessageAuthentication MessageAuthenticationKey.swift
[9/13] Compiling Base16 Base16.swift
[10/13] Compiling Base16 Base16.Values.swift
[11/13] Compiling Base16 Base16.UppercaseDigits.swift
[12/13] Emitting module Base16
[13/13] Compiling Base16 Base16.LowercaseDigits.swift
[15/16] Compiling SHA2 SHA256.swift
[16/16] Emitting module SHA2
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/40] 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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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) {
[19/43] 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 |       }
[20/43] 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 |       }
[21/43] 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 |       }
[22/43] Compiling ErrorKit FoundationErrorMapper.swift
[23/43] Compiling ErrorKit MapKitErrorMapper.swift
[24/43] Compiling ErrorKit Logger+ErrorKit.swift
[25/43] Compiling ErrorKit StateError.swift
[26/43] Compiling ErrorKit ValidationError.swift
[27/43] Compiling ErrorKit Catching.swift
[28/43] Compiling ErrorKit String+ErrorKit.swift
[29/43] Compiling ErrorKit ErrorKit+OSLog.swift
[30/43] Compiling ErrorKit MailAttachment.swift
[31/43] Compiling ErrorKit OperationError.swift
[32/43] Compiling ErrorKit ParsingError.swift
[33/43] Compiling ErrorKit PermissionError.swift
[34/43] Compiling ErrorKit MailComposerModifier.swift
[35/43] Compiling ErrorKit MailComposerView.swift
[36/43] Compiling ErrorKit Throwable.swift
[37/43] Compiling ErrorKit DatabaseError.swift
[38/43] Compiling ErrorKit FileError.swift
[39/43] Compiling ErrorKit GenericError.swift
[40/43] Compiling ErrorKit NetworkError.swift
[41/43] 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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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)
[42/43] 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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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)
[43/43] 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
174 | }
175 |
176 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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)
BUILD FAILURE 6.1 wasm