Build Information
Failed to build ErrorKit, reference main (94d087), with Swift 6.4 for Wasm on 22 Sep 2026 20:06:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/ErrorKit.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/stackotter/ErrorKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 94d0876 Add convenience overloads for Logger & correct doc sample code
Cloned https://github.com/stackotter/ErrorKit.git
Revision (git rev-parse @):
94d08765d65a7fc7b64730b0a9920ce4246d9fa0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/ErrorKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/stackotter/ErrorKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.59s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (2.64s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Building for debugging...
[Constructing description]
[Planning deferred tasks]
warning: no rule to process file '/host/spi-builder-workspace/Sources/ErrorKit/Resources/Localizable.xcstrings' of type 'text.json.xcstrings' for architecture 'wasm32'
[46 / 428] CCryptoBoringSSL
[50 / 428] CCryptoBoringSSL
[56 / 428] CCryptoBoringSSL
[59 / 428] CCryptoBoringSSL
[63 / 428] CCryptoBoringSSL
[64 / 428] CCryptoBoringSSL
[67 / 428] CCryptoBoringSSL
[68 / 428] CCryptoBoringSSL
[71 / 428] CCryptoBoringSSL
[73 / 428] CCryptoBoringSSL
[74 / 428] CCryptoBoringSSL
[75 / 428] CCryptoBoringSSL
[80 / 428] CCryptoBoringSSL
[89 / 428] CCryptoBoringSSL
[92 / 428] CCryptoBoringSSL
[94 / 428] CCryptoBoringSSL
[96 / 428] CCryptoBoringSSL
[100 / 428] CCryptoBoringSSL
[101 / 428] CCryptoBoringSSL
[105 / 428] CCryptoBoringSSL
[107 / 428] CCryptoBoringSSL
[110 / 428] CCryptoBoringSSL
[114 / 428] CCryptoBoringSSL
[116 / 428] CCryptoBoringSSL
[117 / 428] CCryptoBoringSSL
[119 / 428] CCryptoBoringSSL
[123 / 428] CCryptoBoringSSL
[125 / 428] CCryptoBoringSSL
[126 / 428] CCryptoBoringSSL
[130 / 428] CCryptoBoringSSL
[132 / 428] CCryptoBoringSSL
[133 / 428] CCryptoBoringSSL
[136 / 428] CCryptoBoringSSL
[145 / 428] CCryptoBoringSSL
[158 / 428] CCryptoBoringSSL
[169 / 428] CCryptoBoringSSL
[171 / 428] CCryptoBoringSSL
[172 / 428] CCryptoBoringSSL
[178 / 428] CCryptoBoringSSL
[179 / 428] CCryptoBoringSSL
[180 / 428] CCryptoBoringSSL
[187 / 428] CCryptoBoringSSL
[189 / 428] CCryptoBoringSSL
[192 / 428] CCryptoBoringSSL
[194 / 428] CCryptoBoringSSL
[197 / 428] CCryptoBoringSSL
[200 / 428] CCryptoBoringSSL
[203 / 428] CCryptoBoringSSL
[206 / 428] CCryptoBoringSSL
[207 / 428] CCryptoBoringSSL
[209 / 428] CCryptoBoringSSL
[212 / 428] CCryptoBoringSSL
[214 / 428] CCryptoBoringSSL
[215 / 428] CCryptoBoringSSL
[220 / 428] CCryptoBoringSSL
[228 / 428] CCryptoBoringSSL
[231 / 428] CCryptoBoringSSL
[232 / 428] CCryptoBoringSSL
[235 / 428] CCryptoBoringSSL
[241 / 428] CCryptoBoringSSL
[243 / 428] CCryptoBoringSSL
[248 / 428] CCryptoBoringSSL
[261 / 428] CCryptoBoringSSL
[267 / 428] CCryptoBoringSSL
[270 / 428] CCryptoBoringSSL
[274 / 428] CCryptoBoringSSL
[279 / 428] CCryptoBoringSSL
[280 / 428] CCryptoBoringSSL
[285 / 428] CCryptoBoringSSL
[288 / 428] CCryptoBoringSSL
[293 / 428] CCryptoBoringSSL
[295 / 428] CCryptoBoringSSL
[300 / 428] CCryptoBoringSSL
[301 / 428] CCryptoBoringSSL
[305 / 428] CCryptoBoringSSL
[307 / 428] CCryptoBoringSSL
[309 / 428] CCryptoBoringSSL
[311 / 428] CCryptoBoringSSL
[314 / 428] CCryptoBoringSSL
[316 / 428] CCryptoBoringSSL
[324 / 428] CCryptoBoringSSL
[330 / 428] CCryptoBoringSSL
[336 / 428] CCryptoBoringSSL
[341 / 428] CCryptoBoringSSL
[343 / 428] CCryptoBoringSSL
[346 / 428] CCryptoBoringSSL
[350 / 428] CCryptoBoringSSL
[354 / 428] CCryptoBoringSSL
[356 / 428] CCryptoBoringSSL
[359 / 428] CCryptoBoringSSL
[361 / 428] CCryptoBoringSSL
[369 / 428] CCryptoBoringSSL
[378 / 428] CCryptoBoringSSL
[387 / 428] CCryptoBoringSSL
[390 / 428] CCryptoBoringSSL
[392 / 428] CCryptoBoringSSL
[395 / 428] CCryptoBoringSSL
[396 / 428] CCryptoBoringSSL
[398 / 428] CCryptoBoringSSL
[402 / 428] CCryptoBoringSSL
[405 / 437] CCryptoBoringSSL
[408 / 437] CryptoBoringWrapper
[410 / 437] CryptoBoringWrapper
[412 / 437] CryptoBoringWrapper
[413 / 437] CryptoBoringWrapper
[414 / 437] CCryptoBoringSSL
[420 / 438]
[422 / 447] Crypto
[422 / 447] CryptoBoringWrapper
[429 / 447] Crypto
[430 / 447] Crypto-product
[434 / 448] CryptoBoringWrapper
[439 / 458] ErrorKit
[441 / 458] ErrorKit
[443 / 458] ErrorKit
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift:329:43: [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m327 |[0;0m
[0;36m328 |[0;0m /// A built-in sync mechanism to avoid concurrent access to ``errorMappers``.
[0;36m329 |[0;0m private static let errorMappersQueue = [4;39mDispatchQueue[0;0m(label: "ErrorKit.ErrorMappers", attributes: .concurrent)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m330 |[0;0m
[0;36m331 |[0;0m /// 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: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m174 |[0;0m }
[0;36m175 |[0;0m
[0;36m176 |[0;0m extension [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m177 |[0;0m /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
[0;36m178 |[0;0m public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/DatabaseError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/FileError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/GenericError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/NetworkError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/OperationError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/ParsingError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/PermissionError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/StateError.swift /host/spi-builder-workspace/Sources/ErrorKit/BuiltInErrors/ValidationError.swift /host/spi-builder-workspace/Sources/ErrorKit/Catching.swift /host/spi-builder-workspace/Sources/ErrorKit/ErrorKit.swift /host/spi-builder-workspace/Sources/ErrorKit/ErrorMapper.swift /host/spi-builder-workspace/Sources/ErrorKit/ErrorMappers/CoreDataErrorMapper.swift /host/spi-builder-workspace/Sources/ErrorKit/ErrorMappers/FoundationErrorMapper.swift /host/spi-builder-workspace/Sources/ErrorKit/ErrorMappers/MapKitErrorMapper.swift /host/spi-builder-workspace/Sources/ErrorKit/Helpers/Logger+ErrorKit.swift /host/spi-builder-workspace/Sources/ErrorKit/Helpers/String+ErrorKit.swift /host/spi-builder-workspace/Sources/ErrorKit/Logging/ErrorKit+OSLog.swift /host/spi-builder-workspace/Sources/ErrorKit/Logging/MailAttachment.swift /host/spi-builder-workspace/Sources/ErrorKit/Logging/MailComposerModifier.swift /host/spi-builder-workspace/Sources/ErrorKit/Logging/MailComposerView.swift /host/spi-builder-workspace/Sources/ErrorKit/Throwable.swift /host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/FileManager+ErrorKit.swift /host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ErrorKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/ErrorKit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/Modules/ErrorKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/Modules/ErrorKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/ErrorKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/ErrorKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/ErrorKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/Modules/ErrorKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm