Skip to content

TypeId downcast error in v0.1.31 #135

@michaelsproul

Description

@michaelsproul

When running cargo-udeps on Lighthouse it fails with the following error:

cargo +nightly-2022-08-11 udeps --tests --all-targets --release
thread 'main' panicked at 'Mismatch between definition and access: Could not downcast to TypeId { t: 11046744883169582909 }, need to downcast to TypeId { t: 1896031399542294508 }
', /home/michael/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.64.0/src/cargo/util/command_prelude.rs:736:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:189: udeps] Error 101

I've tried both a recent nightly (2022-08-11) and a previous one that we had pinned on CI (nightly-2022-05-20).

For now we'll downgrade to v0.1.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions