The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-state-graph, reference 0.35.0 (4ec120), with Swift 6.4 for Wasm on 24 Nov 2026 17:13:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/swift-state-graph.git
Reference: 0.35.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/VergeGroup/swift-state-graph
 * tag               0.35.0     -> FETCH_HEAD
HEAD is now at 4ec120a Run AsyncDataStore actions on a per-store actor (#160)
Cloned https://github.com/VergeGroup/swift-state-graph.git
Revision (git rev-parse @):
4ec120a431a37cf98e392b68d246518ac1621053
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/VergeGroup/swift-state-graph.git at 0.35.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/VergeGroup/swift-state-graph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/VergeGroup/swift-typed-identifier.git
[1/1002] Fetching swift-macro-testing
[863/1065] Fetching swift-macro-testing, swift-typed-identifier
Fetched https://github.com/VergeGroup/swift-typed-identifier.git (0.40s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.40s)
[1/82317] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (2.77s)
Computing version for https://github.com/VergeGroup/swift-typed-identifier.git
Computed https://github.com/VergeGroup/swift-typed-identifier.git at 2.0.4 (2.91s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.14s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16649] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.72s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.69s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.7 (0.14s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.44s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.60s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6183] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.64s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (1.55s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.7
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/VergeGroup/swift-typed-identifier.git
Working copy of https://github.com/VergeGroup/swift-typed-identifier.git resolved at 2.0.4
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.18s)
Building for debugging...
[Constructing description]
[Planning 209 / 270]
[57 / 99] StateGraphMacro
[58 / 99] TypedIdentifier
[65 / 99] TypedIdentifier
[67 / 100] TypedIdentifier-product
[70 / 100] StateGraphNormalizationMacro
[70 / 100] StateGraphMacro
[78 / 102] StateGraphMacro
[90 / 116] StateGraphNormalization
[93 / 117] StateGraphNormalization
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/StateGraph/Logger.swift:1:8: error: no such module 'os.log'
 1 | import os.log
   |        `- error: no such module 'os.log'
 2 |
 3 | /// Runtime diagnostics emitted by StateGraph during development.
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/StateGraph/GraphMutationProhibition.swift /host/spi-builder-workspace/Sources/StateGraph/GraphTransaction.swift /host/spi-builder-workspace/Sources/StateGraph/GraphTransactionCoordinator.swift /host/spi-builder-workspace/Sources/StateGraph/Logger.swift /host/spi-builder-workspace/Sources/StateGraph/Macro.swift /host/spi-builder-workspace/Sources/StateGraph/NodeStore.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/Filter.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/GraphTracking.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/GraphTrackingCancellable.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/GraphTrackingHandler.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/Node+Observe.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/Subscriptions.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/withGraphTracking.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/withGraphTrackingGroup.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/withGraphTrackingMap.swift /host/spi-builder-workspace/Sources/StateGraph/Observation/withTracking.swift /host/spi-builder-workspace/Sources/StateGraph/Primitives/AllocatedLock.swift /host/spi-builder-workspace/Sources/StateGraph/Primitives/Computed.swift /host/spi-builder-workspace/Sources/StateGraph/Primitives/KeyPath.swift /host/spi-builder-workspace/Sources/StateGraph/Primitives/Node.swift /host/spi-builder-workspace/Sources/StateGraph/Primitives/StateGraph.swift /host/spi-builder-workspace/Sources/StateGraph/Primitives/Stored.swift /host/spi-builder-workspace/Sources/StateGraph/SourceLocation.swift /host/spi-builder-workspace/Sources/StateGraph/SwiftUI+GraphTracking.swift /host/spi-builder-workspace/Sources/StateGraph/SwiftUI.swift /host/spi-builder-workspace/Sources/StateGraph/ThreadLocal.swift /host/spi-builder-workspace/Sources/StateGraph/UserDefaults/GraphUserDefault.swift /host/spi-builder-workspace/Sources/StateGraph/UserDefaults/UserDefaultsAccessCoordinator.swift /host/spi-builder-workspace/Sources/StateGraph/UserDefaults/UserDefaultsStorable.swift /host/spi-builder-workspace/Sources/StateGraph/util.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 -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/StateGraphMacro\#StateGraphMacro -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 -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/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StateGraph -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/Objects-normal/wasm32/StateGraph_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/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/Objects-normal/wasm32/Modules/StateGraph.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/Objects-normal/wasm32/Modules/StateGraph.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/Objects-normal/wasm32/StateGraph-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/Objects-normal/wasm32/StateGraph-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/Objects-normal/wasm32/StateGraph-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-state-graph.build/Debug-webassembly-wasm32/StateGraph-t.build/Objects-normal/wasm32/Modules/StateGraph.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm