[INFO] fetching crate herbie-lint 1.0.7... [INFO] testing herbie-lint-1.0.7 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate herbie-lint 1.0.7 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate herbie-lint 1.0.7 [INFO] finished tweaking crates.io crate herbie-lint 1.0.7 [INFO] tweaked toml for crates.io crate herbie-lint 1.0.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate herbie-lint 1.0.7 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding compiletest_rs v0.1.3 (available: v0.11.2) [INFO] [stderr] Adding itertools v0.4.19 (available: v0.14.0) [INFO] [stderr] Adding rusqlite v0.6.1 (available: v0.36.0) [INFO] [stderr] Adding toml v0.1.30 (available: v0.8.23) [INFO] [stderr] Adding wait-timeout v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wait-timeout v0.1.5 [INFO] [stderr] Downloaded rusqlite v0.6.1 [INFO] [stderr] Downloaded compiletest_rs v0.1.3 [INFO] [stderr] Downloaded libsqlite3-sys v0.4.0 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcf11dec5234022f4e33597eb532753b692b3fcd2bf96bafd64537c716443373 [INFO] running `Command { std: "docker" "start" "-a" "fcf11dec5234022f4e33597eb532753b692b3fcd2bf96bafd64537c716443373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf11dec5234022f4e33597eb532753b692b3fcd2bf96bafd64537c716443373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf11dec5234022f4e33597eb532753b692b3fcd2bf96bafd64537c716443373", kill_on_drop: false }` [INFO] [stdout] fcf11dec5234022f4e33597eb532753b692b3fcd2bf96bafd64537c716443373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 606fb9f02e1591274ea96c10759b0473abb9dd6fac66a6bbb1c0161e8bf33b75 [INFO] running `Command { std: "docker" "start" "-a" "606fb9f02e1591274ea96c10759b0473abb9dd6fac66a6bbb1c0161e8bf33b75", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: lib.plugin [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling wait-timeout v0.1.5 [INFO] [stderr] Compiling libsqlite3-sys v0.4.0 [INFO] [stderr] Compiling rusqlite v0.6.1 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling herbie-lint v1.0.7 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | reg.register_late_lint_pass(box lint::Herbie::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 39 - reg.register_late_lint_pass(box lint::Herbie::new()); [INFO] [stdout] 39 + reg.register_late_lint_pass(Box::new(lint::Herbie::new())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0 (you are using 1.89.0-nightly (8de4c7234 2025-06-19)); see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.75.0 (you are using 1.89.0-nightly (8de4c7234 2025-06-19)); see for more information [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:105:67 [INFO] [stdout] | [INFO] [stdout] 105 | ... return Some(LispExpr::Binary(op.node, box lhs_expr, box rhs_expr)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 105 - return Some(LispExpr::Binary(op.node, box lhs_expr, box rhs_expr)); [INFO] [stdout] 105 + return Some(LispExpr::Binary(op.node, Box::new(lhs_expr), box rhs_expr)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:105:81 [INFO] [stdout] | [INFO] [stdout] 105 | ... return Some(LispExpr::Binary(op.node, box lhs_expr, box rhs_expr)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 105 - return Some(LispExpr::Binary(op.node, box lhs_expr, box rhs_expr)); [INFO] [stdout] 105 + return Some(LispExpr::Binary(op.node, box lhs_expr, Box::new(rhs_expr))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:203:87 [INFO] [stdout] | [INFO] [stdout] 203 | from_expr_impl(expr, ids, curr_id).map(|expr| LispExpr::Unary(op, box expr)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 203 - from_expr_impl(expr, ids, curr_id).map(|expr| LispExpr::Unary(op, box expr)) [INFO] [stdout] 203 + from_expr_impl(expr, ids, curr_id).map(|expr| LispExpr::Unary(op, Box::new(expr))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:668:51 [INFO] [stdout] | [INFO] [stdout] 668 | return Ok(LispExpr::Binary(BiMul, box params[0].clone(), box params.remove(0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 668 - return Ok(LispExpr::Binary(BiMul, box params[0].clone(), box params.remove(0))); [INFO] [stdout] 668 + return Ok(LispExpr::Binary(BiMul, Box::new(params[0].clone()), box params.remove(0))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:668:74 [INFO] [stdout] | [INFO] [stdout] 668 | return Ok(LispExpr::Binary(BiMul, box params[0].clone(), box params.remove(0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 668 - return Ok(LispExpr::Binary(BiMul, box params[0].clone(), box params.remove(0))); [INFO] [stdout] 668 + return Ok(LispExpr::Binary(BiMul, box params[0].clone(), Box::new(params.remove(0)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:681:37 [INFO] [stdout] | [INFO] [stdout] 681 | Ok(LispExpr::Binary(op, box lhs, box rhs)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 681 - Ok(LispExpr::Binary(op, box lhs, box rhs)) [INFO] [stdout] 681 + Ok(LispExpr::Binary(op, Box::new(lhs), box rhs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:681:46 [INFO] [stdout] | [INFO] [stdout] 681 | Ok(LispExpr::Binary(op, box lhs, box rhs)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 681 - Ok(LispExpr::Binary(op, box lhs, box rhs)) [INFO] [stdout] 681 + Ok(LispExpr::Binary(op, box lhs, Box::new(rhs))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lisp.rs:684:39 [INFO] [stdout] | [INFO] [stdout] 684 | Ok(LispExpr::Unary(UnNeg, box lhs)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 684 - Ok(LispExpr::Unary(UnNeg, box lhs)) [INFO] [stdout] 684 + Ok(LispExpr::Unary(UnNeg, Box::new(lhs))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/conf.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lint.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | declare_lint!(pub HERBIE, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/lint.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | lint_array!(HERBIE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lint.rs:122:55 [INFO] [stdout] | [INFO] [stdout] 122 | fn check_expr(&mut self, cx: &LateContext, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HERBIE` in this scope [INFO] [stdout] --> src/lint.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | HERBIE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HERBIE` in this scope [INFO] [stdout] --> src/lint.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | cx.span_lint(HERBIE, expr.span, &err); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lint.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | fn try_with_herbie(cx: &LateContext, expr: &Expr, conf: &conf::Conf) -> Result<(), Cow<'static, str>> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lint.rs:306:36 [INFO] [stdout] | [INFO] [stdout] 306 | fn report(cx: &LateContext, expr: &Expr, cmdout: &LispExpr, bindings: &lisp::MatchBindings) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HERBIE` in this scope [INFO] [stdout] --> src/lint.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | cx.struct_span_lint(HERBIE, expr.span, "Numerically unstable expression") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> src/lisp.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Binary(BinOp_, Box, Box), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnOp` in this scope [INFO] [stdout] --> src/lisp.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Unary(UnOp, Box), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stdout] --> src/lisp.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | Field(Option, Path, Spanned), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a self type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 71 - Field(Option, Path, Spanned), [INFO] [stdout] 71 + Field(Option, Path, Spanned), [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 70 | enum MatchBinding { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lisp.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Field(Option, Path, Spanned), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stdout] --> src/lisp.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | Ident(Option, Path), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a self type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 72 - Ident(Option, Path), [INFO] [stdout] 72 + Ident(Option, Path), [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 70 | enum MatchBinding { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lisp.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | Ident(Option, Path), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stdout] --> src/lisp.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | TupField(Option, Path, Spanned), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a self type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 75 - TupField(Option, Path, Spanned), [INFO] [stdout] 75 + TupField(Option, Path, Spanned), [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 70 | enum MatchBinding { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lisp.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | TupField(Option, Path, Spanned), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lisp.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn from_expr(expr: &Expr) -> Option<(LispExpr, u64, MatchBindings)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lisp.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | expr: &Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> src/lisp.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | ExprBinary(op, ref lhs, ref rhs) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprField` in this scope [INFO] [stdout] --> src/lisp.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | ExprField(ref expr, ref name) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> src/lisp.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | if let ExprPath(ref qualif, ref path) = expr.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> src/lisp.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | ExprLit(ref lit) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> src/lisp.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | ExprMethodCall(ref fun, ref ascripted_type, ref params) if ascripted_type.is_empty() => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> src/lisp.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | ExprPath(ref qualif, ref path) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTupField` in this scope [INFO] [stdout] --> src/lisp.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | ExprTupField(ref tup, ref idx) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> src/lisp.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | if let ExprPath(ref qualif, ref path) = tup.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> src/lisp.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | ExprUnary(op, ref expr) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lisp.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn match_expr(matchee: &Expr, other: &LispExpr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lisp.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | lhs: &Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> src/lisp.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | (&ExprBinary(lop, ref lp1, ref lp2), &LispExpr::Binary(rop, ref rp1, ref rp2)) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> src/lisp.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (&ExprMethodCall(ref lfun, ref ascripted_type, ref lp), &LispExpr::Fun(ref rfun, ref rp)) if ascripted_type.is_empty() => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> src/lisp.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (&ExprPath(ref qualif, ref path), &LispExpr::Ident(rid)) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> src/lisp.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | (&ExprLit(ref lit), &LispExpr::Lit(r)) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> src/lisp.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | (&ExprLit(ref expr), &LispExpr::Ident(rid)) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> src/lisp.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | (&ExprUnary(lop, ref lp), &LispExpr::Unary(rop, ref rp)) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTupField` in this scope [INFO] [stdout] --> src/lisp.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | (&ExprTupField(ref tup, ref idx), &LispExpr::Ident(rid)) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> src/lisp.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | if let ExprPath(ref qualif, ref path) = tup.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprField` in this scope [INFO] [stdout] --> src/lisp.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 331 | (&ExprField(ref expr, ref name), &LispExpr::Ident(rid)) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> src/lisp.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | if let ExprPath(ref qualif, ref path) = expr.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiAdd` in this scope [INFO] [stdout] --> src/lisp.rs:526:52 [INFO] [stdout] | [INFO] [stdout] 526 | Some('+') => self.parse_op(it, BiAdd), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiSub` in this scope [INFO] [stdout] --> src/lisp.rs:527:52 [INFO] [stdout] | [INFO] [stdout] 527 | Some('-') => self.parse_op(it, BiSub), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiMul` in this scope [INFO] [stdout] --> src/lisp.rs:528:52 [INFO] [stdout] | [INFO] [stdout] 528 | Some('*') => self.parse_op(it, BiMul), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiDiv` in this scope [INFO] [stdout] --> src/lisp.rs:529:52 [INFO] [stdout] | [INFO] [stdout] 529 | Some('/') => self.parse_op(it, BiDiv), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiMul` in this scope [INFO] [stdout] --> src/lisp.rs:668:44 [INFO] [stdout] | [INFO] [stdout] 668 | return Ok(LispExpr::Binary(BiMul, box params[0].clone(), box params.remove(0))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> src/lisp.rs:675:72 [INFO] [stdout] | [INFO] [stdout] 675 | fn parse_op>(&mut self, it: &mut It, op: BinOp_) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiSub` in this scope [INFO] [stdout] --> src/lisp.rs:683:23 [INFO] [stdout] | [INFO] [stdout] 683 | else if op == BiSub { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UnNeg` in this scope [INFO] [stdout] --> src/lisp.rs:684:32 [INFO] [stdout] | [INFO] [stdout] 684 | Ok(LispExpr::Unary(UnNeg, box lhs)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/conf.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | try!(conf.read_to_string(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lint.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | let conf = try!(conf::read_conf()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lint.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | let connection = try!(sql::Connection::open_with_flags( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lint.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let mut query = try!(connection.prepare("SELECT * FROM HerbieResults")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lint.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | self.subs = try!(query.query(&[])).filter_map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lint.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | try!(connection.execute("INSERT INTO HerbieResults (cmdin, cmdout, opts, errin, errout) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lint.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | let connection = try!(sql::Connection::open_with_flags( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lisp.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | try!(self.expect(it, ')', true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lisp.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | try!(self.expect(it, ')', true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lisp.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 689 | try!(self.expect(it, ')', true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lisp.rs:679:19 [INFO] [stdout] | [INFO] [stdout] 679 | let lhs = try!(self.parse_impl(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0462, E0463, E0531, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `herbie-lint` (lib) due to 63 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "606fb9f02e1591274ea96c10759b0473abb9dd6fac66a6bbb1c0161e8bf33b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606fb9f02e1591274ea96c10759b0473abb9dd6fac66a6bbb1c0161e8bf33b75", kill_on_drop: false }` [INFO] [stdout] 606fb9f02e1591274ea96c10759b0473abb9dd6fac66a6bbb1c0161e8bf33b75