The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftStash, reference main (933737), with Swift 6.4 for Wasm on 14 Oct 2026 12:23:20 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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modern-swift-dev/swift-stash.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/modern-swift-dev/swift-stash
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9337374 docs: record that apps on non-Apple platforms bring their own swift-crypto
Cloned https://github.com/modern-swift-dev/swift-stash.git
Revision (git rev-parse @):
9337374d342a41a0c5b80ceb6d6a998a109fd5a8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/modern-swift-dev/swift-stash.git at main
========================================
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-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d8610b27563fbed4643ddaec8e9397319e3b3e1372fc54686db2dacb952c1b8f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/MobileNativeFoundation/Kronos.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[236/20988] Fetching swift-docc-plugin, swift-crypto
Fetched https://github.com/swiftlang/swift-docc-plugin (0.55s)
[1678/18643] Fetching swift-crypto
[2052/19835] Fetching swift-crypto, kronos
Fetched https://github.com/MobileNativeFoundation/Kronos.git (0.68s)
[2797/18643] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.52s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.78s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3838] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.66s)
Computing version for https://github.com/MobileNativeFoundation/Kronos.git
Computed https://github.com/MobileNativeFoundation/Kronos.git at 4.3.1 (0.84s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (1.02s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.69s)
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/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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 244]
[Planning deferred tasks]
[47 / 433] CCryptoBoringSSL
[50 / 442] CryptoBoringWrapper
[51 / 442] CCryptoBoringSSL
[52 / 442] CCryptoBoringSSL
[54 / 442] CCryptoBoringSSL
[55 / 442] CCryptoBoringSSL
[56 / 442] CCryptoBoringSSL
[60 / 442] CCryptoBoringSSL
[63 / 442] CCryptoBoringSSL
[66 / 442] CCryptoBoringSSL
[67 / 442] CCryptoBoringSSL
[68 / 442] CCryptoBoringSSL
[69 / 442] CCryptoBoringSSL
[71 / 442] CCryptoBoringSSL
[74 / 442] CryptoBoringWrapper
[79 / 442] CCryptoBoringSSL
[81 / 442] CCryptoBoringSSL
[82 / 442] CCryptoBoringSSL
[85 / 442] CCryptoBoringSSL
[89 / 442] CCryptoBoringSSL
[92 / 442] CCryptoBoringSSL
[94 / 442] CCryptoBoringSSL
[98 / 442] CCryptoBoringSSL
[100 / 442] CCryptoBoringSSL
[101 / 442] CCryptoBoringSSL
[102 / 442] CCryptoBoringSSL
[104 / 442] CCryptoBoringSSL
[105 / 442] CCryptoBoringSSL
[107 / 442] CCryptoBoringSSL
[109 / 442] CCryptoBoringSSL
[111 / 442] CCryptoBoringSSL
[115 / 442] CCryptoBoringSSL
[116 / 442] CCryptoBoringSSL
[118 / 442] CCryptoBoringSSL
[120 / 442] CCryptoBoringSSL
[121 / 442] CCryptoBoringSSL
[122 / 442] CCryptoBoringSSL
[125 / 442] CCryptoBoringSSL
[128 / 442] CCryptoBoringSSL
[129 / 442] CCryptoBoringSSL
[130 / 442] CCryptoBoringSSL
[131 / 442] CCryptoBoringSSL
[132 / 442] CCryptoBoringSSL
[133 / 442] CCryptoBoringSSL
[135 / 442] CCryptoBoringSSL
[137 / 442] CCryptoBoringSSL
[138 / 442] CCryptoBoringSSL
[140 / 442] CCryptoBoringSSL
[142 / 442] CCryptoBoringSSL
[143 / 442] CCryptoBoringSSL
[144 / 442] CCryptoBoringSSL
[146 / 442] CCryptoBoringSSL
[148 / 442] CCryptoBoringSSL
[151 / 442] CCryptoBoringSSL
[153 / 442] CCryptoBoringSSL
[157 / 442] CCryptoBoringSSL
[160 / 442] CCryptoBoringSSL
[164 / 442] CCryptoBoringSSL
[168 / 442] CCryptoBoringSSL
[171 / 442] CCryptoBoringSSL
[175 / 442] CCryptoBoringSSL
[178 / 442] CCryptoBoringSSL
[179 / 442] CCryptoBoringSSL
[180 / 442] CCryptoBoringSSL
[182 / 442] CCryptoBoringSSL
[183 / 442] CCryptoBoringSSL
[184 / 442] CCryptoBoringSSL
[186 / 442] CCryptoBoringSSL
[188 / 442] CCryptoBoringSSL
[189 / 442] CCryptoBoringSSL
[190 / 442] CCryptoBoringSSL
[191 / 442] CCryptoBoringSSL
[192 / 442] CCryptoBoringSSL
[193 / 442] CCryptoBoringSSL
[196 / 442] CCryptoBoringSSL
[197 / 442] CCryptoBoringSSL
[199 / 442] CCryptoBoringSSL
[201 / 442] CCryptoBoringSSL
[203 / 442] CCryptoBoringSSL
[204 / 442] CCryptoBoringSSL
[205 / 442] CCryptoBoringSSL
[208 / 442] CCryptoBoringSSL
[210 / 442] CCryptoBoringSSL
[211 / 442] CCryptoBoringSSL
[214 / 442] CCryptoBoringSSL
[216 / 442] CCryptoBoringSSL
[217 / 442] CCryptoBoringSSL
[218 / 442] CCryptoBoringSSL
[220 / 442] CCryptoBoringSSL
[222 / 442] CCryptoBoringSSL
[224 / 442] CCryptoBoringSSL
[226 / 442] CCryptoBoringSSL
[228 / 442] CCryptoBoringSSL
[232 / 442] CCryptoBoringSSL
[233 / 442] CCryptoBoringSSL
[235 / 442] CCryptoBoringSSL
[237 / 442] CCryptoBoringSSL
[238 / 442] CCryptoBoringSSL
[239 / 442] CCryptoBoringSSL
[240 / 442] CCryptoBoringSSL
[241 / 442] CCryptoBoringSSL
[243 / 442] CCryptoBoringSSL
[248 / 442] CCryptoBoringSSL
[250 / 442] CCryptoBoringSSL
[251 / 442] CCryptoBoringSSL
[254 / 442] CCryptoBoringSSL
[256 / 442] CCryptoBoringSSL
[257 / 442] CCryptoBoringSSL
[261 / 442] CCryptoBoringSSL
[263 / 442] CCryptoBoringSSL
[267 / 442] CCryptoBoringSSL
[271 / 442] CCryptoBoringSSL
[278 / 442] CCryptoBoringSSL
[281 / 442] CCryptoBoringSSL
[284 / 442] CCryptoBoringSSL
[286 / 442] CCryptoBoringSSL
[287 / 442] CCryptoBoringSSL
[289 / 442] CCryptoBoringSSL
[291 / 442] CCryptoBoringSSL
[292 / 442] CCryptoBoringSSL
[293 / 442] CCryptoBoringSSL
[295 / 442] CCryptoBoringSSL
[296 / 442] CCryptoBoringSSL
[297 / 442] CCryptoBoringSSL
[298 / 442] CCryptoBoringSSL
[300 / 442] CCryptoBoringSSL
[302 / 442] CCryptoBoringSSL
[305 / 442] CCryptoBoringSSL
[308 / 442] CCryptoBoringSSL
[311 / 442] CCryptoBoringSSL
[312 / 442] CCryptoBoringSSL
[314 / 442] CCryptoBoringSSL
[317 / 442] CCryptoBoringSSL
[320 / 442] CCryptoBoringSSL
[323 / 442] CCryptoBoringSSL
[324 / 442] CCryptoBoringSSL
[327 / 442] CCryptoBoringSSL
[329 / 442] CCryptoBoringSSL
[331 / 442] CCryptoBoringSSL
[333 / 442] CCryptoBoringSSL
[334 / 442] CCryptoBoringSSL
[336 / 442] CCryptoBoringSSL
[340 / 442] CCryptoBoringSSL
[342 / 442] CCryptoBoringSSL
[344 / 442] CCryptoBoringSSL
[346 / 442] CCryptoBoringSSL
[349 / 442] CCryptoBoringSSL
[352 / 442] CCryptoBoringSSL
[353 / 442] CCryptoBoringSSL
[354 / 442] CCryptoBoringSSL
[355 / 442] CCryptoBoringSSL
[356 / 442] CCryptoBoringSSL
[359 / 442] CCryptoBoringSSL
[361 / 442] CCryptoBoringSSL
[362 / 442] CCryptoBoringSSL
[364 / 442] CCryptoBoringSSL
[366 / 442] CCryptoBoringSSL
[368 / 442] CCryptoBoringSSL
[370 / 442] CCryptoBoringSSL
[371 / 442] CCryptoBoringSSL
[373 / 442] CCryptoBoringSSL
[374 / 442] CCryptoBoringSSL
[377 / 442] CCryptoBoringSSL
[379 / 442] CCryptoBoringSSL
[380 / 442] CCryptoBoringSSL
[381 / 442] CCryptoBoringSSL
[385 / 442] CCryptoBoringSSL
[389 / 442] CCryptoBoringSSL
[392 / 442] CCryptoBoringSSL
[396 / 442] CCryptoBoringSSL
[399 / 442] CCryptoBoringSSL
[401 / 442] CCryptoBoringSSL
[403 / 442] CCryptoBoringSSL
[404 / 442] CCryptoBoringSSL
[405 / 442] CCryptoBoringSSL
[406 / 442] CCryptoBoringSSL
[408 / 442] CCryptoBoringSSL
[409 / 442] CCryptoBoringSSL
[410 / 442] CCryptoBoringSSL
[411 / 442] CCryptoBoringSSL
[412 / 442] CCryptoBoringSSL
[414 / 442] CryptoBoringWrapper
[415 / 442] CryptoBoringWrapper
[417 / 442] CryptoBoringWrapper
[418 / 442] CCryptoBoringSSL
[420 / 442] CryptoBoringWrapper
[421 / 442] CryptoBoringWrapper
[422 / 442] CCryptoBoringSSL
[426 / 443] CXKCPShims
[426 / 443] Crypto
[430 / 452] Crypto
[432 / 452] Crypto
[435 / 453] CryptoBoringWrapper
[436 / 453] Crypto
[437 / 453] CryptoBoringWrapper
[438 / 453] Crypto
[448 / 463] SwiftStash
[449 / 463] SwiftStash
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[450 / 463] SwiftStash
/host/spi-builder-workspace/Sources/SwiftStash/CacheExecutor.swift:1:8: error: no such module 'Dispatch'
 1 | import Dispatch
   |        `- error: no such module 'Dispatch'
 2 |
 3 | /// 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/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/NetworkTimeClock.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