Build Information
Failed to build ErrorKit, reference 1.2.1 (94d087), with Swift 6.4 for Wasm on 22 Sep 2026 09:44:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.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/FlineDev/ErrorKit.git
Reference: 1.2.1
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/FlineDev/ErrorKit
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at 94d0876 Add convenience overloads for Logger & correct doc sample code
Cloned https://github.com/FlineDev/ErrorKit.git
Revision (git rev-parse @):
94d08765d65a7fc7b64730b0a9920ce4246d9fa0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FlineDev/ErrorKit.git at 1.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/FlineDev/ErrorKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.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.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.29s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.55s)
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]
[6 / 428] Crypto-product
warning: no rule to process file '/host/spi-builder-workspace/Sources/ErrorKit/Resources/Localizable.xcstrings' of type 'text.json.xcstrings' for architecture 'wasm32'
[48 / 437] CCryptoBoringSSLShims
[50 / 437] CCryptoBoringSSL
[51 / 437] CCryptoBoringSSL
[55 / 437] CCryptoBoringSSL
[58 / 437] CCryptoBoringSSL
[60 / 437] CCryptoBoringSSL
[62 / 437] CCryptoBoringSSL
[66 / 437] CCryptoBoringSSL
[69 / 437] CCryptoBoringSSL
[75 / 437] CCryptoBoringSSL
[77 / 437] CCryptoBoringSSL
[79 / 437] CCryptoBoringSSL
[82 / 437] CCryptoBoringSSL
[83 / 437] CCryptoBoringSSL
[84 / 437] CCryptoBoringSSL
[85 / 437] CCryptoBoringSSL
[94 / 437] CCryptoBoringSSL
[97 / 437] CCryptoBoringSSL
[99 / 437] CCryptoBoringSSL
[101 / 437] CCryptoBoringSSL
[103 / 437] CCryptoBoringSSL
[105 / 437] CCryptoBoringSSL
[109 / 437] CCryptoBoringSSL
[110 / 437] CCryptoBoringSSL
[113 / 437] CCryptoBoringSSL
[116 / 437] CCryptoBoringSSL
[117 / 437] CCryptoBoringSSL
[120 / 437] CCryptoBoringSSL
[124 / 437] CCryptoBoringSSL
[126 / 437] CCryptoBoringSSL
[127 / 437] CCryptoBoringSSL
[133 / 437] CCryptoBoringSSL
[134 / 437] CCryptoBoringSSL
[137 / 437] CCryptoBoringSSL
[139 / 437] CCryptoBoringSSL
[140 / 437] CCryptoBoringSSL
[143 / 437] CCryptoBoringSSL
[144 / 437] CCryptoBoringSSL
[152 / 437] CCryptoBoringSSL
[163 / 437] CCryptoBoringSSL
[177 / 437] CCryptoBoringSSL
[178 / 437] CCryptoBoringSSL
[180 / 437] CCryptoBoringSSL
[185 / 437] CCryptoBoringSSL
[186 / 437] CCryptoBoringSSL
[189 / 437] CCryptoBoringSSL
[194 / 437] CCryptoBoringSSL
[196 / 437] CCryptoBoringSSL
[200 / 437] CCryptoBoringSSL
[202 / 437] CCryptoBoringSSL
[204 / 437] CCryptoBoringSSL
[206 / 437] CCryptoBoringSSL
[208 / 437] CCryptoBoringSSL
[212 / 437] CCryptoBoringSSL
[214 / 437] CCryptoBoringSSL
[215 / 437] CCryptoBoringSSL
[217 / 437] CCryptoBoringSSL
[218 / 437] CCryptoBoringSSL
[221 / 437] CCryptoBoringSSL
[223 / 437] CCryptoBoringSSL
[227 / 437] CCryptoBoringSSL
[234 / 437] CCryptoBoringSSL
[238 / 437] CCryptoBoringSSL
[240 / 437] CCryptoBoringSSL
[244 / 437] CCryptoBoringSSL
[248 / 437] CCryptoBoringSSL
[249 / 437] CCryptoBoringSSL
[252 / 437] CCryptoBoringSSL
[254 / 437] CCryptoBoringSSL
[263 / 437] CCryptoBoringSSL
[276 / 437] CCryptoBoringSSL
[278 / 437] CCryptoBoringSSL
[283 / 437] CCryptoBoringSSL
[287 / 437] CCryptoBoringSSL
[291 / 437] CCryptoBoringSSL
[293 / 437] CCryptoBoringSSL
[296 / 437] CCryptoBoringSSL
[298 / 437] CCryptoBoringSSL
[300 / 437] CCryptoBoringSSL
[303 / 437] CCryptoBoringSSL
[307 / 437] CCryptoBoringSSL
[308 / 437] CCryptoBoringSSL
[312 / 437] CCryptoBoringSSL
[315 / 437] CCryptoBoringSSL
[316 / 437] CCryptoBoringSSL
[318 / 437] CCryptoBoringSSL
[322 / 437] CCryptoBoringSSL
[324 / 437] CCryptoBoringSSL
[327 / 437] CCryptoBoringSSL
[335 / 437] CCryptoBoringSSL
[343 / 437] CCryptoBoringSSL
[348 / 437] CCryptoBoringSSL
[350 / 437] CCryptoBoringSSL
[354 / 437] CCryptoBoringSSL
[358 / 437] CCryptoBoringSSL
[362 / 437] CCryptoBoringSSL
[363 / 437] CCryptoBoringSSL
[366 / 437] CCryptoBoringSSL
[370 / 437] CCryptoBoringSSL
[379 / 437] CCryptoBoringSSL
[390 / 437] CCryptoBoringSSL
[395 / 437] CCryptoBoringSSL
[398 / 437] CCryptoBoringSSL
[400 / 437] CCryptoBoringSSL
[401 / 437] CCryptoBoringSSL
[405 / 437] CCryptoBoringSSL
[407 / 437] CCryptoBoringSSL
[409 / 437] CCryptoBoringSSL
[412 / 437] CryptoBoringWrapper
[414 / 437] CryptoBoringWrapper
[414 / 437] CCryptoBoringSSL
[417 / 437] Crypto
[420 / 438]
[422 / 447] Crypto
[423 / 447] Crypto
[427 / 447] Crypto
[431 / 447] Crypto
[432 / 447] CryptoBoringWrapper
[439 / 449] CryptoBoringWrapper
[442 / 458] ErrorKit
[443 / 458] ErrorKit
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile URLSession+ErrorKit.swift
/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) {
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:178:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m176 |[0;0m extension URLSession {
[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: [4;39mURLRequest[0;0m) async throws -> (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m179 |[0;0m do {
[0;36m180 |[0;0m return try await self.data(for: request)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /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 -primary-file /host/spi-builder-workspace/Sources/ErrorKit/Throwable.swift -primary-file /host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/FileManager+ErrorKit.swift -primary-file /host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/supplementaryOutputs-16 -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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/Throwable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/FileManager+ErrorKit.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/URLSession+ErrorKit.o -index-unit-output-path /ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/Throwable.o -index-unit-output-path /ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/FileManager+ErrorKit.o -index-unit-output-path /ErrorKit.build/Debug-webassembly-wasm32/ErrorKit-t.build/Objects-normal/wasm32/URLSession+ErrorKit.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[444 / 458] ErrorKit
error: Build failed
BUILD FAILURE 6.4 wasm