Cargo updates registry index on every command #13712
Labels
A-caching
Area: caching of dependencies, repositories, and build artifacts
C-bug
Category: bug
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
For a while now I've seen "Updating crates.io index" before every build in the rust-lang/rust repository on one of my computers. I got a chance to investigate today and it looks like that's because of this error:
That error is because a bunch of the files in the cache directory ended up owned by root rather than my user, probably as a result of a docker build of test-various (see lockfile which contains this crate).
I'm filing this because it seems like we ought to:
In my case
r-/ef/r-efi
where all owned by root.The text was updated successfully, but these errors were encountered: