[INFO] cloning repository https://github.com/luryus/aoc-2019-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luryus/aoc-2019-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluryus%2Faoc-2019-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluryus%2Faoc-2019-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 263e037262d2d07f3c8233e5b0102fbf088d0db0 [INFO] checking luryus/aoc-2019-rust against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluryus%2Faoc-2019-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luryus/aoc-2019-rust 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/luryus/aoc-2019-rust [INFO] finished tweaking git repo https://github.com/luryus/aoc-2019-rust [INFO] tweaked toml for git repo https://github.com/luryus/aoc-2019-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/luryus/aoc-2019-rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/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] 5ad2281c6d192245f5625d6e9cd93f9d12a8670f391dac4f4de34abb92dddd70 [INFO] running `Command { std: "docker" "start" "-a" "5ad2281c6d192245f5625d6e9cd93f9d12a8670f391dac4f4de34abb92dddd70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ad2281c6d192245f5625d6e9cd93f9d12a8670f391dac4f4de34abb92dddd70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad2281c6d192245f5625d6e9cd93f9d12a8670f391dac4f4de34abb92dddd70", kill_on_drop: false }` [INFO] [stdout] 5ad2281c6d192245f5625d6e9cd93f9d12a8670f391dac4f4de34abb92dddd70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a62e966e40621d7b285ae3989d0ce2f41ad0881a7bd25d17b6e7db54cca39c1 [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" "8a62e966e40621d7b285ae3989d0ce2f41ad0881a7bd25d17b6e7db54cca39c1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking fraction v0.6.2 [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/14.rs:105:6 [INFO] [stdout] | [INFO] [stdout] 105 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_integer::lcm` [INFO] [stdout] --> src/bin/16.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_integer::lcm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_integer::lcm` [INFO] [stdout] --> src/bin/16.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_integer::lcm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | let coord = if (x == 0 || maze[y][x-1] == None) { [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 `if` condition [INFO] [stdout] --> src/bin/20.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | let coord = if (x == w-1 || maze[y][x+1] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | let coord = if (y == 0 || maze[y-1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | let coord = if (y == h-1 || maze[y+1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | let coord = if (x == w-1 || maze[y][x+1] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:286:24 [INFO] [stdout] | [INFO] [stdout] 286 | let coord = if (y == 0 || maze[y-1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | let coord = if (y == h-1 || maze[y+1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | let coord = if (x == 0 || maze[y][x-1] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BinaryHeap` [INFO] [stdout] --> src/bin/18.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeSet, BTreeMap, HashMap, VecDeque, HashSet, BinaryHeap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | let coord = if (x == w-1 || maze[y][x+1] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | let coord = if (y == 0 || maze[y-1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | let coord = if (y == h-1 || maze[y+1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | let coord = if (x == w-1 || maze[y][x+1] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:286:24 [INFO] [stdout] | [INFO] [stdout] 286 | let coord = if (y == 0 || maze[y-1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/20.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | let coord = if (y == h-1 || maze[y+1][x] == None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reverse` [INFO] [stdout] --> src/bin/18.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{Ordering, Reverse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/bin/23.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BinaryHeap` [INFO] [stdout] --> src/bin/18.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeSet, BTreeMap, HashMap, VecDeque, HashSet, BinaryHeap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reverse` [INFO] [stdout] --> src/bin/18.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{Ordering, Reverse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/bin/18.rs:159:57 [INFO] [stdout] | [INFO] [stdout] 159 | while let Some(QueueItem(coords, d, collected_keys, prev)) = queue.pop_front() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/bin/18.rs:159:57 [INFO] [stdout] | [INFO] [stdout] 159 | while let Some(QueueItem(coords, d, collected_keys, prev)) = queue.pop_front() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/14.rs:105:6 [INFO] [stdout] | [INFO] [stdout] 105 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/bin/23.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `turn_left` [INFO] [stdout] --> src/bin/17.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn turn_left(dir: Dir) -> Dir { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `turn_left` [INFO] [stdout] --> src/bin/17.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn turn_left(dir: Dir) -> Dir { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.28s [INFO] running `Command { std: "docker" "inspect" "8a62e966e40621d7b285ae3989d0ce2f41ad0881a7bd25d17b6e7db54cca39c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a62e966e40621d7b285ae3989d0ce2f41ad0881a7bd25d17b6e7db54cca39c1", kill_on_drop: false }` [INFO] [stdout] 8a62e966e40621d7b285ae3989d0ce2f41ad0881a7bd25d17b6e7db54cca39c1