[INFO] cloning repository https://github.com/redshiftss/aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redshiftss/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Faoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Faoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc3234088e71d324b92a70347973b3874255ab8d [INFO] checking redshiftss/aoc-2022 against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Faoc-2022" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redshiftss/aoc-2022 on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redshiftss/aoc-2022 [INFO] finished tweaking git repo https://github.com/redshiftss/aoc-2022 [INFO] tweaked toml for git repo https://github.com/redshiftss/aoc-2022 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/redshiftss/aoc-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking redshiftss/aoc-2022 against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Faoc-2022" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redshiftss/aoc-2022 on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redshiftss/aoc-2022 [INFO] finished tweaking git repo https://github.com/redshiftss/aoc-2022 [INFO] tweaked toml for git repo https://github.com/redshiftss/aoc-2022 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/redshiftss/aoc-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking redshiftss/aoc-2022 against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Faoc-2022" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redshiftss/aoc-2022 on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redshiftss/aoc-2022 [INFO] finished tweaking git repo https://github.com/redshiftss/aoc-2022 [INFO] tweaked toml for git repo https://github.com/redshiftss/aoc-2022 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/redshiftss/aoc-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26ec4aa003e0c3ef8a5c5f0c00ede4a441e7b1a45aed30acf39e9f6a2a3ccf6e [INFO] running `Command { std: "docker" "start" "-a" "26ec4aa003e0c3ef8a5c5f0c00ede4a441e7b1a45aed30acf39e9f6a2a3ccf6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26ec4aa003e0c3ef8a5c5f0c00ede4a441e7b1a45aed30acf39e9f6a2a3ccf6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ec4aa003e0c3ef8a5c5f0c00ede4a441e7b1a45aed30acf39e9f6a2a3ccf6e", kill_on_drop: false }` [INFO] [stdout] 26ec4aa003e0c3ef8a5c5f0c00ede4a441e7b1a45aed30acf39e9f6a2a3ccf6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db7e33e279e6c409c9420cc61b47906c452d84a6220e1e38e59274f5a1762a55 [INFO] running `Command { std: "docker" "start" "-a" "db7e33e279e6c409c9420cc61b47906c452d84a6220e1e38e59274f5a1762a55", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking Aoc-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/day10/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day12/mod.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, vec, collections::{VecDeque, HashSet, BinaryHeap}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/day2/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_set::Intersection` [INFO] [stdout] --> src/day3/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::btree_set::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `io::Lines` [INFO] [stdout] --> src/day7/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | io::Lines, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/day10/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day12/mod.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, vec, collections::{VecDeque, HashSet, BinaryHeap}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/day2/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_set::Intersection` [INFO] [stdout] --> src/day3/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::btree_set::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `io::Lines` [INFO] [stdout] --> src/day7/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | io::Lines, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/day10/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let contents = fs::read_to_string(file).expect("Should have been able to read the file"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_Str` [INFO] [stdout] --> src/day10/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | signal_Str: &mut i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_Str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkey` [INFO] [stdout] --> src/day11/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | for monkey in &monkeys { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/day11/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | for round in 0..20 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/day11/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | for round in 0..10000 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut n = Node{val: map[i][j], x: i as i32, y: j as i32}; [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/day12/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut n = Node{val: map[i][j], x: i as i32, y: j as i32}; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/day10/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let contents = fs::read_to_string(file).expect("Should have been able to read the file"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_Str` [INFO] [stdout] --> src/day10/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | signal_Str: &mut i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_Str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monkey` [INFO] [stdout] --> src/day11/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | for monkey in &monkeys { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_monkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/day11/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | for round in 0..20 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/day11/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | for round in 0..10000 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tot` [INFO] [stdout] --> src/day7/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut tot = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7/mod.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut tot = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut n = Node{val: map[i][j], x: i as i32, y: j as i32}; [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: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut n = Node{val: map[i][j], x: i as i32, y: j as i32}; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day1/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day1/mod.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_1` is never used [INFO] [stdout] --> src/day1/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run_day_1(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BUSY` and `DONE` are never constructed [INFO] [stdout] --> src/day10/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum ProcessorStatus { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 6 | BUSY, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | DONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day10/mod.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tick` is never used [INFO] [stdout] --> src/day10/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn tick( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day10/mod.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tick_and_draw` is never used [INFO] [stdout] --> src/day10/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn tick_and_draw( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_10` is never used [INFO] [stdout] --> src/day10/mod.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run_day_10(file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PLUS` and `TIMES` are never constructed [INFO] [stdout] --> src/day11/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | PLUS, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | TIMES, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Old` and `Immediate` are never constructed [INFO] [stdout] --> src/day11/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Operand { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 12 | Old, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Immediate(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operand_1`, `operand_2`, and `operation` are never read [INFO] [stdout] --> src/day11/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct BinOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 18 | operand_1: Operand, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | operand_2: Operand, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item_queue`, `operation`, `monkey_business`, and `test` are never read [INFO] [stdout] --> src/day11/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Monkey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | item_queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | operation: BinOp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | monkey_business: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | //mod, true, false [INFO] [stdout] 29 | test: (i64, i64, i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monkey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/day11/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl BinOp { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 33 | fn execute(self, num : i64) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day11/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_operation` is never used [INFO] [stdout] --> src/day11/mod.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse_operation(s: String) -> BinOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day11/mod.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_11` is never used [INFO] [stdout] --> src/day11/mod.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn run_day_11(file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day2/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_result` is never used [INFO] [stdout] --> src/day2/mod.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn game_result(opp_move: &str, your_move: &str, winning_table: Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day2/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_result_correct` is never used [INFO] [stdout] --> src/day2/mod.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn game_result_correct(opp_move: &str, result: &str, winning_table: Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_2` is never used [INFO] [stdout] --> src/day2/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn run_day_2(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day3/mod.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prio` is never used [INFO] [stdout] --> src/day3/mod.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_prio(ch: &char) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day3/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_3` is never used [INFO] [stdout] --> src/day3/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run_day_3(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day4/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day4/mod.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_4` is never used [INFO] [stdout] --> src/day4/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn run_day_4(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day5/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse(file: &str) -> (Vec>, Vec<(i32, i32, i32)>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day5/mod.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day5/mod.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_5` is never used [INFO] [stdout] --> src/day5/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn run_day_5(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day6/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day6/mod.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_marker` is never used [INFO] [stdout] --> src/day6/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn calc_marker(d: i32, stream: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_6` is never used [INFO] [stdout] --> src/day6/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run_day_6(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dir` and `File` are never constructed [INFO] [stdout] --> src/day7/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum FileSystemObject { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 10 | // Children(idx), Parent [INFO] [stdout] 11 | Dir(Vec, Option), [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | File(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileSystemObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day7/mod.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_folder` is never used [INFO] [stdout] --> src/day7/mod.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn calculate_folder(dir: String, fs: HashMap, result: &mut i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day7/mod.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_7` is never used [INFO] [stdout] --> src/day7/mod.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn run_day_7(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day8/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleTree` is never used [INFO] [stdout] --> src/day8/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn isVisibleTree(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromNorth` is never used [INFO] [stdout] --> src/day8/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn isVisibleFromNorth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromSouth` is never used [INFO] [stdout] --> src/day8/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn isVisibleFromSouth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromWest` is never used [INFO] [stdout] --> src/day8/mod.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn isVisibleFromWest(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromEast` is never used [INFO] [stdout] --> src/day8/mod.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn isVisibleFromEast(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day8/mod.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreNorth` is never used [INFO] [stdout] --> src/day8/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn scenicScoreNorth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreSouth` is never used [INFO] [stdout] --> src/day8/mod.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn scenicScoreSouth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreWest` is never used [INFO] [stdout] --> src/day8/mod.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn scenicScoreWest(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreEast` is never used [INFO] [stdout] --> src/day8/mod.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn scenicScoreEast(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_8` is never used [INFO] [stdout] --> src/day8/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn run_day_8(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Aoc_2022` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `aoc_2022` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut X = 1; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | X: &mut i32, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signal_Str` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | signal_Str: &mut i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `signal_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | totalCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | numCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut X = 1; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | X: &mut i32, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signal_Str` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | signal_Str: &mut i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `signal_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | totalCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | numCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/day11/mod.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | modulo = lcm(monkey.deref().borrow().test.0, modulo) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell` does not implement `Deref`, so calling `deref` on `&RefCell` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleTree` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn isVisibleTree(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromNorth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn isVisibleFromNorth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_north` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromSouth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn isVisibleFromSouth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromWest` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn isVisibleFromWest(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromEast` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn isVisibleFromEast(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_east` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreNorth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn scenicScoreNorth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_north` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreSouth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn scenicScoreSouth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreWest` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn scenicScoreWest(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreEast` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn scenicScoreEast(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_east` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tot` [INFO] [stdout] --> src/day7/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut tot = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7/mod.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let mut tot = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 94 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/day8/mod.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let w = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day1/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day1/mod.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_1` is never used [INFO] [stdout] --> src/day1/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn run_day_1(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BUSY` and `DONE` are never constructed [INFO] [stdout] --> src/day10/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum ProcessorStatus { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 6 | BUSY, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | DONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day10/mod.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tick` is never used [INFO] [stdout] --> src/day10/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn tick( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day10/mod.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tick_and_draw` is never used [INFO] [stdout] --> src/day10/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn tick_and_draw( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_10` is never used [INFO] [stdout] --> src/day10/mod.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run_day_10(file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PLUS` and `TIMES` are never constructed [INFO] [stdout] --> src/day11/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | PLUS, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | TIMES, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Old` and `Immediate` are never constructed [INFO] [stdout] --> src/day11/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Operand { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 12 | Old, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Immediate(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operand_1`, `operand_2`, and `operation` are never read [INFO] [stdout] --> src/day11/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct BinOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 18 | operand_1: Operand, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | operand_2: Operand, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item_queue`, `operation`, `monkey_business`, and `test` are never read [INFO] [stdout] --> src/day11/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Monkey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | item_queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | operation: BinOp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | monkey_business: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | //mod, true, false [INFO] [stdout] 29 | test: (i64, i64, i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monkey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/day11/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl BinOp { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 33 | fn execute(self, num : i64) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day11/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_operation` is never used [INFO] [stdout] --> src/day11/mod.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse_operation(s: String) -> BinOp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day11/mod.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_11` is never used [INFO] [stdout] --> src/day11/mod.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn run_day_11(file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day2/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_result` is never used [INFO] [stdout] --> src/day2/mod.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn game_result(opp_move: &str, your_move: &str, winning_table: Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day2/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_result_correct` is never used [INFO] [stdout] --> src/day2/mod.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn game_result_correct(opp_move: &str, result: &str, winning_table: Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_2` is never used [INFO] [stdout] --> src/day2/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn run_day_2(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day3/mod.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prio` is never used [INFO] [stdout] --> src/day3/mod.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_prio(ch: &char) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day3/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_3` is never used [INFO] [stdout] --> src/day3/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run_day_3(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day4/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day4/mod.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_4` is never used [INFO] [stdout] --> src/day4/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn run_day_4(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day5/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse(file: &str) -> (Vec>, Vec<(i32, i32, i32)>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day5/mod.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day5/mod.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_5` is never used [INFO] [stdout] --> src/day5/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn run_day_5(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day6/mod.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day6/mod.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_marker` is never used [INFO] [stdout] --> src/day6/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn calc_marker(d: i32, stream: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_6` is never used [INFO] [stdout] --> src/day6/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run_day_6(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dir` and `File` are never constructed [INFO] [stdout] --> src/day7/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum FileSystemObject { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 10 | // Children(idx), Parent [INFO] [stdout] 11 | Dir(Vec, Option), [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | File(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileSystemObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day7/mod.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_folder` is never used [INFO] [stdout] --> src/day7/mod.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn calculate_folder(dir: String, fs: HashMap, result: &mut i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day7/mod.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_7` is never used [INFO] [stdout] --> src/day7/mod.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn run_day_7(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day8/mod.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part_1(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleTree` is never used [INFO] [stdout] --> src/day8/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn isVisibleTree(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromNorth` is never used [INFO] [stdout] --> src/day8/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn isVisibleFromNorth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromSouth` is never used [INFO] [stdout] --> src/day8/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn isVisibleFromSouth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromWest` is never used [INFO] [stdout] --> src/day8/mod.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn isVisibleFromWest(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromEast` is never used [INFO] [stdout] --> src/day8/mod.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn isVisibleFromEast(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day8/mod.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn part_2(file: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreNorth` is never used [INFO] [stdout] --> src/day8/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn scenicScoreNorth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreSouth` is never used [INFO] [stdout] --> src/day8/mod.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn scenicScoreSouth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreWest` is never used [INFO] [stdout] --> src/day8/mod.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn scenicScoreWest(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreEast` is never used [INFO] [stdout] --> src/day8/mod.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn scenicScoreEast(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_day_8` is never used [INFO] [stdout] --> src/day8/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn run_day_8(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Aoc_2022` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `aoc_2022` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut X = 1; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | X: &mut i32, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signal_Str` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | signal_Str: &mut i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `signal_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | totalCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | numCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut X = 1; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | X: &mut i32, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `signal_Str` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | signal_Str: &mut i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `signal_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | totalCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numCycles` should have a snake case name [INFO] [stdout] --> src/day10/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | numCycles: &mut i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `num_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/day11/mod.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | modulo = lcm(monkey.deref().borrow().test.0, modulo) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell` does not implement `Deref`, so calling `deref` on `&RefCell` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleTree` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn isVisibleTree(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromNorth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn isVisibleFromNorth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_north` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromSouth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn isVisibleFromSouth(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromWest` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn isVisibleFromWest(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `isVisibleFromEast` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn isVisibleFromEast(trees: Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_visible_from_east` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreNorth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn scenicScoreNorth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_north` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreSouth` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn scenicScoreSouth(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_south` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreWest` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn scenicScoreWest(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_west` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scenicScoreEast` should have a snake case name [INFO] [stdout] --> src/day8/mod.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn scenicScoreEast(trees: Vec>, x: usize, y: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scenic_score_east` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 94 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "db7e33e279e6c409c9420cc61b47906c452d84a6220e1e38e59274f5a1762a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7e33e279e6c409c9420cc61b47906c452d84a6220e1e38e59274f5a1762a55", kill_on_drop: false }` [INFO] [stdout] db7e33e279e6c409c9420cc61b47906c452d84a6220e1e38e59274f5a1762a55