Skip to content

Fails to build with rustc 1.20.0-nightly (067971139 2017-07-02) #1867

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

Closed
Frederick888 opened this issue Jul 3, 2017 · 0 comments
Closed

Comments

@Frederick888
Copy link
Contributor

Frederick888 commented Jul 3, 2017

Trying to install clippy with rustup in Linux and got this:

$ cargo install clippy -f
    Updating registry `https://github.com/rust-lang/crates.io-index`
  Installing clippy v0.0.141
  Compiling semver-parser v0.7.0
  Compiling unicode-xid v0.0.4
  Compiling quine-mc_cluskey v0.2.4
  Compiling serde v1.0.9
  Compiling either v1.1.0
  Compiling lazy_static v0.2.8
  Compiling quote v0.3.15
  Compiling dtoa v0.4.1
  Compiling itoa v0.3.1
  Compiling unicode-normalization v0.1.5
  Compiling num-traits v0.1.39
  Compiling regex-syntax v0.4.1
  Compiling matches v0.1.6
  Compiling synom v0.11.3
  Compiling itertools v0.6.0
  Compiling syn v0.11.11
  Compiling semver v0.6.0
  Compiling serde_json v1.0.2
  Compiling toml v0.4.2
  Compiling serde_derive_internals v0.15.1
  Compiling serde_derive v1.0.9
  Compiling clippy_lints v0.0.141
  Compiling cargo_metadata v0.2.1
  Compiling clippy v0.0.141
error[E0369]: binary operation `>` cannot be applied to type `rustc::session::CompileIncomplete`
  --> /home/frederick/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.141/src/main.rs:282:20
    |
282 |                 if err_count > 0 {
    |                    ^^^^^^^^^^^^^
    |
    = note: an implementation of `std::cmp::PartialOrd` might be missing for `rustc::session::CompileIncomplete`

error: aborting due to previous error

error: failed to compile `clippy v0.0.141`, intermediate artifacts can be found at `/tmp/cargo-install.NzDKy1P9xxuM`

Caused by:
  Could not compile `clippy`.

To learn more, run the command again with --verbose.
$ rustc --version
rustc 1.20.0-nightly (067971139 2017-07-02)
$ cargo --version 
cargo 0.21.0-nightly (4c0a8b63d 2017-06-27)

Caused by rust-lang/rust#43015 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant