[INFO] cloning repository https://github.com/Gsciarra/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gsciarra/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGsciarra%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGsciarra%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b615f2b8c3e103a86374033e7c6333c3a159e45f [INFO] checking Gsciarra/adventofcode2020 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGsciarra%2Fadventofcode2020" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gsciarra/adventofcode2020 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gsciarra/adventofcode2020 [INFO] finished tweaking git repo https://github.com/Gsciarra/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/Gsciarra/adventofcode2020 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Gsciarra/adventofcode2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] a7179a5249256ae2fc8c98bcce917f2cbbfdd7ec636c52dd3dd0d98206cc3244 [INFO] running `Command { std: "docker" "start" "-a" "a7179a5249256ae2fc8c98bcce917f2cbbfdd7ec636c52dd3dd0d98206cc3244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7179a5249256ae2fc8c98bcce917f2cbbfdd7ec636c52dd3dd0d98206cc3244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7179a5249256ae2fc8c98bcce917f2cbbfdd7ec636c52dd3dd0d98206cc3244", kill_on_drop: false }` [INFO] [stdout] a7179a5249256ae2fc8c98bcce917f2cbbfdd7ec636c52dd3dd0d98206cc3244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e352a495c129d8b0f2ac34b15b5e324b89e31fbda353c612bcbc45cdbf905dd6 [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" "e352a495c129d8b0f2ac34b15b5e324b89e31fbda353c612bcbc45cdbf905dd6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day2/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day5/mod.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let m: f64 = ((range.0 + range.1) / 2f64); [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 assigned value [INFO] [stdout] --> src/day5/mod.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let m: f64 = ((range.0 + range.1) / 2f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_input` [INFO] [stdout] --> src/day7/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::{get_input, get_input_by_lines, print_solution}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/day7/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/day2/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day5/mod.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let m: f64 = ((range.0 + range.1) / 2f64); [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 assigned value [INFO] [stdout] --> src/day5/mod.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let m: f64 = ((range.0 + range.1) / 2f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_input` [INFO] [stdout] --> src/day7/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::{get_input, get_input_by_lines, print_solution}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/day7/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut input: String = get_input("input-day4.txt").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7/mod.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let mut contained: HashSet = bag_tree [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_combination_to_obtain_n` [INFO] [stdout] --> src/day1/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn find_combination_to_obtain_n( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day1/mod.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day1/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_contain_char_a_range_of_times` [INFO] [stdout] --> src/day2/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn str_contain_char_a_range_of_times(times_char_password: &TimesCharPassword) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_contain_char_in_one_positions` [INFO] [stdout] --> src/day2/mod.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn str_contain_char_in_one_positions(positions_char_password: &PositionsCharPassword) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day2/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day2/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_trees_on_path` [INFO] [stdout] --> src/day3/mod.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn count_trees_on_path(area_map: &mut AreaMap, position: &Position) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day3/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day3/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day4/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day4/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validation` [INFO] [stdout] --> src/day4/mod.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn validation(k_v_field: &Vec<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_color` [INFO] [stdout] --> src/day4/mod.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn is_color(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_eye_color` [INFO] [stdout] --> src/day4/mod.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_eye_color(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day5/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day5/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_row` [INFO] [stdout] --> src/day5/mod.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_row(indications: &str) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_column` [INFO] [stdout] --> src/day5/mod.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_column(indications: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day6/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day6/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/area_map.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(x: usize, y: usize) -> Position { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/utils/area_map.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/utils/area_map.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_pac_man_approach` [INFO] [stdout] --> src/utils/area_map.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | has_pac_man_approach: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_to` [INFO] [stdout] --> src/utils/area_map.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn move_to(&mut self, p: Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_by` [INFO] [stdout] --> src/utils/area_map.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn move_by(&mut self, p: Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_on_bottom_map` [INFO] [stdout] --> src/utils/area_map.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_on_bottom_map(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_location` [INFO] [stdout] --> src/utils/area_map.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_location(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_in` [INFO] [stdout] --> src/utils/area_map.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn is_in(&self, p: T) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pac_man_approach` [INFO] [stdout] --> src/utils/area_map.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn set_pac_man_approach(&mut self, b: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_inside_base_map` [INFO] [stdout] --> src/utils/area_map.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn is_inside_base_map(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/utils/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_input(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut input: String = get_input("input-day4.txt").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7/mod.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let mut contained: HashSet = bag_tree [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_combination_to_obtain_n` [INFO] [stdout] --> src/day1/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn find_combination_to_obtain_n( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day1/mod.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day1/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_contain_char_a_range_of_times` [INFO] [stdout] --> src/day2/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn str_contain_char_a_range_of_times(times_char_password: &TimesCharPassword) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str_contain_char_in_one_positions` [INFO] [stdout] --> src/day2/mod.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn str_contain_char_in_one_positions(positions_char_password: &PositionsCharPassword) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day2/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day2/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_trees_on_path` [INFO] [stdout] --> src/day3/mod.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn count_trees_on_path(area_map: &mut AreaMap, position: &Position) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day3/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day3/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day4/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day4/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validation` [INFO] [stdout] --> src/day4/mod.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn validation(k_v_field: &Vec<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_color` [INFO] [stdout] --> src/day4/mod.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn is_color(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_eye_color` [INFO] [stdout] --> src/day4/mod.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_eye_color(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day5/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day5/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution1` [INFO] [stdout] --> src/day6/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solution2` [INFO] [stdout] --> src/day6/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn solution2() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/area_map.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(x: usize, y: usize) -> Position { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/utils/area_map.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/utils/area_map.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_pac_man_approach` [INFO] [stdout] --> src/utils/area_map.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | has_pac_man_approach: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_to` [INFO] [stdout] --> src/utils/area_map.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn move_to(&mut self, p: Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_by` [INFO] [stdout] --> src/utils/area_map.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn move_by(&mut self, p: Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_on_bottom_map` [INFO] [stdout] --> src/utils/area_map.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_on_bottom_map(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_location` [INFO] [stdout] --> src/utils/area_map.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_location(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_in` [INFO] [stdout] --> src/utils/area_map.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn is_in(&self, p: T) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pac_man_approach` [INFO] [stdout] --> src/utils/area_map.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn set_pac_man_approach(&mut self, b: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_inside_base_map` [INFO] [stdout] --> src/utils/area_map.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn is_inside_base_map(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/utils/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_input(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.16s [INFO] running `Command { std: "docker" "inspect" "e352a495c129d8b0f2ac34b15b5e324b89e31fbda353c612bcbc45cdbf905dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e352a495c129d8b0f2ac34b15b5e324b89e31fbda353c612bcbc45cdbf905dd6", kill_on_drop: false }` [INFO] [stdout] e352a495c129d8b0f2ac34b15b5e324b89e31fbda353c612bcbc45cdbf905dd6