cargo check
not rebuilding dependency that has changed
#10175
Labels
A-rebuild-detection
Area: rebuild detection and fingerprinting
Originally posted by @robojumper in #8868 (comment)
I'm hitting a similar error in a workspace of mine, although the problem is different in that a workspace dependency is not rebuilt when running
cargo check
and shows errors based on outdated versions of workspace crates, even though I have successfully rancargo run --release
often in the meantime. For reference, I'm runningcargo check
on https://github.com/robojumper/uc-analyzer/commit/a2c5c14b4b9d05f8a05bec5f24d9edb102b1a3f4 and I'm gettingeven though the variant had been removed in https://github.com/robojumper/uc-analyzer/commit/8f11b9adfe246aa3793b7ab92040c2f6a3eef51b, 14 hours/4 commits earlier. Changes to
uc_ast_lowering\src\body.rs
do not make the error go away.This is despite
cargo run --release
working fine. I rarely runcargo check
, most often justcargo run --release
, andrust-analyzer
invokescargo clippy
quite often.I can't reproduce this from a fresh checkout, but I have a zipped copy of the project + target directory that I can use to reproduce this in a different folder.
Console transcript with fingerprint trace
The text was updated successfully, but these errors were encountered: