The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CodableDatastore, reference main (b29c3c), with Swift 6.4 for Wasm on 26 Sep 2026 14:23:11 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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mochidev/CodableDatastore.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/mochidev/CodableDatastore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b29c3cf Added task names to every task for an improved debugging experience
Cloned https://github.com/mochidev/CodableDatastore.git
Revision (git rev-parse @):
b29c3cf36aa7f062a49232152e3baab1c6a48257
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mochidev/CodableDatastore.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mochidev/CodableDatastore.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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/mochidev/Bytes.git
Fetching https://github.com/mochidev/swift-questionable-concurrency
Fetching https://github.com/mochidev/AsyncSequenceReader.git
[1/264] Fetching swift-questionable-concurrency
[265/1305] Fetching swift-questionable-concurrency, bytes
[297/1907] Fetching swift-questionable-concurrency, bytes, asyncsequencereader
Fetched https://github.com/mochidev/swift-questionable-concurrency (0.55s)
Fetched https://github.com/mochidev/Bytes.git (0.55s)
Fetched https://github.com/mochidev/AsyncSequenceReader.git (0.56s)
Computing version for https://github.com/mochidev/swift-questionable-concurrency
Computed https://github.com/mochidev/swift-questionable-concurrency at 0.2.2 (0.72s)
Computing version for https://github.com/mochidev/Bytes.git
Computed https://github.com/mochidev/Bytes.git at 0.6.2 (0.15s)
Computing version for https://github.com/mochidev/AsyncSequenceReader.git
Computed https://github.com/mochidev/AsyncSequenceReader.git at 0.5.0 (0.15s)
Creating working copy for https://github.com/mochidev/AsyncSequenceReader.git
Working copy of https://github.com/mochidev/AsyncSequenceReader.git resolved at 0.5.0
Creating working copy for https://github.com/mochidev/Bytes.git
Working copy of https://github.com/mochidev/Bytes.git resolved at 0.6.2
Creating working copy for https://github.com/mochidev/swift-questionable-concurrency
Working copy of https://github.com/mochidev/swift-questionable-concurrency resolved at 0.2.2
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[44 / 89] QuestionableConcurrency
[45 / 89] QuestionableConcurrency
[55 / 89] QuestionableConcurrency-product
[56 / 89] QuestionableConcurrency
[63 / 89] Bytes-product
[65 / 89] Bytes-product
[68 / 89] AsyncSequenceReader
[71 / 90] AsyncSequenceReader
[75 / 90] QuestionableConcurrency
[76 / 90] CodableDatastore
[79 / 91]
[84 / 100] CodableDatastore
[85 / 101] CodableDatastore
[86 / 101] CodableDatastore
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/DiskPersistence.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DiskPersistence.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/DiskPersistence.swift:166:52: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
164 |         /// Encode the provided store info, and write it to disk.
165 |         let data = try JSONEncoder.shared.encode(storeInfo)
166 |         try data.write(to: storeInfoURL, options: .atomic)
    |                                                    `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
167 |
168 |         /// Update the cache since we know what it should be.
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 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/AsyncInstances.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Configuration.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Datastore.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/DatastoreDescriptor.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/DatastoreError.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/DatastoreFormat.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/DatastoreKey.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Dictionary+RawRepresentable.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/ObservedEvent.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/Progress.swift /host/spi-builder-workspace/Sources/CodableDatastore/Datastore/RawRepresentable+Codable.swift /host/spi-builder-workspace/Sources/CodableDatastore/Debug/GlobalTimer.swift /host/spi-builder-workspace/Sources/CodableDatastore/Helpers/AsyncFileReader.swift /host/spi-builder-workspace/Sources/CodableDatastore/Helpers/Swift6.1+Compatibility.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/GeneratedIndexRepresentation.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/IndexName.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/IndexRangeExpression.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/IndexRepresentation.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/IndexStorage.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/IndexType.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/Indexable.swift /host/spi-builder-workspace/Sources/CodableDatastore/Indexes/UUID+Comparable.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/AccessMode.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Cursor.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/DatastoreInterfaceError.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/DatastoreInterfaceProtocol.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/AsyncThrowingBackpressureStream.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/DatastoreIndex.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/DatastoreIndexManifest.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/DatastorePage.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/DatastorePageEntry.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/DatastorePageEntryBlock.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/DatastoreRoot.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/DatastoreRootManifest.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Datastore/PersistenceDatastore.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/DatedIdentifier.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/DiskPersistence.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/DiskPersistenceError.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/FileNotFoundError.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/ISO8601DateFormatter+Milliseconds.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/JSONCoder.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/LazyTask.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Snapshot/Snapshot.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Snapshot/SnapshotIteration.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Snapshot/SnapshotManifest.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/SortOrder.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/StoreInfo/StoreInfo.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Transaction/DiskCursor.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Transaction/Transaction.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/TypedIdentifier.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Memory\ Persistence/MemoryPersistence.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Persistence.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/TransactionOptions.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/supplementaryOutputs-6 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-upcoming-feature ImmutableWeakCaptures -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CodableDatastore -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/CodableDatastore_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/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/DatedIdentifier.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/DiskPersistence.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/DiskPersistenceError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/FileNotFoundError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/ISO8601DateFormatter+Milliseconds.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/JSONCoder.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/DatedIdentifier.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/DiskPersistence.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/DiskPersistenceError.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/FileNotFoundError.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/ISO8601DateFormatter+Milliseconds.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/JSONCoder.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[88 / 102] CodableDatastore
error: Build failed
BUILD FAILURE 6.4 wasm