bazelbuild / bazelbuild/bazel

rules_rust crash under bazel 9

Closed
#29,114 11 comments 2 reactions 1 assignee Claimed by @fmeum View on GitHub
P2 team-ExternalDeps type: bug
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

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` ?

```text

```

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.