[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgw854%2Fadventofcode2020" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgw854/adventofcode2020 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-11/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded daggy v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed8f1f538e52d3e64b54a210ea82a846f1ec92e40713214608d330e9893061a [INFO] running `Command { std: "docker" "start" "-a" "fed8f1f538e52d3e64b54a210ea82a846f1ec92e40713214608d330e9893061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed8f1f538e52d3e64b54a210ea82a846f1ec92e40713214608d330e9893061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed8f1f538e52d3e64b54a210ea82a846f1ec92e40713214608d330e9893061a", kill_on_drop: false }` [INFO] [stdout] fed8f1f538e52d3e64b54a210ea82a846f1ec92e40713214608d330e9893061a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce0246e11c29fcc9b6af1cedc2f01db831d49a6e5c96847b4654e12cf6ed497 [INFO] running `Command { std: "docker" "start" "-a" "8ce0246e11c29fcc9b6af1cedc2f01db831d49a6e5c96847b4654e12cf6ed497", kill_on_drop: false }` [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 num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking regex v1.4.2 [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: 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: 7 warnings emitted [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.04s [INFO] running `Command { std: "docker" "inspect" "8ce0246e11c29fcc9b6af1cedc2f01db831d49a6e5c96847b4654e12cf6ed497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce0246e11c29fcc9b6af1cedc2f01db831d49a6e5c96847b4654e12cf6ed497", kill_on_drop: false }` [INFO] [stdout] 8ce0246e11c29fcc9b6af1cedc2f01db831d49a6e5c96847b4654e12cf6ed497