[INFO] crate herbie-lint 1.0.7 is already in cache [INFO] extracting crate herbie-lint 1.0.7 into work/ex/beta-1.38-1/sources/1.37.0/reg/herbie-lint/1.0.7 [INFO] extracting crate herbie-lint 1.0.7 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/herbie-lint/1.0.7 [INFO] validating manifest of herbie-lint-1.0.7 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of herbie-lint-1.0.7 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing herbie-lint-1.0.7 [INFO] finished frobbing herbie-lint-1.0.7 [INFO] frobbed toml for herbie-lint-1.0.7 written to work/ex/beta-1.38-1/sources/1.37.0/reg/herbie-lint/1.0.7/Cargo.toml [INFO] started frobbing herbie-lint-1.0.7 [INFO] finished frobbing herbie-lint-1.0.7 [INFO] frobbed toml for herbie-lint-1.0.7 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/herbie-lint/1.0.7/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing herbie-lint-1.0.7 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/herbie-lint/1.0.7:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 7e2975afe658000eed3b9940e25f0968228981bf443c7efc581d03f8a0bf9f2d [INFO] running `"docker" "start" "-a" "7e2975afe658000eed3b9940e25f0968228981bf443c7efc581d03f8a0bf9f2d"` [INFO] [stderr] Compiling libsqlite3-sys v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.1.5 [INFO] [stderr] Compiling rusqlite v0.6.1 [INFO] [stderr] Compiling herbie-lint v1.0.7 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `rustc::ty::TypeVariants` [INFO] [stderr] --> src/lint.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use rustc::ty::TypeVariants; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> src/lisp.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use syntax::codemap::{Span, Spanned}; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> src/utils.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use syntax::codemap::{Span, mk_sp}; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0532]: expected tuple struct/variant, found unit variant `MetaItemKind::Word` [INFO] [stderr] --> src/lint.rs:124:20 [INFO] [stderr] | [INFO] [stderr] 124 | if let MetaItemKind::Word(ref word) = attr.node.value.node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not a tuple struct/variant [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stderr] --> src/lisp.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | Binary(BinOp_, Box, Box), [INFO] [stderr] | ^^^^^^ help: a type alias with a similar name exists: `BinOp` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stderr] --> src/lisp.rs:71:18 [INFO] [stderr] | [INFO] [stderr] 71 | Field(Option, Path, Spanned), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: a self type with a similar name exists [INFO] [stderr] | [INFO] [stderr] 71 | Field(Option, Path, Spanned), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use syntax::ast::QSelf; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stderr] --> src/lisp.rs:72:18 [INFO] [stderr] | [INFO] [stderr] 72 | Ident(Option, Path), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: a self type with a similar name exists [INFO] [stderr] | [INFO] [stderr] 72 | Ident(Option, Path), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use syntax::ast::QSelf; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stderr] --> src/lisp.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | TupField(Option, Path, Spanned), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: a self type with a similar name exists [INFO] [stderr] | [INFO] [stderr] 75 | TupField(Option, Path, Spanned), [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use syntax::ast::QSelf; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope [INFO] [stderr] --> src/lisp.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | ExprBinary(op, ref lhs, ref rhs) => { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprField` in this scope [INFO] [stderr] --> src/lisp.rs:111:17 [INFO] [stderr] | [INFO] [stderr] 111 | ExprField(ref expr, ref name) => { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope [INFO] [stderr] --> src/lisp.rs:112:28 [INFO] [stderr] | [INFO] [stderr] 112 | if let ExprPath(ref qualif, ref path) = expr.node { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope [INFO] [stderr] --> src/lisp.rs:134:17 [INFO] [stderr] | [INFO] [stderr] 134 | ExprLit(ref lit) => { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope [INFO] [stderr] --> src/lisp.rs:143:17 [INFO] [stderr] | [INFO] [stderr] 143 | ExprMethodCall(ref fun, ref ascripted_type, ref params) if ascripted_type.is_empty() => { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope [INFO] [stderr] --> src/lisp.rs:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | ExprPath(ref qualif, ref path) => { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprTupField` in this scope [INFO] [stderr] --> src/lisp.rs:179:17 [INFO] [stderr] | [INFO] [stderr] 179 | ExprTupField(ref tup, ref idx) => { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope [INFO] [stderr] --> src/lisp.rs:180:28 [INFO] [stderr] | [INFO] [stderr] 180 | if let ExprPath(ref qualif, ref path) = tup.node { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope [INFO] [stderr] --> src/lisp.rs:202:17 [INFO] [stderr] | [INFO] [stderr] 202 | ExprUnary(op, ref expr) => { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope [INFO] [stderr] --> src/lisp.rs:248:19 [INFO] [stderr] | [INFO] [stderr] 248 | (&ExprBinary(lop, ref lp1, ref lp2), &LispExpr::Binary(rop, ref rp1, ref rp2)) => { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope [INFO] [stderr] --> src/lisp.rs:253:19 [INFO] [stderr] | [INFO] [stderr] 253 | (&ExprMethodCall(ref lfun, ref ascripted_type, ref lp), &LispExpr::Fun(ref rfun, ref rp)) if ascripted_type.is_empty() => { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope [INFO] [stderr] --> src/lisp.rs:263:19 [INFO] [stderr] | [INFO] [stderr] 263 | (&ExprPath(ref qualif, ref path), &LispExpr::Ident(rid)) => { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope [INFO] [stderr] --> src/lisp.rs:277:19 [INFO] [stderr] | [INFO] [stderr] 277 | (&ExprLit(ref lit), &LispExpr::Lit(r)) => { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope [INFO] [stderr] --> src/lisp.rs:286:19 [INFO] [stderr] | [INFO] [stderr] 286 | (&ExprLit(ref expr), &LispExpr::Ident(rid)) => { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope [INFO] [stderr] --> src/lisp.rs:309:19 [INFO] [stderr] | [INFO] [stderr] 309 | (&ExprUnary(lop, ref lp), &LispExpr::Unary(rop, ref rp)) => { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprTupField` in this scope [INFO] [stderr] --> src/lisp.rs:312:19 [INFO] [stderr] | [INFO] [stderr] 312 | (&ExprTupField(ref tup, ref idx), &LispExpr::Ident(rid)) => { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope [INFO] [stderr] --> src/lisp.rs:313:28 [INFO] [stderr] | [INFO] [stderr] 313 | if let ExprPath(ref qualif, ref path) = tup.node { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprField` in this scope [INFO] [stderr] --> src/lisp.rs:331:19 [INFO] [stderr] | [INFO] [stderr] 331 | (&ExprField(ref expr, ref name), &LispExpr::Ident(rid)) => { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope [INFO] [stderr] --> src/lisp.rs:332:28 [INFO] [stderr] | [INFO] [stderr] 332 | if let ExprPath(ref qualif, ref path) = expr.node { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BiAdd` in this scope [INFO] [stderr] --> src/lisp.rs:526:52 [INFO] [stderr] | [INFO] [stderr] 526 | Some('+') => self.parse_op(it, BiAdd), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BiSub` in this scope [INFO] [stderr] --> src/lisp.rs:527:52 [INFO] [stderr] | [INFO] [stderr] 527 | Some('-') => self.parse_op(it, BiSub), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BiMul` in this scope [INFO] [stderr] --> src/lisp.rs:528:52 [INFO] [stderr] | [INFO] [stderr] 528 | Some('*') => self.parse_op(it, BiMul), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BiDiv` in this scope [INFO] [stderr] --> src/lisp.rs:529:52 [INFO] [stderr] | [INFO] [stderr] 529 | Some('/') => self.parse_op(it, BiDiv), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BiMul` in this scope [INFO] [stderr] --> src/lisp.rs:668:44 [INFO] [stderr] | [INFO] [stderr] 668 | return Ok(LispExpr::Binary(BiMul, box params[0].clone(), box params.remove(0))); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stderr] --> src/lisp.rs:675:72 [INFO] [stderr] | [INFO] [stderr] 675 | fn parse_op>(&mut self, it: &mut It, op: BinOp_) [INFO] [stderr] | ^^^^^^ help: a type alias with a similar name exists: `BinOp` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BiSub` in this scope [INFO] [stderr] --> src/lisp.rs:683:23 [INFO] [stderr] | [INFO] [stderr] 683 | else if op == BiSub { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: enum `Node` is private [INFO] [stderr] --> src/lint.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use rustc::hir::map::Node; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(box_syntax)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(plugin_registrar)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(rustc_private)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0726]: implicit elided lifetime not allowed here [INFO] [stderr] --> src/lint.rs:121:6 [INFO] [stderr] | [INFO] [stderr] 121 | impl LateLintPass for Herbie { [INFO] [stderr] | ^^^^^^^^^^^^- help: indicate the anonymous lifetimes: `<'_, '_>` [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `name` [INFO] [stderr] --> src/lint.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | impl LintPass for Herbie { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `name` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `name` from trait: `fn(&Self) -> &'static str` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `for<'a, 'tcx> lint::Herbie: rustc::lint::LateLintPass<'a, 'tcx>` is not satisfied [INFO] [stderr] --> src/lib.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | reg.register_late_lint_pass(box lint::Herbie::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a, 'tcx> rustc::lint::LateLintPass<'a, 'tcx>` is not implemented for `lint::Herbie` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] = note: required for the cast to the object type `dyn for<'a, 'tcx> rustc::lint::LateLintPass<'a, 'tcx> + rustc_data_structures::sync::Send + rustc_data_structures::sync::Sync` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `syntax::ast::Name: std::convert::From<&str>` is not satisfied [INFO] [stderr] --> src/lib.rs:41:44 [INFO] [stderr] | [INFO] [stderr] 41 | reg.register_attribute("herbie_ignore".into(), AttributeType::Whitelisted); [INFO] [stderr] | ^^^^ the trait `std::convert::From<&str>` is not implemented for `syntax::ast::Name` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `&str` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `map` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> src/lint.rs:132:34 [INFO] [stderr] | [INFO] [stderr] 132 | let attrs = match cx.tcx.map.find(cx.tcx.map.get_parent(expr.id)) { [INFO] [stderr] | ^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `map` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> src/lint.rs:132:50 [INFO] [stderr] | [INFO] [stderr] 132 | let attrs = match cx.tcx.map.find(cx.tcx.map.get_parent(expr.id)) { [INFO] [stderr] | ^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `id` on type `&rustc::hir::Expr` [INFO] [stderr] --> src/lint.rs:132:70 [INFO] [stderr] | [INFO] [stderr] 132 | let attrs = match cx.tcx.map.find(cx.tcx.map.get_parent(expr.id)) { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `NodeItem` found for type `rustc::hir::Node<'_>` in the current scope [INFO] [stderr] --> src/lint.rs:133:24 [INFO] [stderr] | [INFO] [stderr] 133 | Some(Node::NodeItem(item)) => &item.attrs, [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `rustc::hir::Node<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `NodeTraitItem` found for type `rustc::hir::Node<'_>` in the current scope [INFO] [stderr] --> src/lint.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | Some(Node::NodeTraitItem(item)) => &item.attrs, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `rustc::hir::Node<'_>` [INFO] [stderr] | help: there is a variant with a similar name: `TraitItem` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `NodeImplItem` found for type `rustc::hir::Node<'_>` in the current scope [INFO] [stderr] --> src/lint.rs:135:24 [INFO] [stderr] | [INFO] [stderr] 135 | Some(Node::NodeImplItem(item)) => &item.attrs, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `rustc::hir::Node<'_>` [INFO] [stderr] | help: there is a variant with a similar name: `ImplItem` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `expr_ty` found for type `rustc::ty::TyCtxt<'_>` in the current scope [INFO] [stderr] --> src/lint.rs:143:25 [INFO] [stderr] | [INFO] [stderr] 143 | let ty = cx.tcx.expr_ty(expr); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `krate` on type `&rustc::lint::LateContext<'_, '_>` [INFO] [stderr] --> src/lint.rs:152:20 [INFO] [stderr] | [INFO] [stderr] 152 | cx.krate.span, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `krate` on type `&rustc::lint::LateContext<'_, '_>` [INFO] [stderr] --> src/lint.rs:154:20 [INFO] [stderr] | [INFO] [stderr] 154 | cx.krate.span, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `node` on type `&syntax::ast::Attribute` [INFO] [stderr] --> src/lint.rs:124:56 [INFO] [stderr] | [INFO] [stderr] 124 | if let MetaItemKind::Word(ref word) = attr.node.value.node { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 3 parameters were supplied [INFO] [stderr] --> src/lint.rs:308:8 [INFO] [stderr] | [INFO] [stderr] 308 | .span_suggestion(expr.span, "Try this", cmdout.to_rust(cx, &bindings)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `global` on type `&rustc::hir::Path` [INFO] [stderr] --> src/lisp.rs:116:42 [INFO] [stderr] | [INFO] [stderr] 116 | && bpath.global == path.global [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `syntax::ptr::P<[rustc::hir::PathSegment]>` [INFO] [stderr] --> src/lisp.rs:117:51 [INFO] [stderr] | [INFO] [stderr] 117 | && bpath.segments == path.segments [INFO] [stderr] | -------------- ^^ ------------- _ [INFO] [stderr] | | [INFO] [stderr] | syntax::ptr::P<[rustc::hir::PathSegment]> [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `syntax::ptr::P<[rustc::hir::PathSegment]>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `&syntax::ast::Name` in the current scope [INFO] [stderr] --> src/lisp.rs:138:31 [INFO] [stderr] | [INFO] [stderr] 138 | f.parse().ok().map(LispExpr::Lit) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/lisp.rs:144:25 [INFO] [stderr] | [INFO] [stderr] 144 | let name = fun.node.as_str(); [INFO] [stderr] | ^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `global` on type `&rustc::hir::Path` [INFO] [stderr] --> src/lisp.rs:166:38 [INFO] [stderr] | [INFO] [stderr] 166 | && bpath.global == path.global [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `syntax::ptr::P<[rustc::hir::PathSegment]>` [INFO] [stderr] --> src/lisp.rs:167:47 [INFO] [stderr] | [INFO] [stderr] 167 | && bpath.segments == path.segments [INFO] [stderr] | -------------- ^^ ------------- _ [INFO] [stderr] | | [INFO] [stderr] | syntax::ptr::P<[rustc::hir::PathSegment]> [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `syntax::ptr::P<[rustc::hir::PathSegment]>` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `global` on type `&rustc::hir::Path` [INFO] [stderr] --> src/lisp.rs:184:42 [INFO] [stderr] | [INFO] [stderr] 184 | && bpath.global == path.global [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `syntax::ptr::P<[rustc::hir::PathSegment]>` [INFO] [stderr] --> src/lisp.rs:185:51 [INFO] [stderr] | [INFO] [stderr] 185 | && bpath.segments == path.segments [INFO] [stderr] | -------------- ^^ ------------- _ [INFO] [stderr] | | [INFO] [stderr] | syntax::ptr::P<[rustc::hir::PathSegment]> [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `syntax::ptr::P<[rustc::hir::PathSegment]>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/lisp.rs:254:25 [INFO] [stderr] | [INFO] [stderr] 254 | let name = lfun.node.as_str(); [INFO] [stderr] | ^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `global` on type `&rustc::hir::Path` [INFO] [stderr] --> src/lisp.rs:267:53 [INFO] [stderr] | [INFO] [stderr] 267 | && path.global == bpath.global [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `&syntax::ast::Name` in the current scope [INFO] [stderr] --> src/lisp.rs:281:31 [INFO] [stderr] | [INFO] [stderr] 281 | f.parse() == Ok(r) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for type `&syntax::ast::Name` in the current scope [INFO] [stderr] --> src/lisp.rs:290:50 [INFO] [stderr] | [INFO] [stderr] 290 | if let Ok(lit) = lit.parse() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `global` on type `&rustc::hir::Path` [INFO] [stderr] --> src/lisp.rs:317:57 [INFO] [stderr] | [INFO] [stderr] 317 | && path.global == bpath.global [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `global` on type `&rustc::hir::Path` [INFO] [stderr] --> src/lisp.rs:336:57 [INFO] [stderr] | [INFO] [stderr] 336 | && path.global == bpath.global [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `codemap` found for type `&rustc::session::Session` in the current scope [INFO] [stderr] --> src/utils.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | cx.sess().codemap().span_to_snippet(span) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 68 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0061, E0277, E0369, E0412, E0425, E0432, E0532, E0554... [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: Could not compile `herbie-lint`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7e2975afe658000eed3b9940e25f0968228981bf443c7efc581d03f8a0bf9f2d"` [INFO] running `"docker" "rm" "-f" "7e2975afe658000eed3b9940e25f0968228981bf443c7efc581d03f8a0bf9f2d"` [INFO] [stdout] 7e2975afe658000eed3b9940e25f0968228981bf443c7efc581d03f8a0bf9f2d