[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] testing imjacobclark/advent-of-code-2020 against 1.97.0-beta.6 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimjacobclark%2Fadvent-of-code-2020" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/imjacobclark/advent-of-code-2020 on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itertools v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5
[INFO] running `Command { std: "docker" "start" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling 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: 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<String>, 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<String>, 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<Vec<String>>, 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 6.29s
[INFO] running `Command { std: "docker" "inspect" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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<String>, 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<String>, 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<Vec<String>>, 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 `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]   --> src/four.rs:34:14
[INFO] [stderr]    |
[INFO] [stderr] 34 |     .any(|f| (pmf.len() == 1 && f == "cid")) || pmf.len() == 0;
[INFO] [stderr]    |              ^                            ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 34 -     .any(|f| (pmf.len() == 1 && f == "cid")) || pmf.len() == 0;
[INFO] [stderr] 34 +     .any(|f| pmf.len() == 1 && f == "cid" ) || pmf.len() == 0;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: function `fix_expenses` is never used
[INFO] [stderr]  --> src/one.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn fix_expenses() {
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_occurrences` is never used
[INFO] [stderr]  --> src/two.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn get_occurrences(sequence: Vec<String>, requirement: String) -> usize {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_char_at_index` is never used
[INFO] [stderr]  --> src/two.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn get_char_at_index(sequence: Vec<String>, index: usize) -> String {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `password_policy` is never used
[INFO] [stderr]   --> src/two.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn password_policy() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `walk_items` is never used
[INFO] [stderr]  --> src/three.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn walk_items(grid: Vec<Vec<String>>, row: usize, column: usize, trees: usize, right: usize, down: usize) -> usize {
[INFO] [stderr]   |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `compute_tree_encounter` is never used
[INFO] [stderr]   --> src/three.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn compute_tree_encounter() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `advent-of-code-2020` (bin "advent-of-code-2020" test) generated 7 warnings (run `cargo fix --bin "advent-of-code-2020" -p advent-of-code-2020 --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code_2020-5c45255390a70343)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5", kill_on_drop: false }`
[INFO] [stdout] 2d1f15fc70a9fa8cbfac96f1840cfd345808fcbe9fd98e07feb45b52de4837c5
