[INFO] cloning repository https://github.com/Spcktr/2017_advent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spcktr/2017_advent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpcktr%2F2017_advent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpcktr%2F2017_advent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01ab475abae2908e6756ec31dedc8e5ce2a71198 [INFO] checking Spcktr/2017_advent against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpcktr%2F2017_advent" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Spcktr/2017_advent on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Spcktr/2017_advent [INFO] finished tweaking git repo https://github.com/Spcktr/2017_advent [INFO] tweaked toml for git repo https://github.com/Spcktr/2017_advent written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Spcktr/2017_advent already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a9940a89e1e1ad95533632a7eb1a4c2a9dfe0ca012290b8f19e5e62fa87b7c6 [INFO] running `Command { std: "docker" "start" "-a" "7a9940a89e1e1ad95533632a7eb1a4c2a9dfe0ca012290b8f19e5e62fa87b7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a9940a89e1e1ad95533632a7eb1a4c2a9dfe0ca012290b8f19e5e62fa87b7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9940a89e1e1ad95533632a7eb1a4c2a9dfe0ca012290b8f19e5e62fa87b7c6", kill_on_drop: false }` [INFO] [stdout] 7a9940a89e1e1ad95533632a7eb1a4c2a9dfe0ca012290b8f19e5e62fa87b7c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31bd7510d46d5a60ba2f4c687faacae2213adecce5902e4b7805f647e2155521 [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" "31bd7510d46d5a60ba2f4c687faacae2213adecce5902e4b7805f647e2155521", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling unindent v0.1.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling proc-macro-hack v0.4.0 [INFO] [stderr] Compiling indoc-impl v0.2.3 [INFO] [stderr] Checking num-bigint v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking indoc v0.2.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day01.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 27 | let input = include_str!("../inputs/input01").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day01.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | let input = include_str!("../inputs/input01").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day02.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | let input = include_str!("../inputs/input02").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day02.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | let input = include_str!("../inputs/input02").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day01.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 27 | let input = include_str!("../inputs/input01").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day01.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | let input = include_str!("../inputs/input01").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day02.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | let input = include_str!("../inputs/input02").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day02.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | let input = include_str!("../inputs/input02").trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day03.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day03.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day03.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/day03.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | .trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mov` [INFO] [stdout] --> src/helper.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn mov(self, direction: Direction) -> Coordinate { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/helper.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/helper.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/helper.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/helper.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/helper.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> src/helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn left(self) -> Direction { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/helper.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn reverse(self) -> Direction { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/helper.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn right(self) -> Direction { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mov` [INFO] [stdout] --> src/helper.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn mov(self, direction: Direction) -> Coordinate { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/helper.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/helper.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/helper.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/helper.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all` [INFO] [stdout] --> src/helper.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> src/helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn left(self) -> Direction { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/helper.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn reverse(self) -> Direction { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/helper.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn right(self) -> Direction { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.99s [INFO] running `Command { std: "docker" "inspect" "31bd7510d46d5a60ba2f4c687faacae2213adecce5902e4b7805f647e2155521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31bd7510d46d5a60ba2f4c687faacae2213adecce5902e4b7805f647e2155521", kill_on_drop: false }` [INFO] [stdout] 31bd7510d46d5a60ba2f4c687faacae2213adecce5902e4b7805f647e2155521