The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sync-engine, reference v0.4.0 (ffad56), with Swift 6.3 for Wasm on 28 Sep 2026 13:34:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/philiprehberger/swift-sync-engine.git
Reference: v0.4.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/philiprehberger/swift-sync-engine
 * tag               v0.4.0     -> FETCH_HEAD
HEAD is now at ffad56c Release v0.4.0
Cloned https://github.com/philiprehberger/swift-sync-engine.git
Revision (git rev-parse @):
ffad56c1383162b035a18044ba3aa47ca457e520
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/philiprehberger/swift-sync-engine.git at v0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/philiprehberger/swift-sync-engine.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling SyncEngine SyncEngine+Async.swift
[4/12] Compiling SyncEngine SyncResult.swift
[5/12] Compiling SyncEngine SyncEngine.swift
[6/12] Compiling SyncEngine SyncRecord.swift
[7/12] Compiling SyncEngine RetryQueue.swift
[8/12] Compiling SyncEngine SyncError.swift
[9/12] Compiling SyncEngine LocalStore.swift
[10/12] Emitting module SyncEngine
[11/12] Compiling SyncEngine ConflictResolver.swift
/host/spi-builder-workspace/Sources/SyncEngine/LocalStore+Persistence.swift:64:62: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
62 |     /// - Throws: Any encoding or file-system error.
63 |     public func save(to url: URL, using encoder: JSONEncoder = LocalStore.defaultEncoder) throws {
64 |         try encoded(using: encoder).write(to: url, options: .atomic)
   |                                                              `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
65 |     }
66 |
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 |
[12/12] Compiling SyncEngine LocalStore+Persistence.swift
/host/spi-builder-workspace/Sources/SyncEngine/LocalStore+Persistence.swift:64:62: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
62 |     /// - Throws: Any encoding or file-system error.
63 |     public func save(to url: URL, using encoder: JSONEncoder = LocalStore.defaultEncoder) throws {
64 |         try encoded(using: encoder).write(to: url, options: .atomic)
   |                                                              `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
65 |     }
66 |
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 |
BUILD FAILURE 6.3 wasm