[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGsciarra%2Fadventofcode2020" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gsciarra/adventofcode2020 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/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-13/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 40c565498fe787d1246b3ae39b827b38eda6a33bf96b539692c14f79e8a7d055 [INFO] running `Command { std: "docker" "start" "-a" "40c565498fe787d1246b3ae39b827b38eda6a33bf96b539692c14f79e8a7d055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40c565498fe787d1246b3ae39b827b38eda6a33bf96b539692c14f79e8a7d055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c565498fe787d1246b3ae39b827b38eda6a33bf96b539692c14f79e8a7d055", kill_on_drop: false }` [INFO] [stdout] 40c565498fe787d1246b3ae39b827b38eda6a33bf96b539692c14f79e8a7d055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 532bafba820842ec7cf1af6b37100bfb2fb701b9cec701ca7473a32c1ff5e221 [INFO] running `Command { std: "docker" "start" "-a" "532bafba820842ec7cf1af6b37100bfb2fb701b9cec701ca7473a32c1ff5e221", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/day2/types.rs (6 fixes) [INFO] [stderr] Fixed src/day3/mod.rs (1 fix) [INFO] [stderr] Fixed src/day5/mod.rs (4 fixes) [INFO] [stderr] Fixed src/day4/mod.rs (1 fix) [INFO] [stderr] Fixed src/day2/mod.rs (1 fix) [INFO] [stderr] Fixed src/day7/mod.rs (3 fixes) [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: 33 warnings emitted [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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.97s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking advent v0.1.0 (/tmp/fixit) [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: 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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "532bafba820842ec7cf1af6b37100bfb2fb701b9cec701ca7473a32c1ff5e221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532bafba820842ec7cf1af6b37100bfb2fb701b9cec701ca7473a32c1ff5e221", kill_on_drop: false }` [INFO] [stdout] 532bafba820842ec7cf1af6b37100bfb2fb701b9cec701ca7473a32c1ff5e221