[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Fcalculator-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bramvdbogaerde/calculator-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vergen v2.1.3 [INFO] [stderr] Downloaded rmp-serde v0.14.0 [INFO] [stderr] Downloaded typename v0.1.2 [INFO] [stderr] Downloaded getset v0.0.9 [INFO] [stderr] Downloaded typename_derive v0.1.4 [INFO] [stderr] Downloaded backtrace v0.3.43 [INFO] [stderr] Downloaded macro-attr v0.2.0 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded sparsevec v0.1.3 [INFO] [stderr] Downloaded vob v2.0.4 [INFO] [stderr] Downloaded lrlex v0.5.1 [INFO] [stderr] Downloaded aho-corasick v0.7.7 [INFO] [stderr] Downloaded regex-syntax v0.6.14 [INFO] [stderr] Downloaded packedvec v1.2.2 [INFO] [stderr] Downloaded cfgrammar v0.5.1 [INFO] [stderr] Downloaded lrpar v0.5.1 [INFO] [stderr] Downloaded cactus v1.0.5 [INFO] [stderr] Downloaded lrtable v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6c2ab7d715c0bfeebe253941df9cfb4f16ead1f1a38846b2a2883efa6cea965 [INFO] running `Command { std: "docker" "start" "-a" "e6c2ab7d715c0bfeebe253941df9cfb4f16ead1f1a38846b2a2883efa6cea965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6c2ab7d715c0bfeebe253941df9cfb4f16ead1f1a38846b2a2883efa6cea965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c2ab7d715c0bfeebe253941df9cfb4f16ead1f1a38846b2a2883efa6cea965", kill_on_drop: false }` [INFO] [stdout] e6c2ab7d715c0bfeebe253941df9cfb4f16ead1f1a38846b2a2883efa6cea965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3cb5f2f9053eba00970cdfc95ce4e649d998fbb394076248652558953d38408 [INFO] running `Command { std: "docker" "start" "-a" "a3cb5f2f9053eba00970cdfc95ce4e649d998fbb394076248652558953d38408", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling vob v2.0.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [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 error-chain v0.12.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.7 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [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 rmp v0.8.9 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling macro-attr v0.2.0 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling cactus v1.0.5 [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 sparsevec v0.1.3 [INFO] [stderr] Checking cfgrammar v0.5.1 [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)]` 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)]` 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)]` 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)]` 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)]` 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 `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)]` 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.79s [INFO] running `Command { std: "docker" "inspect" "a3cb5f2f9053eba00970cdfc95ce4e649d998fbb394076248652558953d38408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3cb5f2f9053eba00970cdfc95ce4e649d998fbb394076248652558953d38408", kill_on_drop: false }` [INFO] [stdout] a3cb5f2f9053eba00970cdfc95ce4e649d998fbb394076248652558953d38408