[INFO] cloning repository https://github.com/ajmwagar/calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajmwagar/calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajmwagar%2Fcalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajmwagar%2Fcalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b55f230da5f96e8f4dcefe34c55133e559de521b [INFO] checking ajmwagar/calc against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajmwagar%2Fcalc" "/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/ajmwagar/calc on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajmwagar/calc [INFO] finished tweaking git repo https://github.com/ajmwagar/calc [INFO] tweaked toml for git repo https://github.com/ajmwagar/calc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ajmwagar/calc 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.2.0 [INFO] [stderr] Downloaded libc v0.2.41 [INFO] [stderr] Downloaded rand v0.5.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c48c899331e9305fc12767bc3c2141f569b126242fe4a07f780e363efe1fbfba [INFO] running `Command { std: "docker" "start" "-a" "c48c899331e9305fc12767bc3c2141f569b126242fe4a07f780e363efe1fbfba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c48c899331e9305fc12767bc3c2141f569b126242fe4a07f780e363efe1fbfba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c48c899331e9305fc12767bc3c2141f569b126242fe4a07f780e363efe1fbfba", kill_on_drop: false }` [INFO] [stdout] c48c899331e9305fc12767bc3c2141f569b126242fe4a07f780e363efe1fbfba [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd7f662376e83bdd141c25ee24864d277813d0a037ff58ecc526fed2c235961 [INFO] running `Command { std: "docker" "start" "-a" "9cd7f662376e83bdd141c25ee24864d277813d0a037ff58ecc526fed2c235961", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Checking rand_core v0.2.0 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Checking calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 138 | "Cleared!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 138 | "Cleared!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 140 | "Goodbye!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 140 | "Goodbye!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 142 | "Please enter a valid expression." => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 142 | "Please enter a valid expression." => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | std::process::exit(code); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 218 | return "Goodbye!".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | std::process::exit(code); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 218 | return "Goodbye!".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_help` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let string_help = HELP.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_help` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print` [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let print: bool; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_help` [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let string_help = HELP.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_help` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `print` [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let print: bool; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | fn parse(s: String, mut ans: f64) -> String { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | fn parse(s: String, mut ans: f64) -> String { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "9cd7f662376e83bdd141c25ee24864d277813d0a037ff58ecc526fed2c235961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd7f662376e83bdd141c25ee24864d277813d0a037ff58ecc526fed2c235961", kill_on_drop: false }` [INFO] [stdout] 9cd7f662376e83bdd141c25ee24864d277813d0a037ff58ecc526fed2c235961 [INFO] checking ajmwagar/calc against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajmwagar%2Fcalc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajmwagar/calc on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajmwagar/calc [INFO] finished tweaking git repo https://github.com/ajmwagar/calc [INFO] tweaked toml for git repo https://github.com/ajmwagar/calc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ajmwagar/calc 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61b6d0ccaa0b3d356775a321488be63dab06ccf166aca2aef255164c6d96e833 [INFO] running `Command { std: "docker" "start" "-a" "61b6d0ccaa0b3d356775a321488be63dab06ccf166aca2aef255164c6d96e833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61b6d0ccaa0b3d356775a321488be63dab06ccf166aca2aef255164c6d96e833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b6d0ccaa0b3d356775a321488be63dab06ccf166aca2aef255164c6d96e833", kill_on_drop: false }` [INFO] [stdout] 61b6d0ccaa0b3d356775a321488be63dab06ccf166aca2aef255164c6d96e833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb53cb036d77d0194e1eb6f41a02d48376c6a8e68bc6107adefb7406cf9ec986 [INFO] running `Command { std: "docker" "start" "-a" "eb53cb036d77d0194e1eb6f41a02d48376c6a8e68bc6107adefb7406cf9ec986", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.2.0 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Checking calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 138 | "Cleared!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 140 | "Goodbye!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 138 | "Cleared!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 142 | "Please enter a valid expression." => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 140 | "Goodbye!" => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] ... [INFO] [stdout] 142 | "Please enter a valid expression." => block!({ break; }), [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 138 | "Cleared!" => block!({ break; }), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | loop { let _ = $xs; break; } [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 138 | "Cleared!" => block!({ break; }), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `block` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | std::process::exit(code); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 218 | return "Goodbye!".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | std::process::exit(code); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 218 | return "Goodbye!".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | fn parse(s: String, mut ans: f64) -> String { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | fn parse(s: String, mut ans: f64) -> String { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `calc` (bin "calc" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `calc` (bin "calc") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb53cb036d77d0194e1eb6f41a02d48376c6a8e68bc6107adefb7406cf9ec986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb53cb036d77d0194e1eb6f41a02d48376c6a8e68bc6107adefb7406cf9ec986", kill_on_drop: false }` [INFO] [stdout] eb53cb036d77d0194e1eb6f41a02d48376c6a8e68bc6107adefb7406cf9ec986