[INFO] cloning repository https://github.com/mgw854/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgw854/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgw854%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgw854%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40170ab6fee16d966f069ba0f5aef77a43adb10d [INFO] checking mgw854/adventofcode2020 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgw854%2Fadventofcode2020" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgw854/adventofcode2020 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mgw854/adventofcode2020 [INFO] finished tweaking git repo https://github.com/mgw854/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/mgw854/adventofcode2020 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/mgw854/adventofcode2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5857ec36448baf0d34361287990643b7df82420681845dd26edf7726e34e70ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5857ec36448baf0d34361287990643b7df82420681845dd26edf7726e34e70ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5857ec36448baf0d34361287990643b7df82420681845dd26edf7726e34e70ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5857ec36448baf0d34361287990643b7df82420681845dd26edf7726e34e70ec", kill_on_drop: false }` [INFO] [stdout] 5857ec36448baf0d34361287990643b7df82420681845dd26edf7726e34e70ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7bf404f505847cc79292188a16cffb2c8183aabfdc5b6b685f0d056cb74a6a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f7bf404f505847cc79292188a16cffb2c8183aabfdc5b6b685f0d056cb74a6a0", kill_on_drop: false }` [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking daggy v0.7.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking adventofcode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day12/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | Direction::North => { x += (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | Direction::South => { x -= (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | Direction::East => { y += (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | Direction::West => { y -= (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day12/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | Direction::North => { x += (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | Direction::South => { x -= (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | Direction::East => { y += (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day12/mod.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | Direction::West => { y -= (instr.run as i64); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slope_between` [INFO] [stdout] --> src/helpers/cartesian.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn slope_between(&self, other: &Point2D) -> Slope2D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_position` [INFO] [stdout] --> src/day12/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn generate_position(instructions: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slope_between` [INFO] [stdout] --> src/helpers/cartesian.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn slope_between(&self, other: &Point2D) -> Slope2D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.84s [INFO] running `Command { std: "docker" "inspect" "f7bf404f505847cc79292188a16cffb2c8183aabfdc5b6b685f0d056cb74a6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7bf404f505847cc79292188a16cffb2c8183aabfdc5b6b685f0d056cb74a6a0", kill_on_drop: false }` [INFO] [stdout] f7bf404f505847cc79292188a16cffb2c8183aabfdc5b6b685f0d056cb74a6a0