fix(deps): pin rand 0.9 to match ndarray-rand 0.16 — un-break workspace build#129
Merged
Conversation
main's Rust workspace did not compile: a dependabot bump to rand 0.10 pulled a second, incompatible rand into the tree (ndarray-rand 0.16 bundles rand 0.9), so esn/lsm failed with Distribution/Rng trait mismatches (E0277) and the moved random()/sample() methods (E0599). rust-ci never caught it because that reusable dies at startup (0 jobs). Revert rand to 0.9 / rand_distr to 0.5 (ndarray-rand 0.16's rand line); no source changes needed. cargo build --workspace + cargo test --workspace now green. https://claude.ai/code/session_01Gu1JFCZHuBtBhAWPr4sMQw
hyperpolymath
pushed a commit
that referenced
this pull request
Jun 2, 2026
Captures: proof tiers 0-3 merged; main state (MPL, android carve-out, upstream rust-ci/hypatia reds); my open PRs (#129 merge-first, #125, #119); the gossamer migration map (#83, sub-issues #108-115, sub-PRs #121-130); blocked owner decisions; and dispatchable prompts already drafted. https://claude.ai/code/session_01Gu1JFCZHuBtBhAWPr4sMQw
hyperpolymath
pushed a commit
that referenced
this pull request
Jun 2, 2026
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
main's Rust workspace does not compile — this fixes itcrates/esnandcrates/lsmfail to build onmain. A dependabot bump setrand = "0.10"in the workspaceCargo.toml, butndarray-rand 0.16bundlesrand 0.9— so two incompatiblerandcrates end up in the tree and theNormal/Bernoullidistributions andRngtrait no longer line up (E0277), plusrandom()/sample()appear "moved" (E0599).This went undetected because
rust-cidies at startup (0 jobs) — the estaterust-ci-reusableis broken (separate, upstream issue inhyperpolymath/standards), so nothing actually compiled the workspace in CI.Fix
Revert
rand→0.9andrand_distr→0.5(the linendarray-rand 0.16expects). No source changes needed; the committedCargo.lockalready resolves rand 0.9, so onlyCargo.tomldrifted.Verified locally
cargo build --workspace→ Finishedcargo test --workspace→ all green (esn/lsm/bridge/sensors/core/claude-client + proptests + lifecycle/concurrency), 0 failures.This unblocks every open gossamer sub-PR draft (#121–#128), whose workspace verification was failing on this exact pre-existing break. Recommend merging first. (
rust-ciitself will stay red until thestandardsreusable is fixed — tracked separately.)https://claude.ai/code/session_01Gu1JFCZHuBtBhAWPr4sMQw
Generated by Claude Code