[INFO] cloning repository https://github.com/imjacobclark/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imjacobclark/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1e4c5270d1a87570c348c7e043204d395e3f5bd [INFO] checking imjacobclark/advent-of-code-2020 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2Fadvent-of-code-2020" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imjacobclark/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/imjacobclark/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/imjacobclark/advent-of-code-2020 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imjacobclark/advent-of-code-2020 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imjacobclark/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf145c85a0761f9e2cc1b54b1110d11d21332c0d0b420b80935a652a73f9bb5 [INFO] running `Command { std: "docker" "start" "-a" "ebf145c85a0761f9e2cc1b54b1110d11d21332c0d0b420b80935a652a73f9bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf145c85a0761f9e2cc1b54b1110d11d21332c0d0b420b80935a652a73f9bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf145c85a0761f9e2cc1b54b1110d11d21332c0d0b420b80935a652a73f9bb5", kill_on_drop: false }` [INFO] [stdout] ebf145c85a0761f9e2cc1b54b1110d11d21332c0d0b420b80935a652a73f9bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8448e607f5d53b9faca306607e38181dec1df4c089de075c6925d29d264dc589 [INFO] running `Command { std: "docker" "start" "-a" "8448e607f5d53b9faca306607e38181dec1df4c089de075c6925d29d264dc589", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/four.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | .any(|f| (pmf.len() == 1 && f == "cid")) || pmf.len() == 0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - .any(|f| (pmf.len() == 1 && f == "cid")) || pmf.len() == 0; [INFO] [stdout] 34 + .any(|f| pmf.len() == 1 && f == "cid" ) || pmf.len() == 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/four.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | .any(|f| (pmf.len() == 1 && f == "cid")) || pmf.len() == 0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - .any(|f| (pmf.len() == 1 && f == "cid")) || pmf.len() == 0; [INFO] [stdout] 34 + .any(|f| pmf.len() == 1 && f == "cid" ) || pmf.len() == 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_expenses` is never used [INFO] [stdout] --> src/one.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn fix_expenses() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_occurrences` is never used [INFO] [stdout] --> src/two.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_occurrences(sequence: Vec, requirement: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_at_index` is never used [INFO] [stdout] --> src/two.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_char_at_index(sequence: Vec, index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `password_policy` is never used [INFO] [stdout] --> src/two.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn password_policy() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_items` is never used [INFO] [stdout] --> src/three.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn walk_items(grid: Vec>, row: usize, column: usize, trees: usize, right: usize, down: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_tree_encounter` is never used [INFO] [stdout] --> src/three.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn compute_tree_encounter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_expenses` is never used [INFO] [stdout] --> src/one.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn fix_expenses() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_occurrences` is never used [INFO] [stdout] --> src/two.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_occurrences(sequence: Vec, requirement: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_at_index` is never used [INFO] [stdout] --> src/two.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_char_at_index(sequence: Vec, index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `password_policy` is never used [INFO] [stdout] --> src/two.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn password_policy() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_items` is never used [INFO] [stdout] --> src/three.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn walk_items(grid: Vec>, row: usize, column: usize, trees: usize, right: usize, down: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_tree_encounter` is never used [INFO] [stdout] --> src/three.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn compute_tree_encounter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "8448e607f5d53b9faca306607e38181dec1df4c089de075c6925d29d264dc589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8448e607f5d53b9faca306607e38181dec1df4c089de075c6925d29d264dc589", kill_on_drop: false }` [INFO] [stdout] 8448e607f5d53b9faca306607e38181dec1df4c089de075c6925d29d264dc589