[INFO] cloning repository https://github.com/nbrady-techempower/adventofcode-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nbrady-techempower/adventofcode-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbrady-techempower%2Fadventofcode-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbrady-techempower%2Fadventofcode-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fd487a539a0f7e84691e7f68f01ac94787f6ada [INFO] checking nbrady-techempower/adventofcode-2020 against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbrady-techempower%2Fadventofcode-2020" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nbrady-techempower/adventofcode-2020 on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nbrady-techempower/adventofcode-2020 [INFO] finished tweaking git repo https://github.com/nbrady-techempower/adventofcode-2020 [INFO] tweaked toml for git repo https://github.com/nbrady-techempower/adventofcode-2020 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/nbrady-techempower/adventofcode-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49e652f2137c4efd49a4ae17244252bdbca6f4b7b8a3b39799c6645e4d84ed0b [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" "49e652f2137c4efd49a4ae17244252bdbca6f4b7b8a3b39799c6645e4d84ed0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49e652f2137c4efd49a4ae17244252bdbca6f4b7b8a3b39799c6645e4d84ed0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e652f2137c4efd49a4ae17244252bdbca6f4b7b8a3b39799c6645e4d84ed0b", kill_on_drop: false }` [INFO] [stdout] 49e652f2137c4efd49a4ae17244252bdbca6f4b7b8a3b39799c6645e4d84ed0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] a30dbbcfdf7a2c54fe5f5dabfb759063f49bcddc1e9af5033936ba7c1a8215a4 [INFO] running `Command { std: "docker" "start" "-a" "a30dbbcfdf7a2c54fe5f5dabfb759063f49bcddc1e9af5033936ba7c1a8215a4", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking n v0.2.0 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/puzzles/day16.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Range, RangeInclusive}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/puzzles/day16.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Range, RangeInclusive}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/utils/grid.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | v.insert(0,v[0].iter().map(|c| '.').collect::>()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/utils/grid.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | v.push(v[0].iter().map(|c| '.').collect::>()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/grid.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | for i in 0..num_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/utils/grid.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | for j in 0..num_cols { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/utils/grid.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | v.insert(0,v[0].iter().map(|c| '.').collect::>()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/utils/grid.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | v.push(v[0].iter().map(|c| '.').collect::>()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/grid.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | for i in 0..num_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/utils/grid.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | for j in 0..num_cols { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `hash` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/puzzles/day15.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(last_hash) = hash.get(&last) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 23 | hash.insert(last, (turn, last_hash.0)); [INFO] [stdout] | ^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `hash` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/puzzles/day15.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(last_hash) = hash.get(&last) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 23 | hash.insert(last, (turn, last_hash.0)); [INFO] [stdout] | ^^^^ ----------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.04s [INFO] running `Command { std: "docker" "inspect" "a30dbbcfdf7a2c54fe5f5dabfb759063f49bcddc1e9af5033936ba7c1a8215a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30dbbcfdf7a2c54fe5f5dabfb759063f49bcddc1e9af5033936ba7c1a8215a4", kill_on_drop: false }` [INFO] [stdout] a30dbbcfdf7a2c54fe5f5dabfb759063f49bcddc1e9af5033936ba7c1a8215a4