The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CodableDatastore, reference 0.5.0 (4addb9), with Swift 6.4 for Wasm on 26 Sep 2026 14:22:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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: 0.5.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/mochidev/CodableDatastore
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 4addb95 Updated README for Version 0.5.0
Cloned https://github.com/mochidev/CodableDatastore.git
Revision (git rev-parse @):
4addb952d8ce0a091e03a5dd99d94128cb7daa90
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mochidev/CodableDatastore.git at 0.5.0
========================================
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-54344845-3":/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/1041] Fetching bytes
[892/1643] Fetching bytes, asyncsequencereader
[1488/1907] Fetching bytes, asyncsequencereader, swift-questionable-concurrency
Fetched https://github.com/mochidev/AsyncSequenceReader.git (0.93s)
Fetched https://github.com/mochidev/Bytes.git (0.93s)
Fetched https://github.com/mochidev/swift-questionable-concurrency (0.93s)
Computing version for https://github.com/mochidev/swift-questionable-concurrency
Computed https://github.com/mochidev/swift-questionable-concurrency at 0.2.2 (1.10s)
Computing version for https://github.com/mochidev/Bytes.git
Computed https://github.com/mochidev/Bytes.git at 0.6.2 (0.17s)
Computing version for https://github.com/mochidev/AsyncSequenceReader.git
Computed https://github.com/mochidev/AsyncSequenceReader.git at 0.5.0 (0.19s)
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
Creating working copy for https://github.com/mochidev/AsyncSequenceReader.git
Working copy of https://github.com/mochidev/AsyncSequenceReader.git resolved at 0.5.0
Building for debugging...
[Constructing description]
[Planning 105 / 156]
[Starting]
[44 / 89] QuestionableConcurrency
[45 / 89] QuestionableConcurrency
[55 / 89] Bytes
[61 / 89] QuestionableConcurrency-product
[62 / 89] QuestionableConcurrency-product
[63 / 89] Bytes
[64 / 89] Bytes-product
[68 / 89] AsyncSequenceReader
[69 / 90] QuestionableConcurrency
[71 / 90] AsyncSequenceReader
[74 / 90] QuestionableConcurrency
[75 / 90] QuestionableConcurrency
[76 / 90] AsyncSequenceReader-product
[77 / 90] AsyncSequenceReader-product
[79 / 91]
[79 / 91] CodableDatastore
[83 / 100] CodableDatastore
[84 / 100] CodableDatastore
[85 / 101] CodableDatastore
[87 / 101] CodableDatastore
[88 / 102] CodableDatastore
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Snapshot/Snapshot.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Snapshot.swift
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Snapshot/Snapshot.swift:154:51: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
152 |         /// Encode the provided manifest, and write it to disk.
153 |         let data = try JSONEncoder.shared.encode(manifest)
154 |         try data.write(to: manifestURL, options: .atomic)
    |                                                   `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
155 |
156 |         /// 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 |
/host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk Persistence/Snapshot/Snapshot.swift:168:52: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
166 |         /// Encode the provided iteration, and write it to disk.
167 |         let data = try JSONEncoder.shared.encode(iteration)
168 |         try data.write(to: iterationURL, options: .atomic)
    |                                                    `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
169 |
170 |         /// 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/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 /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/DatedIdentifier.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/DiskPersistence.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/DiskPersistenceError.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/ISO8601DateFormatter+Milliseconds.swift /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/JSONCoder.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/LazyTask.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Snapshot/Snapshot.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Snapshot/SnapshotIteration.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/Snapshot/SnapshotManifest.swift -primary-file /host/spi-builder-workspace/Sources/CodableDatastore/Persistence/Disk\ Persistence/SortOrder.swift -primary-file /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-7 -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/LazyTask.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/Snapshot.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/SnapshotIteration.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/SnapshotManifest.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/SortOrder.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/StoreInfo.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/LazyTask.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/Snapshot.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/SnapshotIteration.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/SnapshotManifest.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/SortOrder.o -index-unit-output-path /CodableDatastore.build/Debug-webassembly-wasm32/CodableDatastore-t.build/Objects-normal/wasm32/StoreInfo.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm