Skip to content

build failure with latest nightly #2287

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
matthiaskrgr opened this issue Dec 22, 2017 · 2 comments
Closed

build failure with latest nightly #2287

matthiaskrgr opened this issue Dec 22, 2017 · 2 comments

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented Dec 22, 2017

cargo 0.25.0-nightly (930f9d949 2017-12-05)
rustc 1.24.0-nightly (250b49205 2017-12-21)
   Compiling clippy_lints v0.0.176 (file:///home/matthias/vcs/github/rust-clippy/clippy_lints)
       Fresh cargo_metadata v0.2.3
     Running `rustc --crate-name clippy_lints clippy_lints/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=946390e7b003e59c -C extra-filename=-946390e7b003e59c --out-dir /home/matthias/vcs/github/rust-clippy/target/debug/deps -L dependency=/home/matthias/vcs/github/rust-clippy/target/debug/deps --extern url=/home/matthias/vcs/github/rust-clippy/target/debug/deps/liburl-f3c8cd44e857a80c.rlib --extern regex_syntax=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libregex_syntax-f66a6b6e453ab13b.rlib --extern serde=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libserde-796298c9c5cec511.rlib --extern toml=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libtoml-a132e4f6c536dc93.rlib --extern itertools=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libitertools-d8f82185ab7d7367.rlib --extern matches=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libmatches-71155551f45b4cd0.rlib --extern unicode_normalization=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libunicode_normalization-c8373de3a4f97548.rlib --extern semver=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libsemver-abaa62199eb6b5a8.rlib --extern pulldown_cmark=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libpulldown_cmark-710a8917e9dae0c4.rlib --extern serde_derive=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libserde_derive-734599bbb3d11cdf.so --extern if_chain=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libif_chain-ae8865bca6540deb.rlib --extern lazy_static=/home/matthias/vcs/github/rust-clippy/target/debug/deps/liblazy_static-6a355b73f4fb5868.rlib --extern quine_mc_cluskey=/home/matthias/vcs/github/rust-clippy/target/debug/deps/libquine_mc_cluskey-68d5f9d68d7dde33.rlib -C target-cpu=native`
error[E0407]: method `visit_lifetime_def` is not a member of trait `Visitor`
   --> clippy_lints/src/lifetimes.rs:411:5
    |
411 | /     fn visit_lifetime_def(&mut self, _: &'tcx LifetimeDef) {
412 | |         // don't actually visit `<'a>` or `<'a: 'b>`
413 | |         // we've already visited the `'a` declarations and
414 | |         // don't want to spuriously remove them
415 | |         // `'b` in `'a: 'b` is useless unless used elsewhere in
416 | |         // a non-lifetime bound
417 | |     }
    | |_____^ not a member of trait `Visitor`

error[E0531]: cannot find tuple struct/variant `TyImplTraitUniversal` in this scope
   --> clippy_lints/src/lifetimes.rs:335:13
    |
335 |             TyImplTraitUniversal(_, ref param_bounds) => for bound in param_bounds {
    |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0615]: attempted to take value of method `ty_params` on type `&'tcx rustc::hir::Generics`
   --> clippy_lints/src/lifetimes.rs:104:26
    |
104 |     for typ in &generics.ty_params {
    |                          ^^^^^^^^^
    |
    = help: maybe a `()` to call it is missing?

error[E0615]: attempted to take value of method `lifetimes` on type `&'tcx rustc::hir::Generics`
   --> clippy_lints/src/lifetimes.rs:125:52
    |
125 |     if could_use_elision(cx, decl, body, &generics.lifetimes, bounds_lts) {
    |                                                    ^^^^^^^^^
    |
    = help: maybe a `()` to call it is missing?

error[E0609]: no field `bound_lifetimes` on type `&rustc::hir::WhereBoundPredicate`
   --> clippy_lints/src/lifetimes.rs:373:58
    |
373 |                 let allowed_lts = allowed_lts_from(&pred.bound_lifetimes);
    |                                                          ^^^^^^^^^^^^^^^

error[E0615]: attempted to take value of method `lifetimes` on type `&'tcx rustc::hir::Generics`
   --> clippy_lints/src/lifetimes.rs:425:10
    |
425 |         .lifetimes
    |          ^^^^^^^^^
    |
    = help: maybe a `()` to call it is missing?

error[E0615]: attempted to take value of method `ty_params` on type `&rustc::hir::Generics`
    --> clippy_lints/src/methods.rs:1852:18
     |
1852 |         generics.ty_params.iter().any(|param| {
     |                  ^^^^^^^^^
     |
     = help: maybe a `()` to call it is missing?

error[E0609]: no field `ty_params` on type `&syntax::ast::Generics`
   --> clippy_lints/src/misc_early.rs:191:24
    |
191 |         for ty in &gen.ty_params {
    |                        ^^^^^^^^^

error[E0615]: attempted to take value of method `ty_params` on type `rustc::hir::Generics`
   --> clippy_lints/src/new_without_default.rs:106:48
    |
106 |                         if !impl_item.generics.ty_params.is_empty() {
    |                                                ^^^^^^^^^
    |
    = help: maybe a `()` to call it is missing?

error[E0609]: no field `bound_lifetimes` on type `&rustc::hir::PolyTraitRef`
   --> clippy_lints/src/types.rs:960:41
    |
960 |                     .any(|bound| !bound.bound_lifetimes.is_empty());
    |                                         ^^^^^^^^^^^^^^^

error: aborting due to 10 previous errors

error: Could not compile `clippy_lints`.
@Manishearth
Copy link
Member

on it

@adeschamps
Copy link

Thanks! You were "on it" literally six seconds after I ran into this. It's working now.

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

3 participants