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

--fix fails sometimes if clippy and sccache used: "error: Unrecognized option: \'E\'\n\n #5507

Closed
matthiaskrgr opened this issue Apr 22, 2020 · 2 comments · Fixed by mozilla/sccache#728
Labels
C-bug Category: Clippy is not doing the correct thing

Comments

@matthiaskrgr
Copy link
Member

https://github.com/rust-random/rand
When checking the rand crate for example with cargo clippy -Zunstable-options --fix while using sccache-git, the following error is thrown:

    Checking ppv-lite86 v0.2.6
    Checking rand_core v0.5.1 (/home/matthias/vcs/github/rand/rand_core)
error: failed to execute compile
caused by: Compiler not supported: "error: Unrecognized option: \'E\'\n\n"
error: could not compile `rand_core`.

To learn more, run the command again with --verbose.

The strange thing is that -E is never passed according to --verbose.

Discord logs of when we tried to find out what is going on:
https://discordapp.com/channels/442252698964721669/459149871191031810/701833971608059906

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

phansch commented May 16, 2020

@matthiaskrgr I believe this can be closed with mozilla/sccache#728 being merged?

@matthiaskrgr
Copy link
Member Author

Right, I forgot to check back on that.

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

Successfully merging a pull request may close this issue.

3 participants