[INFO] cloning repository https://github.com/criminosis/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/criminosis/advent_of_code_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcriminosis%2Fadvent_of_code_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcriminosis%2Fadvent_of_code_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40212e3ea7bbfd3bcfda9545e52efcaa13dbafcc [INFO] checking criminosis/advent_of_code_2020 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcriminosis%2Fadvent_of_code_2020" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/criminosis/advent_of_code_2020 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/criminosis/advent_of_code_2020 [INFO] finished tweaking git repo https://github.com/criminosis/advent_of_code_2020 [INFO] tweaked toml for git repo https://github.com/criminosis/advent_of_code_2020 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/criminosis/advent_of_code_2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04dc6cb7be334e6c0afafd9e748c17df59a6baccc2a02ef3acd2122aebddeccc [INFO] running `Command { std: "docker" "start" "-a" "04dc6cb7be334e6c0afafd9e748c17df59a6baccc2a02ef3acd2122aebddeccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04dc6cb7be334e6c0afafd9e748c17df59a6baccc2a02ef3acd2122aebddeccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04dc6cb7be334e6c0afafd9e748c17df59a6baccc2a02ef3acd2122aebddeccc", kill_on_drop: false }` [INFO] [stdout] 04dc6cb7be334e6c0afafd9e748c17df59a6baccc2a02ef3acd2122aebddeccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96ee6dd2c610215311a904ee67681c8209ed33338aad42bf96e00bafd0e9f8ff [INFO] running `Command { std: "docker" "start" "-a" "96ee6dd2c610215311a904ee67681c8209ed33338aad42bf96e00bafd0e9f8ff", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem1.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_triplet` [INFO] [stdout] --> src/problem1.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_2020_triplet(data: &mut Vec) -> (u32, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_pair` [INFO] [stdout] --> src/problem1.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn find_2020_pair(data: &mut Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem2.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_1` [INFO] [stdout] --> src/problem2.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn validate_part_1(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_2` [INFO] [stdout] --> src/problem2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn validate_part_2(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem3.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `go_down_slope` [INFO] [stdout] --> src/problem3.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn go_down_slope(unit_rows: &Vec>, movement: (usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem4.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_height` [INFO] [stdout] --> src/problem4.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn validate_height(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_birth_year` [INFO] [stdout] --> src/problem4.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn validate_birth_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_issue_year` [INFO] [stdout] --> src/problem4.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn validate_issue_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_expiration_year` [INFO] [stdout] --> src/problem4.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn validate_expiration_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_eye_color` [INFO] [stdout] --> src/problem4.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn validate_eye_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_passport_id` [INFO] [stdout] --> src/problem4.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn validate_passport_id(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_hair_color` [INFO] [stdout] --> src/problem4.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn validate_hair_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem5.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_of` [INFO] [stdout] --> src/problem5.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn middle_of (left: i32, right:i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_row` [INFO] [stdout] --> src/problem5.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn process_row(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group_data_by_empty_lines` [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn group_data_by_empty_lines(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem1.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_triplet` [INFO] [stdout] --> src/problem1.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_2020_triplet(data: &mut Vec) -> (u32, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_pair` [INFO] [stdout] --> src/problem1.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn find_2020_pair(data: &mut Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem2.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_1` [INFO] [stdout] --> src/problem2.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn validate_part_1(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_2` [INFO] [stdout] --> src/problem2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn validate_part_2(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem3.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `go_down_slope` [INFO] [stdout] --> src/problem3.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn go_down_slope(unit_rows: &Vec>, movement: (usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem4.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_height` [INFO] [stdout] --> src/problem4.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn validate_height(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_birth_year` [INFO] [stdout] --> src/problem4.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn validate_birth_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_issue_year` [INFO] [stdout] --> src/problem4.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn validate_issue_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_expiration_year` [INFO] [stdout] --> src/problem4.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn validate_expiration_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_eye_color` [INFO] [stdout] --> src/problem4.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn validate_eye_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_passport_id` [INFO] [stdout] --> src/problem4.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn validate_passport_id(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_hair_color` [INFO] [stdout] --> src/problem4.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn validate_hair_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem5.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_of` [INFO] [stdout] --> src/problem5.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn middle_of (left: i32, right:i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_row` [INFO] [stdout] --> src/problem5.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn process_row(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group_data_by_empty_lines` [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn group_data_by_empty_lines(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking advent_of_code_2020 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem1.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_triplet` [INFO] [stdout] --> src/problem1.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_2020_triplet(data: &mut Vec) -> (u32, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_pair` [INFO] [stdout] --> src/problem1.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn find_2020_pair(data: &mut Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem2.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_1` [INFO] [stdout] --> src/problem2.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn validate_part_1(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_2` [INFO] [stdout] --> src/problem2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn validate_part_2(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem3.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `go_down_slope` [INFO] [stdout] --> src/problem3.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn go_down_slope(unit_rows: &Vec>, movement: (usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem1.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem4.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_height` [INFO] [stdout] --> src/problem4.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn validate_height(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_triplet` [INFO] [stdout] --> src/problem1.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_2020_triplet(data: &mut Vec) -> (u32, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_birth_year` [INFO] [stdout] --> src/problem4.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn validate_birth_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_2020_pair` [INFO] [stdout] --> src/problem1.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn find_2020_pair(data: &mut Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_issue_year` [INFO] [stdout] --> src/problem4.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn validate_issue_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_expiration_year` [INFO] [stdout] --> src/problem4.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn validate_expiration_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem2.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_eye_color` [INFO] [stdout] --> src/problem4.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn validate_eye_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_1` [INFO] [stdout] --> src/problem2.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn validate_part_1(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_part_2` [INFO] [stdout] --> src/problem2.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn validate_part_2(input_row: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_passport_id` [INFO] [stdout] --> src/problem4.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn validate_passport_id(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem3.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_hair_color` [INFO] [stdout] --> src/problem4.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn validate_hair_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem5.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_of` [INFO] [stdout] --> src/problem5.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn middle_of (left: i32, right:i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_row` [INFO] [stdout] --> src/problem5.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn process_row(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group_data_by_empty_lines` [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn group_data_by_empty_lines(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `go_down_slope` [INFO] [stdout] --> src/problem3.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn go_down_slope(unit_rows: &Vec>, movement: (usize, usize)) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem4.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_height` [INFO] [stdout] --> src/problem4.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn validate_height(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_birth_year` [INFO] [stdout] --> src/problem4.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn validate_birth_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_issue_year` [INFO] [stdout] --> src/problem4.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn validate_issue_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_expiration_year` [INFO] [stdout] --> src/problem4.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn validate_expiration_year(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_eye_color` [INFO] [stdout] --> src/problem4.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn validate_eye_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_passport_id` [INFO] [stdout] --> src/problem4.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn validate_passport_id(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_hair_color` [INFO] [stdout] --> src/problem4.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn validate_hair_color(to_validate: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_two` [INFO] [stdout] --> src/problem5.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_two() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_of` [INFO] [stdout] --> src/problem5.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn middle_of (left: i32, right:i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_row` [INFO] [stdout] --> src/problem5.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn process_row(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `part_one` [INFO] [stdout] --> src/problem6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group_data_by_empty_lines` [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn group_data_by_empty_lines(input: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "96ee6dd2c610215311a904ee67681c8209ed33338aad42bf96e00bafd0e9f8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ee6dd2c610215311a904ee67681c8209ed33338aad42bf96e00bafd0e9f8ff", kill_on_drop: false }` [INFO] [stdout] 96ee6dd2c610215311a904ee67681c8209ed33338aad42bf96e00bafd0e9f8ff