-
Notifications
You must be signed in to change notification settings - Fork 121
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
Clippy not available through crates.io #236
Comments
the clippy task tries first cargo install and if fails, it will try rustup. |
See https://travis-ci.org/orenbenkiki/cargo-coverage-annotations |
I'll take a look at it. i usually work with nightly so its a surprise to me |
ya clippy seems broken on nightly. |
ok so it adds another 6 minutes to travis run time. |
Great, thanks! It would be nice if Travis allowed for something like |
i pushed to master a fix for it. can you by any chance also test it by running cargo-make installation via github directly? i'm aware of travis cache, but its easy to forget about it and start running with really outdated stuff. |
I got:
You can see the build in: https://travis-ci.org/orenbenkiki/cargo-todox/jobs/537889996 |
ya sorry, think i fixed that |
Yes, it works now for in my travis build. I'm trying out more aggressive travis caching as well. In general you can just tell travis which directories to preserve. I'm trying |
great. will release an official version later today. |
This isn't the fault of
cargo make
of course, but theclippy
folk have decided that it will no longer be available through a simplecargo install
. I'm sure they have their reasons; I'm too confused about the relationship betweencargo install
andrustup component add
to have an opinion either way (I couldn't find a link that clearly explained it).Right now,
cargo make clippy
using rust nightly (on travis) failes with the error:Running
cargo make clippy
still works for stable rust, but it runs the old unmaintained version from crates.io.One of the things I greatly appreciate about
cargo make
is that it provides canned recipes for installing and running all sort of utilities, such askcov
and, of course,clippy
. I appreciate it is an endless and often thankless job to keep these recipes up to date. So, first, a big thanks here for creating these recipes. And... theclippy
recipe needs fixing to deal with whatever-the-right-method-is-these-days to install it.The text was updated successfully, but these errors were encountered: