[INFO] cloning repository https://github.com/borgand/aoc19-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/borgand/aoc19-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborgand%2Faoc19-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborgand%2Faoc19-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b0eaf0a2b7b9e97a83c1561d475eb2dc1284822 [INFO] checking borgand/aoc19-rs against try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborgand%2Faoc19-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/borgand/aoc19-rs on toolchain 411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/borgand/aoc19-rs [INFO] finished tweaking git repo https://github.com/borgand/aoc19-rs [INFO] tweaked toml for git repo https://github.com/borgand/aoc19-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/borgand/aoc19-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" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3d422f748acf8bf2ca6b117e5d96e0c1dc36a8c0873812faeff0067dfac3e0d [INFO] running `Command { std: "docker" "start" "-a" "f3d422f748acf8bf2ca6b117e5d96e0c1dc36a8c0873812faeff0067dfac3e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3d422f748acf8bf2ca6b117e5d96e0c1dc36a8c0873812faeff0067dfac3e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3d422f748acf8bf2ca6b117e5d96e0c1dc36a8c0873812faeff0067dfac3e0d", kill_on_drop: false }` [INFO] [stdout] f3d422f748acf8bf2ca6b117e5d96e0c1dc36a8c0873812faeff0067dfac3e0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be73c0e3a01addef7ad47e4cd6a0b449ee1d259cd8332b844d1363ec36a3fea4 [INFO] running `Command { std: "docker" "start" "-a" "be73c0e3a01addef7ad47e4cd6a0b449ee1d259cd8332b844d1363ec36a3fea4", kill_on_drop: false }` [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if (a.orient(b,c) != a.orient(b,d) && c.orient(d,a) != c.orient(d,b)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - if (a.orient(b,c) != a.orient(b,d) && c.orient(d,a) != c.orient(d,b)) { [INFO] [stdout] 156 + if a.orient(b,c) != a.orient(b,d) && c.orient(d,a) != c.orient(d,b) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if (a.orient(b,c) != a.orient(b,d) && c.orient(d,a) != c.orient(d,b)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - if (a.orient(b,c) != a.orient(b,d) && c.orient(d,a) != c.orient(d,b)) { [INFO] [stdout] 156 + if a.orient(b,c) != a.orient(b,d) && c.orient(d,a) != c.orient(d,b) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | if (is_debug()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if (is_debug()){ [INFO] [stdout] 99 + if is_debug() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/01.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut f = (mass / 3).saturating_sub(2); // subsract respecting bounds [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/bin/03.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut wires: Vec = input.lines().map(Wire::parse).collect(); [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: `input` [INFO] [stdout] --> src/bin/03.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `steps` is never read [INFO] [stdout] --> src/bin/03.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Wire { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | steps: Vec<(char, i64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wire` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | if (is_debug()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if (is_debug()){ [INFO] [stdout] 99 + if is_debug() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/01.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut f = (mass / 3).saturating_sub(2); // subsract respecting bounds [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/bin/03.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut wires: Vec = input.lines().map(Wire::parse).collect(); [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: `input` [INFO] [stdout] --> src/bin/03.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `steps` is never read [INFO] [stdout] --> src/bin/03.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Wire { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | steps: Vec<(char, i64)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wire` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "be73c0e3a01addef7ad47e4cd6a0b449ee1d259cd8332b844d1363ec36a3fea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be73c0e3a01addef7ad47e4cd6a0b449ee1d259cd8332b844d1363ec36a3fea4", kill_on_drop: false }` [INFO] [stdout] be73c0e3a01addef7ad47e4cd6a0b449ee1d259cd8332b844d1363ec36a3fea4