[INFO] cloning repository https://github.com/MichaelEmmerstorfer/adventofcode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichaelEmmerstorfer/adventofcode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelEmmerstorfer%2Fadventofcode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelEmmerstorfer%2Fadventofcode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9773f5cd7971b59389b0097769717ce9c37a132 [INFO] checking MichaelEmmerstorfer/adventofcode2024 against try#f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelEmmerstorfer%2Fadventofcode2024" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MichaelEmmerstorfer/adventofcode2024 on toolchain f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/MichaelEmmerstorfer/adventofcode2024 [INFO] finished tweaking git repo https://github.com/MichaelEmmerstorfer/adventofcode2024 [INFO] tweaked toml for git repo https://github.com/MichaelEmmerstorfer/adventofcode2024 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MichaelEmmerstorfer/adventofcode2024 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" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93b895bb3ad3d428156118db5c5d0ab9c611269219c29a490681a958f795bc45 [INFO] running `Command { std: "docker" "start" "-a" "93b895bb3ad3d428156118db5c5d0ab9c611269219c29a490681a958f795bc45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93b895bb3ad3d428156118db5c5d0ab9c611269219c29a490681a958f795bc45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b895bb3ad3d428156118db5c5d0ab9c611269219c29a490681a958f795bc45", kill_on_drop: false }` [INFO] [stdout] 93b895bb3ad3d428156118db5c5d0ab9c611269219c29a490681a958f795bc45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 837ff500486ce7e5a6eedcb5185a4e5f64c52a705e74e3d995142320924e76e8 [INFO] running `Command { std: "docker" "start" "-a" "837ff500486ce7e5a6eedcb5185a4e5f64c52a705e74e3d995142320924e76e8", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/02.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for n in 0..levelsString.clone().count() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/02.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | for n in 0..numbersInTheLine [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `firstFindingResult` [INFO] [stdout] --> src/bin/02.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let mut firstFindingResult = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_firstFindingResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut leftNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_numbers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/02.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for n in 0..levelsString.clone().count() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut rightNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | let leftNumberString = line.split_at(5).0.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let rightNumberString = line.split_at(8).1.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `right_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | let mut leftNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/02.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | let mut firstFindingResult = false; [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 `rightNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | let mut rightNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `similarityScore` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | let mut similarityScore: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `similarity_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let leftNumberString = line.split_at(5).0.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let rightNumberString = line.split_at(8).1.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `right_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberOfDuplicates` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let numberOfDuplicates: u32 = rightNumbers.iter().filter(|&x| *x == *leftNumbers.get(n).unwrap()).count().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_duplicates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safeReports` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mut safeReports = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `safe_reports` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut leftNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_numbers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut rightNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | let leftNumberString = line.split_at(5).0.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safeReport` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut safeReport = true; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `safe_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `levelsString` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut levelsString = line.split_whitespace(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `levels_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compareLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut compareLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `compare_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let rightNumberString = line.split_at(8).1.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `right_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | let mut leftNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `left_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNumbers` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | let mut rightNumbers: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `right_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalRightUp` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CheckDiagonalRightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePer... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_right_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `similarityScore` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | let mut similarityScore: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `similarity_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CheckDiagonalRightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePer... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/02.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | for n in 0..numbersInTheLine [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CheckDiagonalRightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePer... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `firstFindingResult` [INFO] [stdout] --> src/bin/02.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let mut firstFindingResult = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_firstFindingResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:75 [INFO] [stdout] | [INFO] [stdout] 3 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:103 [INFO] [stdout] | [INFO] [stdout] 3 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:131 [INFO] [stdout] | [INFO] [stdout] 3 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalRightDown` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn CheckDiagonalRightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizeP... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_right_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn CheckDiagonalRightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizeP... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/02.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | let mut firstFindingResult = false; [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 `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn CheckDiagonalRightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizeP... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:105 [INFO] [stdout] | [INFO] [stdout] 15 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let leftNumberString = line.split_at(5).0.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:133 [INFO] [stdout] | [INFO] [stdout] 15 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightNumberString` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let rightNumberString = line.split_at(8).1.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `right_number_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalLeftUp` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn CheckDiagonalLeftUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerR... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_left_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberOfDuplicates` should have a snake case name [INFO] [stdout] --> src/bin/01.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let numberOfDuplicates: u32 = rightNumbers.iter().filter(|&x| *x == *leftNumbers.get(n).unwrap()).count().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_duplicates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn CheckDiagonalLeftUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerR... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn CheckDiagonalLeftUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerR... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:74 [INFO] [stdout] | [INFO] [stdout] 27 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:102 [INFO] [stdout] | [INFO] [stdout] 27 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:130 [INFO] [stdout] | [INFO] [stdout] 27 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalLeftDown` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn CheckDiagonalLeftDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_left_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn CheckDiagonalLeftDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePe... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn CheckDiagonalLeftDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePe... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 39 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:104 [INFO] [stdout] | [INFO] [stdout] 39 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:132 [INFO] [stdout] | [INFO] [stdout] 39 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightDown` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn CheckStraightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn CheckStraightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn CheckStraightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:100 [INFO] [stdout] | [INFO] [stdout] 51 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:128 [INFO] [stdout] | [INFO] [stdout] 51 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightUp` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn CheckStraightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | let nextLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safeReports` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | let mut safeReports = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `safe_reports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sameNumber` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sameNumber = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `same_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safeReports` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mut safeReports = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `safe_reports` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `levelsString` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut levelsString = line.split_whitespace(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `levels_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compareLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut compareLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `compare_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safeReport` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut safeReport = true; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `safe_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numbersInTheLine` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let numbersInTheLine = levelsString.clone().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `numbers_in_the_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `levelsString` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut levelsString = line.split_whitespace(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `levels_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstFindingResult` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let mut firstFindingResult = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `first_finding_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | let nextLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compareLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut compareLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `compare_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn CheckStraightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: ... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn CheckStraightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:70 [INFO] [stdout] | [INFO] [stdout] 63 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:98 [INFO] [stdout] | [INFO] [stdout] 63 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | let nextLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:126 [INFO] [stdout] | [INFO] [stdout] 63 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightLeft` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safeReports` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | let mut safeReports = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `safe_reports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sameNumber` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sameNumber = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `same_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `levelsString` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut levelsString = line.split_whitespace(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `levels_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:72 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compareLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut compareLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `compare_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numbersInTheLine` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let numbersInTheLine = levelsString.clone().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `numbers_in_the_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstFindingResult` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let mut firstFindingResult = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `first_finding_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextLevel` should have a snake case name [INFO] [stdout] --> src/bin/02.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | let nextLevel: u32 = levelsString.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `next_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:100 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightRight` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:73 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:101 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfAppearances` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | let mut NumberOfAppearances = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_appearances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | let sizePerRow = input.lines().next().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberOfRows` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | let numberOfRows = input.lines().count(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | let mut currentRowInput = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | let mut locationsForX: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | let mut locationsForM: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | let mut locationsForA: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | let mut locationsForS: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | for rowInput in input.lines() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | for locationX in locationsForX { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let currentRow = locationX / sizePerRow; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `current_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfAppearances` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | let mut NumberOfAppearances = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_appearances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | let sizePerRow = input.lines().next().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberOfRows` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | let numberOfRows = input.lines().count(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | let mut currentRowInput = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | let mut locationsForM: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | let mut locationsForA: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | let mut locationsForS: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | for rowInput in input.lines() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | for locationA in locationsForA { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let currentRow = locationA / sizePerRow; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `current_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xAxis` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut xAxis = false; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_axis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `yAxis` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut yAxis = false; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_axis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalRightUp` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CheckDiagonalRightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePer... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_right_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CheckDiagonalRightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePer... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CheckDiagonalRightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePer... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:75 [INFO] [stdout] | [INFO] [stdout] 3 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:103 [INFO] [stdout] | [INFO] [stdout] 3 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:3:131 [INFO] [stdout] | [INFO] [stdout] 3 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalRightDown` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn CheckDiagonalRightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizeP... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_right_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn CheckDiagonalRightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizeP... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn CheckDiagonalRightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizeP... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:105 [INFO] [stdout] | [INFO] [stdout] 15 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:15:133 [INFO] [stdout] | [INFO] [stdout] 15 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalLeftUp` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn CheckDiagonalLeftUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerR... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_left_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn CheckDiagonalLeftUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerR... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn CheckDiagonalLeftUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerR... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:74 [INFO] [stdout] | [INFO] [stdout] 27 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:102 [INFO] [stdout] | [INFO] [stdout] 27 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:27:130 [INFO] [stdout] | [INFO] [stdout] 27 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckDiagonalLeftDown` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn CheckDiagonalLeftDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_diagonal_left_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn CheckDiagonalLeftDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePe... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn CheckDiagonalLeftDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePe... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 39 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:104 [INFO] [stdout] | [INFO] [stdout] 39 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:39:132 [INFO] [stdout] | [INFO] [stdout] 39 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightDown` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn CheckStraightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn CheckStraightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn CheckStraightDown(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:100 [INFO] [stdout] | [INFO] [stdout] 51 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:51:128 [INFO] [stdout] | [INFO] [stdout] 51 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightUp` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn CheckStraightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn CheckStraightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: ... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn CheckStraightUp(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:70 [INFO] [stdout] | [INFO] [stdout] 63 | ... locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:98 [INFO] [stdout] | [INFO] [stdout] 63 | ... locationsForA :&Vec, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:63:126 [INFO] [stdout] | [INFO] [stdout] 63 | ...e>, locationsForS :&Vec, sizePerRow: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightLeft` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:72 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:75:100 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn CheckStraightLeft(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CheckStraightRight` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_straight_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:73 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:87:101 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn CheckStraightRight(locationX: usize, locationsForM :&Vec, locationsForA :&Vec, locationsForS :&Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retValue` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | let mut retValue = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfAppearances` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | let mut NumberOfAppearances = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_appearances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | let sizePerRow = input.lines().next().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberOfRows` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | let numberOfRows = input.lines().count(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | let mut currentRowInput = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | let mut locationsForX: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | let mut locationsForM: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | let mut locationsForA: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | let mut locationsForS: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | for rowInput in input.lines() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationX` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | for locationX in locationsForX { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let currentRow = locationX / sizePerRow; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `current_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NumberOfAppearances` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | let mut NumberOfAppearances = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_appearances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sizePerRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | let sizePerRow = input.lines().next().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `size_per_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberOfRows` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | let numberOfRows = input.lines().count(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | let mut currentRowInput = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForM` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | let mut locationsForM: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | let mut locationsForA: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationsForS` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | let mut locationsForS: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `locations_for_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowInput` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | for rowInput in input.lines() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `row_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `locationA` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | for locationA in locationsForA { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `location_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentRow` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let currentRow = locationA / sizePerRow; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `current_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xAxis` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut xAxis = false; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `x_axis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `yAxis` should have a snake case name [INFO] [stdout] --> src/bin/04.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut yAxis = false; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `y_axis` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.34s [INFO] running `Command { std: "docker" "inspect" "837ff500486ce7e5a6eedcb5185a4e5f64c52a705e74e3d995142320924e76e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837ff500486ce7e5a6eedcb5185a4e5f64c52a705e74e3d995142320924e76e8", kill_on_drop: false }` [INFO] [stdout] 837ff500486ce7e5a6eedcb5185a4e5f64c52a705e74e3d995142320924e76e8