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

No clippy output from cargo clippy on macOS #4985

Closed
djc opened this issue Jan 2, 2020 · 4 comments
Closed

No clippy output from cargo clippy on macOS #4985

djc opened this issue Jan 2, 2020 · 4 comments
Labels
C-bug Category: Clippy is not doing the correct thing

Comments

@djc
Copy link
Contributor

djc commented Jan 2, 2020

With clippy 0.0.212 (c8e3cfb 2019-10-28) on macOS, I'm not getting any output from clippy, even after touching src/lib.rs. This happens even while clippy running on GitHub Actions' ubuntu-latest shows plenty of warnings in the same project (in this case, the askama_shared crate). The only output on my MacBook Pro is

    Finished dev [unoptimized + debuginfo] target(s) in 0.05s

This is with the stable toolchain installed from rustup.

I'm sorry if this is extremely obvious or if there is a prior bug about this that I missed (I did search the issue tracker for a bit).

@phansch phansch added the C-bug Category: Clippy is not doing the correct thing label Jan 3, 2020
@flip1995
Copy link
Member

flip1995 commented Jan 3, 2020

That is weird. Does cargo clean help?

@djc
Copy link
Contributor Author

djc commented Jan 3, 2020

That does seem to have helped in this case, yes.

@djc
Copy link
Contributor Author

djc commented Jan 3, 2020

I had the same problem in another crate, so this doesn't seem to be specific to this crate.

@flip1995
Copy link
Member

flip1995 commented Jan 4, 2020

Ok, then this is a known problem. This will be fixed, once Clippy is integrated into cargo #3837. In the mean time you can use cargo clippy-preview.

@flip1995 flip1995 closed this as completed Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing
Projects
None yet
Development

No branches or pull requests

3 participants