[INFO] cloning repository https://github.com/Shyclops/calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shyclops/calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShyclops%2Fcalculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShyclops%2Fcalculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc435ff53aaaefba7a9a294180c657b9694393a3 [INFO] checking Shyclops/calculator/dc435ff53aaaefba7a9a294180c657b9694393a3 against master#f4d794ea0b845413344621d89f6c945062748485 for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShyclops%2Fcalculator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shyclops/calculator on toolchain f4d794ea0b845413344621d89f6c945062748485 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shyclops/calculator [INFO] finished tweaking git repo https://github.com/Shyclops/calculator [INFO] tweaked toml for git repo https://github.com/Shyclops/calculator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Shyclops/calculator 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" "+f4d794ea0b845413344621d89f6c945062748485" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 933acb159e2b125a7c8873f7c5850b5555076f41adf003aa2cc5bc0d29af893f [INFO] running `Command { std: "docker" "start" "-a" "933acb159e2b125a7c8873f7c5850b5555076f41adf003aa2cc5bc0d29af893f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "933acb159e2b125a7c8873f7c5850b5555076f41adf003aa2cc5bc0d29af893f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "933acb159e2b125a7c8873f7c5850b5555076f41adf003aa2cc5bc0d29af893f", kill_on_drop: false }` [INFO] [stdout] 933acb159e2b125a7c8873f7c5850b5555076f41adf003aa2cc5bc0d29af893f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+f4d794ea0b845413344621d89f6c945062748485" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60a04304d89ce767e1773f917d9af55d909c8711383c2558a53315b73c5991d3 [INFO] running `Command { std: "docker" "start" "-a" "60a04304d89ce767e1773f917d9af55d909c8711383c2558a53315b73c5991d3", kill_on_drop: false }` [INFO] [stderr] Checking calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `operators` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let mut operators: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | Expression::Operator(o) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | Expression::Val(v) => output.push(ex), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | let mut operators: Vec = Vec::new(); [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: unused variable: `operator` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_precedence(operator: String) -> i8 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operators` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let mut operators: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | Expression::Operator(o) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | Expression::Val(v) => output.push(ex), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_precedence` is never used [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_precedence(operator: String) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | let mut operators: Vec = Vec::new(); [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: unused variable: `operator` [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_precedence(operator: String) -> i8 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_precedence` is never used [INFO] [stdout] --> src/reverse_polish_notation/parser.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_precedence(operator: String) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "60a04304d89ce767e1773f917d9af55d909c8711383c2558a53315b73c5991d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a04304d89ce767e1773f917d9af55d909c8711383c2558a53315b73c5991d3", kill_on_drop: false }` [INFO] [stdout] 60a04304d89ce767e1773f917d9af55d909c8711383c2558a53315b73c5991d3