Build Information
Failed to build SwiftStash, reference 1.1.1 (3fb477), with Swift 6.2 for Wasm on 5 Sep 2026 07:27:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modern-swift-dev/swift-stash.git
Reference: 1.1.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/modern-swift-dev/swift-stash
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at 3fb4772 test: exercise corrupted disk entry cleanup
Cloned https://github.com/modern-swift-dev/swift-stash.git
Revision (git rev-parse @):
3fb4772fdda3da6de5e86851e4a0b2e792a2a497
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/modern-swift-dev/swift-stash.git at 1.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
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-54344845-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/MobileNativeFoundation/Kronos.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[236/3537] Fetching swift-docc-plugin, kronos
Fetched https://github.com/MobileNativeFoundation/Kronos.git from cache (0.50s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3818] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/MobileNativeFoundation/Kronos.git
Computed https://github.com/MobileNativeFoundation/Kronos.git at 4.3.1 (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.21s)
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/MobileNativeFoundation/Kronos.git
Working copy of https://github.com/MobileNativeFoundation/Kronos.git resolved at 4.3.1
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/14] Compiling SwiftStash StorageEngine+Memory.swift
[6/14] Compiling SwiftStash StorageEngine+Disk.swift
/host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Disk.swift:11:64: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
9 | #endif
10 |
11 | private let diskStorageWritingOptions: Data.WritingOptions = [.atomic]
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
12 |
13 | /// A file-system-backed implementation of ``StorageEngine``.
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Disk.swift:276:27: error: type 'URL' has no member 'cachesDirectory'
274 | ?? FileManager.default.temporaryDirectory
275 | #else
276 | let baseURL = URL.cachesDirectory
| `- error: type 'URL' has no member 'cachesDirectory'
277 | #endif
278 | let url = baseURL.appendingPathComponent("\(bundleIdentifier)-cache")
[7/15] Compiling SwiftStash DiskStorageSerializer.swift
[8/15] Compiling SwiftStash MonotonicClock.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/15] Compiling SwiftStash CacheKey.swift
[10/15] Compiling SwiftStash DiskStorageSerializer+JSON.swift
[11/15] Compiling SwiftStash DiskStorageSerializer+String.swift
[12/15] Compiling SwiftStash Cache+Entry.swift
[13/15] Compiling SwiftStash Cache.swift
[14/15] Emitting module SwiftStash
/host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Disk.swift:11:64: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
9 | #endif
10 |
11 | private let diskStorageWritingOptions: Data.WritingOptions = [.atomic]
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
12 |
13 | /// A file-system-backed implementation of ``StorageEngine``.
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[15/15] Compiling SwiftStash StorageEngine.swift
BUILD FAILURE 6.2 wasm