Skip to content

chore(deps): bump rand from 0.9.4 to 0.10.1#121

Merged
hyperpolymath merged 2 commits into
mainfrom
dependabot/cargo/rand-0.10.1
May 29, 2026
Merged

chore(deps): bump rand from 0.9.4 to 0.10.1#121
hyperpolymath merged 2 commits into
mainfrom
dependabot/cargo/rand-0.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Copy link
Copy Markdown
Contributor

Bumps rand from 0.9.4 to 0.10.1.

Changelog

Sourced from rand's changelog.

[0.10.1] — 2026-02-11

This release includes a fix for a soundness bug; see #1763.

Changes

  • Document panic behavior of make_rng and add #[track_caller] (#1761)
  • Deprecate feature log (#1763)

#1761: rust-random/rand#1761 #1763: rust-random/rand#1763

[0.10.0] - 2026-02-08

Changes

  • The dependency on rand_chacha has been replaced with a dependency on chacha20. This changes the implementation behind StdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones in chacha20 instead of rand_chacha (#1642).
  • Rename fns IndexedRandom::choose_multiple -> sample, choose_multiple_array -> sample_array, choose_multiple_weighted -> sample_weighted, struct SliceChooseIter -> IndexedSamples and fns IteratorRandom::choose_multiple -> sample, choose_multiple_fill -> sample_fill (#1632)
  • Use Edition 2024 and MSRV 1.85 (#1653)
  • Let Fill be implemented for element types, not sliceable types (#1652)
  • Fix OsError::raw_os_error on UEFI targets by returning Option<usize> (#1665)
  • Replace fn TryRngCore::read_adapter(..) -> RngReadAdapter with simpler struct RngReader (#1669)
  • Remove fns SeedableRng::from_os_rng, try_from_os_rng (#1674)
  • Remove Clone support for StdRng, ReseedingRng (#1677)
  • Use postcard instead of bincode to test the serde feature (#1693)
  • Avoid excessive allocation in IteratorRandom::sample when amount is much larger than iterator size (#1695)
  • Rename os_rng -> sys_rng, OsRng -> SysRng, OsError -> SysError (#1697)
  • Rename Rng -> RngExt as upstream rand_core has renamed RngCore -> Rng (#1717)

Additions

  • Add fns IndexedRandom::choose_iter, choose_weighted_iter (#1632)
  • Pub export Xoshiro128PlusPlus, Xoshiro256PlusPlus prngs (#1649)
  • Pub export ChaCha8Rng, ChaCha12Rng, ChaCha20Rng behind chacha feature (#1659)
  • Fn rand::make_rng() -> R where R: SeedableRng (#1734)

Removals

  • Removed ReseedingRng (#1722)
  • Removed unused feature "nightly" (#1732)
  • Removed feature small_rng (#1732)

#1632: rust-random/rand#1632 #1642: rust-random/rand#1642 #1649: rust-random/rand#1649 #1652: rust-random/rand#1652 #1653: rust-random/rand#1653 #1659: rust-random/rand#1659 #1665: rust-random/rand#1665 #1669: rust-random/rand#1669 #1674: rust-random/rand#1674 #1677: rust-random/rand#1677 #1693: rust-random/rand#1693 #1695: rust-random/rand#1695 #1697: rust-random/rand#1697

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 29, 2026
Bumps [rand](https://github.com/rust-random/rand) from 0.9.4 to 0.10.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.9.4...0.10.1)

---
updated-dependencies:
- dependency-name: rand
  dependency-version: 0.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/rand-0.10.1 branch from 38de562 to abc80d2 Compare May 29, 2026 10:55
@hyperpolymath hyperpolymath enabled auto-merge (squash) May 29, 2026 10:56
@hyperpolymath hyperpolymath disabled auto-merge May 29, 2026 10:57
@hyperpolymath hyperpolymath merged commit beb8052 into main May 29, 2026
13 of 34 checks passed
@hyperpolymath hyperpolymath deleted the dependabot/cargo/rand-0.10.1 branch May 29, 2026 10:57
hyperpolymath added a commit that referenced this pull request May 30, 2026
…gnore FP fix + deno.lock populate (#128)

## Summary — auto-merge deadlock breaker

This branch bundles **three** required-check fixes that had been split
across PRs #126, #127, #128 — but each PR's required-checks failed
because they depended on the others. Solo PRs deadlocked; this PR closes
the chain.

### Bundled commits

1. **`chore(deps): revert 5 dependabot major-version bumps that broke
CI`** (original #128 scope)

Five dependabot major bumps merged 2026-05-29 without call-site updates:
axum 0.7→0.8 (#120), rand 0.9→0.10 (#121), criterion 0.5→0.8 (#122), nom
7→8 (#123), rustyline 15→18 (#124). Each shipped real API breaks:
- rand 0.10 renamed `Rng` → `RngExt` (because upstream `rand_core`
renamed `RngCore` → `Rng`); `use rand::Rng` no longer brings
`random_range` / `random` in scope.
- nom 8 moved from closure-based to trait-based combinators
(`alt(args)(input)` → `alt(args).parse(input)`).
- axum 0.8 transitively pulls a different tower-http (compile mismatch
in `follow_redirect/policy/mod.rs`).

Reverts all 5 back to the May-28 working state. `cargo check --lib`
cleans in ~2 min locally.

2. **`chore(governance): populate empty deno.lock with minimal valid v4
lockfile`** (was #127)

Replaces the 0-byte `deno.lock` (tracked since 3b03087 for sweep
visibility) with `{"version":"4","remote":{}}`. Unblocks `governance /
Language / package anti-pattern policy` which fails on `deno run`
lockfile parse before reaching the actual `.ts` walk.

3. **`chore(governance): clear 12 trusted-base false-positive escape
hatches`** (was #126)

Adds `.trusted-base-ignore` for 4 Rust pattern-detector tables (10 hits)
— same FP class as the believe_me audit in `docs/PROOF-NEEDS.md` (zero
real escapes). Adds `-- AXIOM:` / `-- TRUSTED:` magic-word lines in the
script's 5-line window for two real Agda postulates (`funext`,
`Conflicts`).

## Why bundled

Each individual PR failed its OWN required checks because it depended on
the others' fixes:
- #128 (revert) needed `governance / Language / package anti-pattern
policy` → fixed in #127
- #128 (revert) needed `governance / Trusted-base reduction policy` →
fixed in #126
- #126 + #127 needed `T1 / *` live-provers GREEN → fixed in #128

Bundling resolves the chicken-and-egg. #126 and #127 are closed as
superseded with backlinks.

## Verification

- Local: `cargo check --lib` clean (1m 52s).
- PR #126 had `Trusted-base reduction policy: SUCCESS` and `Validate K9
/ A2ML / eclexiaiser: SUCCESS` before being closed — proves the fix
works in isolation.
- PR #127 had `Language / package anti-pattern policy: SUCCESS` before
being closed.
- All three classes of CI failure are now addressed in this single PR.

## Seam-gaps captured (out of scope)

1. **Dependabot major bumps + always-auto-merge interact badly**. Per
the standing estate hook `feedback_always_automerge_prs`, auto-merge is
universal. For major bumps without paired code updates, that's
structurally unsafe — the only checks that DID gate the merges
(validation gates) don't compile the workspace. Worth a follow-up:
either Dependabot config to draft major bumps, or a per-repo guard
requiring manual review for major-version-only PRs.

2. **`standards check-ts-allowlist.ts` could pass `--no-lock`** — the
script is a read-only file walker that doesn't import anything, so the
lockfile is irrelevant. Adding `--no-lock` makes it robust to this
entire failure class estate-wide.

3. **`standards rust-ci-reusable` doesn't pass `--locked`** — `cargo
check` / `cargo test` happily auto-update Cargo.lock during CI, masking
version drift. Adding `--locked` to the reusable would surface drift the
first time it happens, instead of when the next major hits.

## Test plan

- [x] Local `cargo check --lib` clean.
- [ ] CI: all required checks GREEN on this branch.
- [ ] `T1 / z3`, `T1 / vampire`, `T1 / spass` GREEN (already verified
GREEN on the first push of #128).

Refs: #92 (broader baseline failures — this PR addresses the compile +
trusted-base + language-policy slices). Supersedes #126, #127.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant