[INFO] cloning repository https://github.com/bramvdbogaerde/calculator-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bramvdbogaerde/calculator-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Fcalculator-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Fcalculator-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5be7bd7d2946fb1da15e5adfb767d39e5b1a7dcc
[INFO] checking bramvdbogaerde/calculator-rs against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Fcalculator-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bramvdbogaerde/calculator-rs
[INFO] finished tweaking git repo https://github.com/bramvdbogaerde/calculator-rs
[INFO] tweaked toml for git repo https://github.com/bramvdbogaerde/calculator-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bramvdbogaerde/calculator-rs on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bramvdbogaerde/calculator-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.104
[INFO] [stderr]   Downloaded vob v2.0.4
[INFO] [stderr]   Downloaded lrpar v0.5.1
[INFO] [stderr]   Downloaded typename v0.1.2
[INFO] [stderr]   Downloaded serde v1.0.104
[INFO] [stderr]   Downloaded rmp v0.8.9
[INFO] [stderr]   Downloaded autocfg v1.0.0
[INFO] [stderr]   Downloaded cactus v1.0.5
[INFO] [stderr]   Downloaded vergen v2.1.3
[INFO] [stderr]   Downloaded getset v0.0.9
[INFO] [stderr]   Downloaded num-integer v0.1.42
[INFO] [stderr]   Downloaded unicode-width v0.1.7
[INFO] [stderr]   Downloaded syn v1.0.14
[INFO] [stderr]   Downloaded filetime v0.2.8
[INFO] [stderr]   Downloaded bitflags v1.2.1
[INFO] [stderr]   Downloaded rmp-serde v0.14.0
[INFO] [stderr]   Downloaded packedvec v1.2.2
[INFO] [stderr]   Downloaded getopts v0.2.21
[INFO] [stderr]   Downloaded bincode v1.2.1
[INFO] [stderr]   Downloaded cfg-if v0.1.10
[INFO] [stderr]   Downloaded memchr v2.3.0
[INFO] [stderr]   Downloaded sparsevec v0.1.3
[INFO] [stderr]   Downloaded rustc_version v0.1.7
[INFO] [stderr]   Downloaded typename_derive v0.1.4
[INFO] [stderr]   Downloaded newtype_derive v0.1.6
[INFO] [stderr]   Downloaded semver v0.1.20
[INFO] [stderr]   Downloaded cfgrammar v0.5.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.8
[INFO] [stderr]   Downloaded macro-attr v0.2.0
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded thread_local v1.0.1
[INFO] [stderr]   Downloaded cc v1.0.50
[INFO] [stderr]   Downloaded lrtable v0.5.1
[INFO] [stderr]   Downloaded indexmap v1.3.1
[INFO] [stderr]   Downloaded backtrace v0.3.43
[INFO] [stderr]   Downloaded chrono v0.4.10
[INFO] [stderr]   Downloaded aho-corasick v0.7.7
[INFO] [stderr]   Downloaded regex v1.3.4
[INFO] [stderr]   Downloaded regex-syntax v0.6.14
[INFO] [stderr]   Downloaded libc v0.2.66
[INFO] [stderr]   Downloaded backtrace-sys v0.1.32
[INFO] [stderr]   Downloaded lrlex v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b
[INFO] running `Command { std: "docker" "start" "ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling regex-syntax v0.6.14
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling indexmap v1.3.1
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling newtype_derive v0.1.6
[INFO] [stderr]    Compiling try_from v0.3.2
[INFO] [stderr]    Compiling aho-corasick v0.7.7
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling macro-attr v0.2.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling vob v2.0.4
[INFO] [stderr]    Compiling cactus v1.0.5
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling filetime v0.2.8
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]     Checking rmp v0.8.9
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling backtrace v0.3.43
[INFO] [stderr]    Compiling regex v1.3.4
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling getset v0.0.9
[INFO] [stderr]    Compiling typename_derive v0.1.4
[INFO] [stderr]    Compiling typename v0.1.2
[INFO] [stderr]    Compiling vergen v2.1.3
[INFO] [stderr]    Compiling lrpar v0.5.1
[INFO] [stderr]     Checking packedvec v1.2.2
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking rmp-serde v0.14.0
[INFO] [stderr]     Checking cfgrammar v0.5.1
[INFO] [stderr]     Checking sparsevec v0.1.3
[INFO] [stderr]     Checking lrtable v0.5.1
[INFO] [stderr]     Checking lrlex v0.5.1
[INFO] [stderr]    Compiling calculator-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/eval.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         _ => unreachable!()
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/eval.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 |         &Expr::NumExp(u) => u,
[INFO] [stdout]    |         ---------------- matches some of the same values
[INFO] [stdout]  6 |         &Expr::AddExp(ref e1, ref e2) => eval(e1)+eval(e2),
[INFO] [stdout]    |         ----------------------------- matches some of the same values
[INFO] [stdout]  7 |         &Expr::MulExp(ref e1, ref e2) => eval(e1)*eval(e2),
[INFO] [stdout]    |         ----------------------------- matches some of the same values
[INFO] [stdout]  8 |         &Expr::DivExp(ref e1, ref e2) => eval(e1)/eval(e2),
[INFO] [stdout]    |         ----------------------------- matches some of the same values
[INFO] [stdout]  9 |         &Expr::MinusExp(ref e1, ref e2) => eval(e1)-eval(e2),
[INFO] [stdout] 10 |         _ => unreachable!()
[INFO] [stdout]    |         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/eval.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         _ => unreachable!()
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/eval.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 |         &Expr::NumExp(u) => u,
[INFO] [stdout]    |         ---------------- matches some of the same values
[INFO] [stdout]  6 |         &Expr::AddExp(ref e1, ref e2) => eval(e1)+eval(e2),
[INFO] [stdout]    |         ----------------------------- matches some of the same values
[INFO] [stdout]  7 |         &Expr::MulExp(ref e1, ref e2) => eval(e1)*eval(e2),
[INFO] [stdout]    |         ----------------------------- matches some of the same values
[INFO] [stdout]  8 |         &Expr::DivExp(ref e1, ref e2) => eval(e1)/eval(e2),
[INFO] [stdout]    |         ----------------------------- matches some of the same values
[INFO] [stdout]  9 |         &Expr::MinusExp(ref e1, ref e2) => eval(e1)-eval(e2),
[INFO] [stdout] 10 |         _ => unreachable!()
[INFO] [stdout]    |         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/main.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let (expr, err) = calc_y::parse(&lexer);
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         io::stdout().flush();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let _ = io::stdout().flush();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/main.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let (expr, err) = calc_y::parse(&lexer);
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         io::stdout().flush();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let _ = io::stdout().flush();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.44s
[INFO] running `Command { std: "docker" "inspect" "ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b", kill_on_drop: false }`
[INFO] [stdout] ab0944e15573aa633b5861d0526d3813d46d8ed4ce8cfa3c83c41bd7598a153b
