Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo check not rebuilding dependency that has changed #10175

Open
ehuss opened this issue Dec 6, 2021 · 3 comments
Open

cargo check not rebuilding dependency that has changed #10175

ehuss opened this issue Dec 6, 2021 · 3 comments
Labels
A-rebuild-detection Area: rebuild detection and fingerprinting

Comments

@ehuss
Copy link
Contributor

ehuss commented Dec 6, 2021

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 ran cargo run --release often in the meantime. For reference, I'm running cargo check on https://github.com/robojumper/uc-analyzer/commit/a2c5c14b4b9d05f8a05bec5f24d9edb102b1a3f4 and I'm getting

error[E0004]: non-exhaustive patterns: `&DelegateCallExpr { .. }` not covered
    --> uc_ast_lowering\src\body.rs:1291:32
     |
1291 |         let (kind, ty) = match &expr.kind {
     |                                ^^^^^^^^^^ pattern `&DelegateCallExpr { .. }` not covered
     |
     = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
     = note: the matched value is of type `&uc_ast::ExprKind`

even 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 run cargo check, most often just cargo run --release, and rust-analyzer invokes cargo 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
PS D:\uc-analyzer-cargo-repro> cargo check
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_analysis-eb1e76bd7a2d4720\lib-uc_analysis
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\bitflags-1.3.2" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libbitflags-28f01af37b1a99ce.rmeta" 13283115752.935253200s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\bitflags-28f01af37b1a99ce\\dep-lib-bitflags" mtime=13283115752.899244300s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\bitflags-1.3.2"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_def" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_def-4ce00a45497c9d27.rmeta" 13283115753.266326400s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_def" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libbitflags-28f01af37b1a99ce.rmeta" 13283115752.935253200s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\uc_def-4ce00a45497c9d27\\dep-lib-uc_def" mtime=13283115752.954256800s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "D:\\uc-analyzer-cargo-repro\\uc_def"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\unicode-width-0.1.9" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libunicode_width-f4e6b3a70c924064.rmeta" 13283115752.973261600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\unicode-width-f4e6b3a70c924064\\dep-lib-unicode-width" mtime=13283115752.899244300s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\unicode-width-0.1.9"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\annotate-snippets-0.9.1" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libannotate_snippets-dcc78df68929311e.rmeta" 13283115753.223318100s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\annotate-snippets-0.9.1" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libunicode_width-f4e6b3a70c924064.rmeta" 13283115752.973261600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\annotate-snippets-dcc78df68929311e\\dep-lib-annotate-snippets" mtime=13283115752.996266000s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\annotate-snippets-0.9.1"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_files" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_files-90bb204d732db203.rmeta" 13283115753.396514900s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_files" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libannotate_snippets-dcc78df68929311e.rmeta" 13283115753.223318100s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\uc_files-90bb204d732db203\\dep-lib-uc_files" mtime=13283253705.595419700s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "D:\\uc-analyzer-cargo-repro\\uc_files"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_name" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_name-5963a663708fb94a.rmeta" 13283115753.018270600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\uc_name-5963a663708fb94a\\dep-lib-uc_name" mtime=13283115752.901244900s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "D:\\uc-analyzer-cargo-repro\\uc_name"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_ast-ce7e3156c9b4e0c9.rmeta" 13283190022.552755500s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_name-5963a663708fb94a.rmeta" 13283115753.018270600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_files-90bb204d732db203.rmeta" 13283115753.396514900s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_def-4ce00a45497c9d27.rmeta" 13283115753.266326400s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\uc_ast-ce7e3156c9b4e0c9\\dep-lib-uc_ast" mtime=13283253705.615761200s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "D:\\uc-analyzer-cargo-repro\\uc_ast"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_middle" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_middle-6156bd68ae4de83f.rmeta" 13283258684.014062100s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_middle" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_name-5963a663708fb94a.rmeta" 13283115753.018270600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_middle" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_files-90bb204d732db203.rmeta" 13283115753.396514900s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_middle" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_def-4ce00a45497c9d27.rmeta" 13283115753.266326400s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\uc_middle-6156bd68ae4de83f\\dep-lib-uc_middle" mtime=13283258683.775811000s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "D:\\uc-analyzer-cargo-repro\\uc_middle"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast_lowering" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_ast_lowering-c6bfe594fbf62aa1.rmeta" 13283206508.707530100s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast_lowering" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_ast-ce7e3156c9b4e0c9.rmeta" 13283190022.552755500s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast_lowering" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_name-5963a663708fb94a.rmeta" 13283115753.018270600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast_lowering" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_files-90bb204d732db203.rmeta" 13283115753.396514900s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_ast_lowering" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_middle-6156bd68ae4de83f.rmeta" 13283258684.014062100s
[2021-12-06T10:38:59Z INFO  cargo::core::compiler::fingerprint] dependency on `uc_middle` is newer than we are 13283258684.014062100s > 13283206508.707530100s "D:\\uc-analyzer-cargo-repro\\uc_ast_lowering"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\once_cell-1.8.0" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libonce_cell-db71b4746cfb1f2e.rmeta" 13283115753.060280400s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\once_cell-db71b4746cfb1f2e\\dep-lib-once_cell" mtime=13283115752.902244900s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "%USERPROFILE%\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\once_cell-1.8.0"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_parser" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_parser-5ac8b7eaf86eb177.rmeta" 13283206261.876985600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_parser" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_ast-ce7e3156c9b4e0c9.rmeta" 13283190022.552755500s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_parser" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_name-5963a663708fb94a.rmeta" 13283115753.018270600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_parser" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_files-90bb204d732db203.rmeta" 13283115753.396514900s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_parser" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libonce_cell-db71b4746cfb1f2e.rmeta" 13283115753.060280400s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_parser" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libbitflags-28f01af37b1a99ce.rmeta" 13283115752.935253200s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_parser" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_def-4ce00a45497c9d27.rmeta" 13283115753.266326400s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] all paths up-to-date relative to "D:\\uc-analyzer-cargo-repro\\target\\debug\\.fingerprint\\uc_parser-5ac8b7eaf86eb177\\dep-lib-uc_parser" mtime=13283253705.644766500s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] filesystem up-to-date "D:\\uc-analyzer-cargo-repro\\uc_parser"
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_analysis" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_analysis-eb1e76bd7a2d4720.rmeta" 13283206508.839941400s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_analysis" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_ast-ce7e3156c9b4e0c9.rmeta" 13283190022.552755500s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_analysis" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_name-5963a663708fb94a.rmeta" 13283115753.018270600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_analysis" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_parser-5ac8b7eaf86eb177.rmeta" 13283206261.876985600s
[2021-12-06T10:38:59Z INFO  cargo::core::compiler::fingerprint] fingerprint error for uc_analysis v0.1.0 (D:\uc-analyzer-cargo-repro\uc_analysis)/Check { test: false }/TargetInner { ..: lib_target("uc_analysis", ["lib"], "D:\\uc-analyzer-cargo-repro\\uc_analysis\\src\\lib.rs", Edition2021) }
[2021-12-06T10:38:59Z INFO  cargo::core::compiler::fingerprint]     err: current filesystem status shows we're outdated
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_ast-ce7e3156c9b4e0c9\lib-uc_ast
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_def-4ce00a45497c9d27\lib-uc_def
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\bitflags-28f01af37b1a99ce\lib-bitflags
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_files-90bb204d732db203\lib-uc_files
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\annotate-snippets-dcc78df68929311e\lib-annotate-snippets
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\unicode-width-f4e6b3a70c924064\lib-unicode-width
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_name-5963a663708fb94a\lib-uc_name
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_ast_lowering-c6bfe594fbf62aa1\lib-uc_ast_lowering
[2021-12-06T10:38:59Z INFO  cargo::core::compiler::fingerprint] fingerprint error for uc_ast_lowering v0.1.0 (D:\uc-analyzer-cargo-repro\uc_ast_lowering)/Check { test: false }/TargetInner { ..: lib_target("uc_ast_lowering", ["lib"], "D:\\uc-analyzer-cargo-repro\\uc_ast_lowering\\src\\lib.rs", Edition2021) }
[2021-12-06T10:38:59Z INFO  cargo::core::compiler::fingerprint]     err: current filesystem status shows we're outdated
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_middle-6156bd68ae4de83f\lib-uc_middle
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_parser-5ac8b7eaf86eb177\lib-uc_parser
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\once_cell-db71b4746cfb1f2e\lib-once_cell
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] fingerprint at: D:\uc-analyzer-cargo-repro\target\debug\.fingerprint\uc_analyzer-a1c8b642603088d1\bin-uc_analyzer
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max output mtime for "D:\\uc-analyzer-cargo-repro\\uc_analyzer" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_analyzer-a1c8b642603088d1.rmeta" 13283206508.950518200s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_analyzer" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_ast-ce7e3156c9b4e0c9.rmeta" 13283190022.552755500s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_analyzer" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_name-5963a663708fb94a.rmeta" 13283115753.018270600s
[2021-12-06T10:38:59Z DEBUG cargo::core::compiler::fingerprint] max dep mtime for "D:\\uc-analyzer-cargo-repro\\uc_analyzer" is "D:\\uc-analyzer-cargo-repro\\target\\debug\\deps\\libuc_parser-5ac8b7eaf86eb177.rmeta" 13283206261.876985600s
[2021-12-06T10:38:59Z INFO  cargo::core::compiler::fingerprint] fingerprint error for uc_analyzer v0.1.0 (D:\uc-analyzer-cargo-repro\uc_analyzer)/Check { test: false }/TargetInner { name: "uc_analyzer", doc: true, ..: with_path("D:\\uc-analyzer-cargo-repro\\uc_analyzer\\src\\main.rs", Edition2021) }
[2021-12-06T10:38:59Z INFO  cargo::core::compiler::fingerprint]     err: current filesystem status shows we're outdated
    Checking uc_ast_lowering v0.1.0 (D:\uc-analyzer-cargo-repro\uc_ast_lowering)
