Skip to content

Bump rand from 0.8.5 to 0.8.6 in /rust#22

Merged
konard merged 2 commits into
mainfrom
dependabot/cargo/rust/rand-0.8.6
May 29, 2026
Merged

Bump rand from 0.8.5 to 0.8.6 in /rust#22
konard merged 2 commits into
mainfrom
dependabot/cargo/rust/rand-0.8.6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Bumps rand from 0.8.5 to 0.8.6.

Changelog

Sourced from rand's changelog.

[0.8.6] - 2026-04-14

This release back-ports a fix from v0.10. See also #1763.

Changes

  • Deprecate feature log (#1772)
  • Drop the experimental simd_support feature.

Fix applied

The dependabot bump regenerated rust/Cargo.lock using a newer Cargo that produces lock file version 4. The CI toolchain (nightly-2022-08-22, Cargo 1.65) does not understand lock file v4, failing with:

lock file version 4 was found, but this version of Cargo does not understand this lock file

Fixed by downgrading the lock file version field from 4 to 3, matching the same fix applied in PR #21 for the bytes bump.

Fixes #22

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 23, 2026
@konard
Copy link
Copy Markdown
Member

konard commented May 29, 2026

@dependabot rebase

Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 to 0.8.6.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/0.8.6/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.8.6)

---
updated-dependencies:
- dependency-name: rand
  dependency-version: 0.8.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/rust/rand-0.8.6 branch from 619bc5f to 92305dd Compare May 29, 2026 20:06
@konard konard marked this pull request as draft May 29, 2026 20:44
@konard
Copy link
Copy Markdown
Member

konard commented May 29, 2026

🤖 AI Work Session Started

Starting automated work session at 2026-05-29T20:44:32.345Z

The PR has been converted to draft mode while work is in progress.

This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback.

Downgrade lock file version from 4 to 3 so the CI toolchain (Cargo 1.65,
nightly-2022-08-22) can parse it. Lock file v4 was introduced in Cargo 1.78;
the dependabot bump of rand regenerated the lock file using a newer Cargo
that produced v4, causing the build to fail with "lock file version 4 was
found, but this version of Cargo does not understand this lock file".
@konard konard marked this pull request as ready for review May 29, 2026 20:45
@konard
Copy link
Copy Markdown
Member

konard commented May 29, 2026

Working session summary

The fix is identical to what was applied for the previous bytes bump (PR #21, commit 67ae2d3): the Cargo.lock version field was downgraded from 4 to 3.

Root cause: Dependabot bumped rand from 0.8.5 to 0.8.6 using a modern Cargo that generates lock file version 4. The CI toolchain (nightly-2022-08-22, Cargo ≈1.65) predates lock file v4 (introduced in Cargo 1.78) and fails to parse it.

Fix: Changed version = 4version = 3 in rust/Cargo.lock. PR #22 is now ready: #22


This summary was automatically extracted from the AI working session output.

@konard
Copy link
Copy Markdown
Member

konard commented May 29, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost: $0.330848

📊 Context and tokens usage:

  • 37.1K / 1M (4%) input tokens, 3.0K / 64K (5%) output tokens

Total: (17 new + 37.1K cache writes + 489.7K cache reads) input tokens, 3.0K output tokens, $0.330848 cost

🤖 Models used:

  • Tool: Anthropic Claude Code
  • Requested: sonnet
  • Model: Claude Sonnet 4.6 (claude-sonnet-4-6)

📎 Log file uploaded as Gist (537KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard
Copy link
Copy Markdown
Member

konard commented May 29, 2026

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

@konard konard merged commit 79a74c1 into main May 29, 2026
2 checks passed
@dependabot dependabot Bot deleted the dependabot/cargo/rust/rand-0.8.6 branch May 29, 2026 21:58
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