[INFO] cloning repository https://github.com/HawkTheBoar/calc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HawkTheBoar/calc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHawkTheBoar%2Fcalc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHawkTheBoar%2Fcalc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b2b94512dd25aba1171a2e585d4cb59e09fc6a8 [INFO] checking HawkTheBoar/calc-rs against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHawkTheBoar%2Fcalc-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HawkTheBoar/calc-rs [INFO] finished tweaking git repo https://github.com/HawkTheBoar/calc-rs [INFO] tweaked toml for git repo https://github.com/HawkTheBoar/calc-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HawkTheBoar/calc-rs on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HawkTheBoar/calc-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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bbe1990639021d4307d861b9915c50736ffe6d9c54df75936a8dbf1fa9c4cb0 [INFO] running `Command { std: "docker" "start" "-a" "7bbe1990639021d4307d861b9915c50736ffe6d9c54df75936a8dbf1fa9c4cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bbe1990639021d4307d861b9915c50736ffe6d9c54df75936a8dbf1fa9c4cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bbe1990639021d4307d861b9915c50736ffe6d9c54df75936a8dbf1fa9c4cb0", kill_on_drop: false }` [INFO] [stdout] 7bbe1990639021d4307d861b9915c50736ffe6d9c54df75936a8dbf1fa9c4cb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c829ef22cee1eaedda8a56ea46b53466f0cb703e29d71ebd6a799019e8dcc6a [INFO] running `Command { std: "docker" "start" "-a" "2c829ef22cee1eaedda8a56ea46b53466f0cb703e29d71ebd6a799019e8dcc6a", kill_on_drop: false }` [INFO] [stderr] Checking cli-calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `numbers` [INFO] [stdout] --> main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut numbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numbers` [INFO] [stdout] --> main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut numbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_index` [INFO] [stdout] --> main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_index = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_index` [INFO] [stdout] --> main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_index = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | for (i, c) in input.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | for (i, c) in input.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let op = Some(match c { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let op = Some(match c { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut numbers: 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: variable does not need to be mutable [INFO] [stdout] --> main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_index = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut numbers: 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: variable does not need to be mutable [INFO] [stdout] --> main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut num_index = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> main.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Number` is never constructed [INFO] [stdout] --> main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_parse` is never used [INFO] [stdout] --> main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn input_parse(input: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> main.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Number` is never constructed [INFO] [stdout] --> main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_parse` is never used [INFO] [stdout] --> main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn input_parse(input: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] running `Command { std: "docker" "inspect" "2c829ef22cee1eaedda8a56ea46b53466f0cb703e29d71ebd6a799019e8dcc6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c829ef22cee1eaedda8a56ea46b53466f0cb703e29d71ebd6a799019e8dcc6a", kill_on_drop: false }` [INFO] [stdout] 2c829ef22cee1eaedda8a56ea46b53466f0cb703e29d71ebd6a799019e8dcc6a