error[E0004]: non-exhaustive patterns: `&DelegateCallExpr { .. }` not covered
    --> uc_ast_lowering\src\body.rs:1291:32
     |
1291 |         let (kind, ty) = match &expr.kind {
     |                                ^^^^^^^^^^ pattern `&DelegateCallExpr { .. }` not covered
     |
     = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
     = note: the matched value is of type `&uc_ast::ExprKind`

warning: unused variable: `ops`
   --> uc_ast_lowering\src\lib.rs:928:9
    |
928 |         ops: &HashMap<DefId, &'hir uc_ast::FuncDef>,
    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ops`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `name`
   --> uc_ast_lowering\src\body.rs:339:44
    |
339 |             uc_ast::StatementKind::Label { name } => {
    |                                            ^^^^ help: try ignoring the field: `name: _`

warning: unused variable: `receiver`
   --> uc_ast_lowering\src\body.rs:624:38
    |
624 |             NativeIteratorKind::Func(receiver, func_id) => {
    |                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`

warning: unused variable: `truncation`
    --> uc_ast_lowering\src\body.rs:1742:67
     |
1742 |                     ty::ConversionClassification::Allowed { auto, truncation } => {
     |                                                                   ^^^^^^^^^^ help: try ignoring the field: `truncation: _`

For more information about this error, try `rustc --explain E0004`.
warning: `uc_ast_lowering` (lib) generated 4 warnings
error: could not compile `uc_ast_lowering` due to previous error; 4 warnings emitted
@ehuss
Copy link
Contributor Author

ehuss commented Dec 6, 2021

@robojumper Can you share the ZIP file you have?

Can you reproduce it if you delete the target/debug/incremental directory?

@ehuss ehuss added the A-rebuild-detection Area: rebuild detection and fingerprinting label Dec 6, 2021
@robojumper
Copy link

robojumper commented Dec 6, 2021

Deleting the target/debug/incremental directory has no effect on this error.

@robojumper
Copy link

I should've thought to add: This is on cargo 1.58.0-nightly (294967c53 2021-11-29), and I'm quite certain this has happened at least once before, when working on this project a few days earlier with the same nightly. Back then I ran cargo clean, which expectedly fixed it. That's why I took the zip snapshot and decided to report the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rebuild-detection Area: rebuild detection and fingerprinting
Projects
None yet
Development

No branches or pull requests

2 participants