Build Information
Failed to build SwiftStash, reference 2.0.0 (aa491f), with Swift 6.4 for Wasm on 2 Nov 2026 08:28:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modern-swift-dev/swift-stash.git
Reference: 2.0.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/modern-swift-dev/swift-stash
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at aa491f0 chore: release 2.0.0
Cloned https://github.com/modern-swift-dev/swift-stash.git
Revision (git rev-parse @):
aa491f092c2176580760ddd87bacd5208229cead
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/modern-swift-dev/swift-stash.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/modern-swift-dev/swift-stash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.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/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/MobileNativeFoundation/Kronos.git
[1/1192] Fetching kronos
[1193/20061] Fetching kronos, swift-crypto
Fetched https://github.com/MobileNativeFoundation/Kronos.git (0.42s)
[189/18869] Fetching swift-crypto
[379/21214] Fetching swift-crypto, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (1.24s)
Fetched https://github.com/apple/swift-crypto.git (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.15s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.58s)
Computing version for https://github.com/MobileNativeFoundation/Kronos.git
Computed https://github.com/MobileNativeFoundation/Kronos.git at 4.3.1 (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.21s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.95s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.40s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.60s)
Creating working copy for https://github.com/MobileNativeFoundation/Kronos.git
Working copy of https://github.com/MobileNativeFoundation/Kronos.git resolved at 4.3.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
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 302]
[Planning deferred tasks]
[1 / 446]
[55 / 456] CCryptoBoringSSL
[56 / 456] CCryptoBoringSSL
[62 / 456] CCryptoBoringSSL
[65 / 456] CCryptoBoringSSL
[74 / 456] CCryptoBoringSSL
[80 / 456] CCryptoBoringSSL
[85 / 456] CCryptoBoringSSL
[87 / 456] CCryptoBoringSSL
[88 / 456] CCryptoBoringSSL
[90 / 456] CCryptoBoringSSL
[93 / 456] CCryptoBoringSSL
[96 / 456] CCryptoBoringSSL
[103 / 456] CCryptoBoringSSL
[106 / 456] CCryptoBoringSSL
[110 / 456] CCryptoBoringSSL
[111 / 456] CCryptoBoringSSL
[113 / 456] CCryptoBoringSSL
[115 / 456] CCryptoBoringSSL
[118 / 456] CCryptoBoringSSL
[121 / 456] CCryptoBoringSSL
[123 / 456] CCryptoBoringSSL
[126 / 456] CCryptoBoringSSL
[128 / 456] CCryptoBoringSSL
[131 / 456] CCryptoBoringSSL
[135 / 456] CCryptoBoringSSL
[137 / 456] CCryptoBoringSSL
[142 / 456] CCryptoBoringSSL
[143 / 456] CCryptoBoringSSL
[148 / 456] CCryptoBoringSSL
[150 / 456] CCryptoBoringSSL
[153 / 456] CCryptoBoringSSL
[165 / 456] CCryptoBoringSSL
[183 / 456] CCryptoBoringSSL
[187 / 456] CCryptoBoringSSL
[190 / 456] CCryptoBoringSSL
[195 / 456] CCryptoBoringSSL
[201 / 456] CCryptoBoringSSL
[205 / 456] CCryptoBoringSSL
[209 / 456] CCryptoBoringSSL
[212 / 456] CCryptoBoringSSL
[213 / 456] CCryptoBoringSSL
[215 / 456] CCryptoBoringSSL
[217 / 456] CCryptoBoringSSL
[219 / 456] CCryptoBoringSSL
[223 / 456] CCryptoBoringSSL
[224 / 456] CCryptoBoringSSL
[227 / 456] CCryptoBoringSSL
[231 / 456] CCryptoBoringSSL
[232 / 456] CCryptoBoringSSL
[239 / 456] CCryptoBoringSSL
[246 / 456] CCryptoBoringSSL
[250 / 456] CCryptoBoringSSL
[255 / 456] CCryptoBoringSSL
[257 / 456] CCryptoBoringSSL
[261 / 456] CCryptoBoringSSL
[264 / 456] CCryptoBoringSSL
[278 / 456] CCryptoBoringSSL
[285 / 456] CCryptoBoringSSL
[289 / 456] CCryptoBoringSSL
[294 / 456] CCryptoBoringSSL
[296 / 456] CCryptoBoringSSL
[300 / 456] CCryptoBoringSSL
[302 / 456] CCryptoBoringSSL
[307 / 456] CCryptoBoringSSL
[309 / 456] CCryptoBoringSSL
[313 / 456] CCryptoBoringSSL
[316 / 456] CCryptoBoringSSL
[318 / 456] CCryptoBoringSSL
[322 / 456] CCryptoBoringSSL
[324 / 456] CCryptoBoringSSL
[325 / 456] CCryptoBoringSSL
[329 / 456] CCryptoBoringSSL
[331 / 456] CCryptoBoringSSL
[334 / 456] CCryptoBoringSSL
[341 / 456] CCryptoBoringSSL
[349 / 456] CCryptoBoringSSL
[358 / 456] CCryptoBoringSSL
[361 / 456] CCryptoBoringSSL
[366 / 456] CCryptoBoringSSL
[368 / 456] CCryptoBoringSSL
[371 / 456] CCryptoBoringSSL
[374 / 456] CCryptoBoringSSL
[375 / 456] CCryptoBoringSSL
[378 / 456] CCryptoBoringSSL
[390 / 456] CCryptoBoringSSL
[403 / 456] CCryptoBoringSSL
[405 / 456] CCryptoBoringSSL
[407 / 456] CCryptoBoringSSL
[408 / 456] CCryptoBoringSSL
[410 / 456] CCryptoBoringSSL
[414 / 456] CCryptoBoringSSL
[416 / 456] CCryptoBoringSSL
[420 / 456] CryptoBoringWrapper
[421 / 456] CryptoBoringWrapper
[422 / 456] CCryptoBoringSSL
[423 / 456] CryptoBoringWrapper
[426 / 456] CCryptoBoringSSL
[427 / 456] CryptoBoringWrapper
[429 / 457] CCryptoBoringSSL
[433 / 466] Crypto
[436 / 466] Crypto
[438 / 467] CryptoBoringWrapper
[439 / 467] Crypto
[444 / 467] Crypto
[454 / 477] SwiftStash
[455 / 477] SwiftStash
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/SwiftStash/CacheExecutor.swift:1:8: [1;31merror: [1;39mno such module 'Dispatch'[0;0m
[0;36m1 |[0;0m import Dispatch
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Dispatch'[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m /// Runs a cache's work, including its storage engine's file I/O, on a serial dispatch queue.
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftStash/Cache+Entry.swift /host/spi-builder-workspace/Sources/SwiftStash/Cache.swift /host/spi-builder-workspace/Sources/SwiftStash/CacheClock.swift /host/spi-builder-workspace/Sources/SwiftStash/CacheExecutor.swift /host/spi-builder-workspace/Sources/SwiftStash/CacheKey.swift /host/spi-builder-workspace/Sources/SwiftStash/CostLimit.swift /host/spi-builder-workspace/Sources/SwiftStash/DirectoryRegistry.swift /host/spi-builder-workspace/Sources/SwiftStash/DiskStorageSerializer+JSON.swift /host/spi-builder-workspace/Sources/SwiftStash/DiskStorageSerializer+String.swift /host/spi-builder-workspace/Sources/SwiftStash/DiskStorageSerializer.swift /host/spi-builder-workspace/Sources/SwiftStash/EntryFileCipher.swift /host/spi-builder-workspace/Sources/SwiftStash/EntryFileFormat.swift /host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Disk.swift /host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Memory.swift /host/spi-builder-workspace/Sources/SwiftStash/StorageEngine.swift -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_UNAVAILABLE -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/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/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/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/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/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftStash -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/Objects-normal/wasm32/SwiftStash_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/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/Objects-normal/wasm32/Modules/SwiftStash.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/Objects-normal/wasm32/Modules/SwiftStash.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/Objects-normal/wasm32/SwiftStash-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/Objects-normal/wasm32/SwiftStash-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/Objects-normal/wasm32/SwiftStash-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-webassembly-wasm32/SwiftStash-t.build/Objects-normal/wasm32/Modules/SwiftStash.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm