-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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_lints-0.0.195 doesn't compile on latest Rust nightly 1.27.0 #2718
Comments
Just popping in to say I ran into the same issue, sounds like it's being taken care of though :) |
I'm sure I'm not the first to say this, but I don't really find this acceptable. Clippy is a first-class tool used by almost universally by Rust developers. Out of all the times I've tried to install it, there's been a 50/50 chance of it being broken or not. If Rust is to be adopted in production environments, things need to become a lot more reliable. I know that in most cases that updates to nightly |
@c-edw Regardless of how useful it is, it is a nightly tool. No guarantees, only mitigation. It is an amazing tool, though. |
The rustc_const_math crate has been removed - rust-lang/rust@671b2a5. This causes build failure on rustc 8a37c75 2018-05-02. Seems the crate only gets imported in clippy_lints/src/lib.rs. Checking out #2713 and removing the crate import in lib.rs, I can successfully build. |
+1, had to temporarily disable clippy in our CI, we only have access to the latest nightly in our environment currently :( |
@sharksforarms : Relevant part of Cargo.toml: [dependencies.clippy]
version = "=0.0.195"
optional = true Relevant part of .travis.yml: matrix:
fast_finish: true
include:
- env: TARGET=x86_64-unknown-linux-gnu CC=gcc-6 CXX=g++-6 KCOV=1
os: linux
rust: nightly-2018-04-19
before_script:
- travis/trusty/before-script.sh
addons:
apt:
packages:
- gcc-6
- g++-6
sources:
- ubuntu-toolchain-r-test
script:
- cargo test --features=dev --no-run
... You can use: rustup override set nightly-YYYY-MM-DD to use a specific rust nightly version on your workstation for a specific project. |
0.0.196 is out. Sorry about the long delay, I had a busy week.
I understand your frustration. Unfortunately clippy is just a hobby for all of us. I think the only person (like in the world) who is getting paid to do clippy work is @flip1995 and even that is only for a few hours a month as a student research assistant. We really appreciate all the volunteers who keep clippy working on nightly and are trying to publish as often as possible. We're also looking into some auto-publishing schemes in order to create new crates.io version whenever the master branch builds, but that's not trivial either. |
Hi, I can't use clippy on latest rust nightly. It does not compile. I created a basic project that reproduces the problem. Hopefully I'm not missing something trivial, this is my first issue on this repository (:
This is my Cargo.toml:
Output:
The text was updated successfully, but these errors were encountered: