The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ErrorKit, reference main (90fbec), with Swift 6.4 for Wasm on 27 Oct 2026 16:18:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-2":/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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/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/FlineDev/ErrorKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 90fbec6 Merge pull request #41 from FlineDev/wip/apple-address-style
Cloned https://github.com/FlineDev/ErrorKit.git
Revision (git rev-parse @):
90fbec64d7534038172e8d8a149681fcf58c178f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FlineDev/ErrorKit.git at main
========================================
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-53886768-2":/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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
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/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (3.10s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.04s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.61s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.51s)
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
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
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[2 / 428]
warning: no rule to process file '/host/spi-builder-workspace/Sources/ErrorKit/Resources/Localizable.xcstrings' of type 'text.json.xcstrings' for architecture 'wasm32'
[50 / 437] CryptoBoringWrapper
[51 / 437] CCryptoBoringSSL
[56 / 437] CCryptoBoringSSL
[59 / 437] CCryptoBoringSSL
[60 / 437] CCryptoBoringSSL
[64 / 437] CCryptoBoringSSL
[67 / 437] CCryptoBoringSSL
[68 / 437] CCryptoBoringSSL
[76 / 437] CCryptoBoringSSL
[80 / 437] CCryptoBoringSSL
[81 / 437] CCryptoBoringSSL
[84 / 437] CCryptoBoringSSL
[93 / 437] CCryptoBoringSSL
[98 / 437] CCryptoBoringSSL
[101 / 437] CCryptoBoringSSL
[102 / 437] CCryptoBoringSSL
[106 / 437] CCryptoBoringSSL
[108 / 437] CCryptoBoringSSL
[109 / 437] CCryptoBoringSSL
[114 / 437] CCryptoBoringSSL
[116 / 437] CCryptoBoringSSL
[117 / 437] CCryptoBoringSSL
[122 / 437] CCryptoBoringSSL
[126 / 437] CCryptoBoringSSL
[128 / 437] CCryptoBoringSSL
[131 / 437] CCryptoBoringSSL
[135 / 437] CCryptoBoringSSL
[136 / 437] CCryptoBoringSSL
[140 / 437] CCryptoBoringSSL
[142 / 437] CCryptoBoringSSL
[145 / 437] CCryptoBoringSSL
[154 / 437] CCryptoBoringSSL
[166 / 437] CCryptoBoringSSL
[177 / 437] CCryptoBoringSSL
[179 / 437] CCryptoBoringSSL
[184 / 437] CCryptoBoringSSL
[186 / 437] CCryptoBoringSSL
[189 / 437] CCryptoBoringSSL
[194 / 437] CCryptoBoringSSL
[197 / 437] CCryptoBoringSSL
[200 / 437] CCryptoBoringSSL
[202 / 437] CCryptoBoringSSL
[205 / 437] CCryptoBoringSSL
[209 / 437] CCryptoBoringSSL
[211 / 437] CCryptoBoringSSL
[215 / 437] CCryptoBoringSSL
[217 / 437] CCryptoBoringSSL
[218 / 437] CCryptoBoringSSL
[224 / 437] CCryptoBoringSSL
[229 / 437] CCryptoBoringSSL
[236 / 437] CCryptoBoringSSL
[240 / 437] CCryptoBoringSSL
[245 / 437] CCryptoBoringSSL
[248 / 437] CCryptoBoringSSL
[252 / 437] CCryptoBoringSSL
[257 / 437] CCryptoBoringSSL
[274 / 437] CCryptoBoringSSL
[276 / 437] CCryptoBoringSSL
[280 / 437] CCryptoBoringSSL
[287 / 437] CCryptoBoringSSL
[292 / 437] CCryptoBoringSSL
[297 / 437] CCryptoBoringSSL
[300 / 437] CCryptoBoringSSL
[306 / 437] CCryptoBoringSSL
[308 / 437] CCryptoBoringSSL
[309 / 437] CCryptoBoringSSL
[313 / 437] CCryptoBoringSSL
[317 / 437] CCryptoBoringSSL
[320 / 437] CCryptoBoringSSL
[324 / 437] CCryptoBoringSSL
[327 / 437] CCryptoBoringSSL
[338 / 437] CCryptoBoringSSL
[346 / 437] CCryptoBoringSSL
[348 / 437] CCryptoBoringSSL
[352 / 437] CCryptoBoringSSL
[358 / 437] CCryptoBoringSSL
[361 / 437] CCryptoBoringSSL
[362 / 437] CCryptoBoringSSL
[365 / 437] CCryptoBoringSSL
[366 / 437] CCryptoBoringSSL
[369 / 437] CCryptoBoringSSL
[380 / 437] CCryptoBoringSSL
[391 / 437] CCryptoBoringSSL
[396 / 437] CCryptoBoringSSL
[398 / 437] CCryptoBoringSSL
[399 / 437] CCryptoBoringSSL
[404 / 437] CCryptoBoringSSL
[406 / 437] CCryptoBoringSSL
[408 / 437] CCryptoBoringSSL
[411 / 437] CCryptoBoringSSL
[413 / 437] CCryptoBoringSSL
[414 / 437] CCryptoBoringSSL
[417 / 437] CCryptoBoringSSL
[419 / 438]
[421 / 447] ErrorKit_ErrorKit
[423 / 447] Crypto
[430 / 447] Crypto
[435 / 448] Crypto
[441 / 458] ErrorKit
[442 / 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:177:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
175 | }
176 |
177 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
178 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
179 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift:179:43: error: cannot find type 'URLRequest' in scope
177 | extension URLSession {
178 |    /// A typed-throws overload of `data(for:)` that maps known errors to a custom `URLSessionError` enum for enhanced error handling.
179 |    public func throwableData(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                           `- error: cannot find type 'URLRequest' in scope
180 |       do {
181 |          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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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
error: Build failed
BUILD FAILURE 6.4 wasm