EmbarkStudios / cargo-deny

❌ Cargo plugin for linting your dependencies 🦀

Home Page:http://embark.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cargo-deny fails to compile after previously working

alice-i-cecile opened this issue · comments

Describe the bug

cargo-deny fails to compile in Github Actions. This started today, and is generally the sort of failure observed by a semver violation in a dependency.

the method context exists for fn item fn(&mut &[u8]) -> Result<SignatureRef<'>, ErrMode<>> {decode::<'_, _>}, but its trait bounds were not satisfied

To reproduce

Run cargo install cargo-deny.

cargo-deny version

0.14.13

What OS were you running cargo-deny on?

Linux

Additional context

Failed CI run: https://github.com/bevyengine/bevy/actions/runs/8041691846/job/21961284606

Upstream issue: Byron/gitoxide#1309

The README uses cargo install --locked cargo-deny specifically to avoid these kind of issues as the lockfile is always guaranteed to compile.