[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluryus%2Faoc-2019-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luryus/aoc-2019-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fraction v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c3a994114d96af45b65cbaea6254b79b5e0d5e7b38f1726625d27e1e0cec2ec [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" "0c3a994114d96af45b65cbaea6254b79b5e0d5e7b38f1726625d27e1e0cec2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c3a994114d96af45b65cbaea6254b79b5e0d5e7b38f1726625d27e1e0cec2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c3a994114d96af45b65cbaea6254b79b5e0d5e7b38f1726625d27e1e0cec2ec", kill_on_drop: false }` [INFO] [stdout] 0c3a994114d96af45b65cbaea6254b79b5e0d5e7b38f1726625d27e1e0cec2ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9650efecc32dbf6548eee21e14313c7f0045c13823254132babf73f5a9d958dc [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" "9650efecc32dbf6548eee21e14313c7f0045c13823254132babf73f5a9d958dc", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking md5 v0.6.1 [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] 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] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.2 [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 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: 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: 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: 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: 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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: 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: 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: 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: 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: 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: 3 warnings emitted [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: 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: 1 warning emitted [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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.64s [INFO] running `Command { std: "docker" "inspect" "9650efecc32dbf6548eee21e14313c7f0045c13823254132babf73f5a9d958dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9650efecc32dbf6548eee21e14313c7f0045c13823254132babf73f5a9d958dc", kill_on_drop: false }` [INFO] [stdout] 9650efecc32dbf6548eee21e14313c7f0045c13823254132babf73f5a9d958dc