Clippy throws errors in CI but not locally

Hi, I'm dealing with a weird issue now that when running my pr against clippy in CI using the command: cargo lint -- -D warnings throws some lint errors. Then, when I clone this code down to my local machine and run the exact same command, I do not get these errors. Any help is appreciated to help me get the CI errors locally.

What toolchain is it locally? Run rustup show in the project to confirm your local active toolchain agrees with the one in rust-toolchain.toml.

1 Like