P2help wantedteam-ExternalDepstype: bug
Description
Description of the bug:
https://github.com/patrickmscott/rules_rust_bazel9
When modifying Cargo.toml and requesting CARGO_BAZEL_REPIN=true, bazel crashes because the lockfile has been modified.
@katre
Which category does this issue belong to?
Rules API
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
https://github.com/patrickmscott/rules_rust_bazel9
Which operating system are you running Bazel on?
linux
What is the output of bazel info release?
release 9.0.1
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse HEAD ?
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response