[INFO] cloning repository https://github.com/swojo/advent_of_code2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swojo/advent_of_code2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswojo%2Fadvent_of_code2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswojo%2Fadvent_of_code2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 200c0c596bd9110a53b9f984f5e4d811125d0c54 [INFO] checking swojo/advent_of_code2020 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswojo%2Fadvent_of_code2020" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swojo/advent_of_code2020 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swojo/advent_of_code2020 [INFO] finished tweaking git repo https://github.com/swojo/advent_of_code2020 [INFO] tweaked toml for git repo https://github.com/swojo/advent_of_code2020 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/swojo/advent_of_code2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7897604fa351adb6395b6147c81ffb890639c3d73521f06e5559a3db092cc10 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7897604fa351adb6395b6147c81ffb890639c3d73521f06e5559a3db092cc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7897604fa351adb6395b6147c81ffb890639c3d73521f06e5559a3db092cc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7897604fa351adb6395b6147c81ffb890639c3d73521f06e5559a3db092cc10", kill_on_drop: false }` [INFO] [stdout] c7897604fa351adb6395b6147c81ffb890639c3d73521f06e5559a3db092cc10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d11a7dc5c1dc999bfac50aa52189018319de437ce8459626b0af87ca9514421 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d11a7dc5c1dc999bfac50aa52189018319de437ce8459626b0af87ca9514421", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day1.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day1.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 'outer: for num_reversed in reversed.iter() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day1.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | if (sum == 2020) [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/day1.rs:57:95 [INFO] [stdout] | [INFO] [stdout] 57 | println!("Part 1: {:?}, Part 2: {:?} \n", solve_part1().unwrap(), solve_part2().unwrap());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day2.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day3.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day3.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day5.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day5.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day5.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if (length == 2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day6.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let same_answers = {if (group_answers.len() > 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day7.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day1.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day1.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 'outer: for num_reversed in reversed.iter() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day1.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | if (sum == 2020) [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/day1.rs:57:95 [INFO] [stdout] | [INFO] [stdout] 57 | println!("Part 1: {:?}, Part 2: {:?} \n", solve_part1().unwrap(), solve_part2().unwrap());; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day2.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day3.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day3.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day5.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day5.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day5.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if (length == 2) [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day6.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let same_answers = {if (group_answers.len() > 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/day7.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/day2.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let first = char_matches(pass, letter, min); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/day2.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let first = char_matches(pass, letter, min); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut pass = iter.next().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let (mut min, mut max) = iter.next().unwrap().split("-").next_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day2.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut pass = iter.next().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day3.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | let product = slopes.iter().fold(1, |mut p, i| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day3.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | let product = slopes.iter().fold(1, |mut p, i| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut key, _) = field.split(":").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | let (mut key, value) = field.split(":").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut key, _) = field.split(":").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day4.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | let (mut key, value) = field.split(":").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some((_, mut tmp)) = tmp.split_last() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some((_, mut tmp)) = tmp.split_last() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some((_, mut tmp)) = tmp.split_last() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some((_, mut tmp)) = tmp.split_last() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut part2_solution = solve_part2(&get_map_part2(&input), "shiny gold") -1; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accValid` should have a snake case name [INFO] [stdout] --> src/day2.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | let valid_passwords = &input.iter().fold(0, |mut accValid, i| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `acc_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accValid` should have a snake case name [INFO] [stdout] --> src/day2.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | let valid_passwords = &input.iter().fold(0, |mut accValid, i| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `acc_valid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `treeCount` should have a snake case name [INFO] [stdout] --> src/day3.rs:18:73 [INFO] [stdout] | [INFO] [stdout] 18 | let numOfTrees = &input.iter().step_by(y).skip(1).fold((0,0), |(mut treeCount, mut index), i| { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numOfTrees` should have a snake case name [INFO] [stdout] --> src/day3.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let numOfTrees = &input.iter().step_by(y).skip(1).fold((0,0), |(mut treeCount, mut index), i| { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `num_of_trees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `treeCount` should have a snake case name [INFO] [stdout] --> src/day3.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let treeCount = traverse(input, i.0, i.1) as i64; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currPass` should have a snake case name [INFO] [stdout] --> src/day4.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let currPass = i.split_whitespace().collect::>().iter().fold(HashSet::new(), |mut hash, field| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `curr_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validPassports` should have a snake case name [INFO] [stdout] --> src/day4.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let validPassports = input.split("\n\n").collect::>().iter().fold(0, |mut acc, i| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_passports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unitIndex` should have a snake case name [INFO] [stdout] --> src/day4.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let unitIndex = value.find("in"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `unit_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currPass` should have a snake case name [INFO] [stdout] --> src/day4.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let currPass = i.split_whitespace().collect::>().iter().fold(HashSet::new(), |mut hash, field| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `curr_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let (mut outer_bag, mut inner_bag) = line.split("contain").collect_tuple().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut part2_solution = solve_part2(&get_map_part2(&input), "shiny gold") -1; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accValid` should have a snake case name [INFO] [stdout] --> src/day2.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | let valid_passwords = &input.iter().fold(0, |mut accValid, i| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `acc_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validPassports` should have a snake case name [INFO] [stdout] --> src/day4.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let validPassports = input.split("\n\n").collect::>().iter().fold(0, |mut acc, i| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_passports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findOneDimension` should have a snake case name [INFO] [stdout] --> src/day5.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn findOneDimension(lowerChar: char, upperChar: char, min: usize, max: usize, commands: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_one_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lowerChar` should have a snake case name [INFO] [stdout] --> src/day5.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn findOneDimension(lowerChar: char, upperChar: char, min: usize, max: usize, commands: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `lower_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `upperChar` should have a snake case name [INFO] [stdout] --> src/day5.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn findOneDimension(lowerChar: char, upperChar: char, min: usize, max: usize, commands: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `upper_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currMin` should have a snake case name [INFO] [stdout] --> src/day5.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | commands.chars().fold((min, max), |(mut currMin, mut currMax), i| { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `curr_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currMax` should have a snake case name [INFO] [stdout] --> src/day5.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | commands.chars().fold((min, max), |(mut currMin, mut currMax), i| { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `curr_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculateSeatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn calculateSeatIds(input: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowNum` should have a snake case name [INFO] [stdout] --> src/day5.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let rowNum = findOneDimension('F', 'B', 0, 127, y.0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `row_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colNum` should have a snake case name [INFO] [stdout] --> src/day5.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let colNum = findOneDimension('L', 'R', 0, 7, y.1); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `col_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn solve_part1(seatIds: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn solve_part2(seatIds: &mut Vec) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut seatIds = calculateSeatIds(&input); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currGroup` should have a snake case name [INFO] [stdout] --> src/day6.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let currGroup = i.chars().fold(HashSet::new(), |mut hash, question| { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `curr_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accValid` should have a snake case name [INFO] [stdout] --> src/day2.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 65 | let valid_passwords = &input.iter().fold(0, |mut accValid, i| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `acc_valid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `treeCount` should have a snake case name [INFO] [stdout] --> src/day3.rs:18:73 [INFO] [stdout] | [INFO] [stdout] 18 | let numOfTrees = &input.iter().step_by(y).skip(1).fold((0,0), |(mut treeCount, mut index), i| { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numOfTrees` should have a snake case name [INFO] [stdout] --> src/day3.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let numOfTrees = &input.iter().step_by(y).skip(1).fold((0,0), |(mut treeCount, mut index), i| { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `num_of_trees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `treeCount` should have a snake case name [INFO] [stdout] --> src/day3.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let treeCount = traverse(input, i.0, i.1) as i64; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tree_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currPass` should have a snake case name [INFO] [stdout] --> src/day4.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let currPass = i.split_whitespace().collect::>().iter().fold(HashSet::new(), |mut hash, field| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `curr_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validPassports` should have a snake case name [INFO] [stdout] --> src/day4.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let validPassports = input.split("\n\n").collect::>().iter().fold(0, |mut acc, i| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_passports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unitIndex` should have a snake case name [INFO] [stdout] --> src/day4.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let unitIndex = value.find("in"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `unit_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currPass` should have a snake case name [INFO] [stdout] --> src/day4.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let currPass = i.split_whitespace().collect::>().iter().fold(HashSet::new(), |mut hash, field| { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `curr_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `validPassports` should have a snake case name [INFO] [stdout] --> src/day4.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let validPassports = input.split("\n\n").collect::>().iter().fold(0, |mut acc, i| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_passports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findOneDimension` should have a snake case name [INFO] [stdout] --> src/day5.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn findOneDimension(lowerChar: char, upperChar: char, min: usize, max: usize, commands: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_one_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lowerChar` should have a snake case name [INFO] [stdout] --> src/day5.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn findOneDimension(lowerChar: char, upperChar: char, min: usize, max: usize, commands: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `lower_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `upperChar` should have a snake case name [INFO] [stdout] --> src/day5.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn findOneDimension(lowerChar: char, upperChar: char, min: usize, max: usize, commands: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `upper_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currMin` should have a snake case name [INFO] [stdout] --> src/day5.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | commands.chars().fold((min, max), |(mut currMin, mut currMax), i| { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `curr_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currMax` should have a snake case name [INFO] [stdout] --> src/day5.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | commands.chars().fold((min, max), |(mut currMin, mut currMax), i| { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `curr_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculateSeatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn calculateSeatIds(input: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rowNum` should have a snake case name [INFO] [stdout] --> src/day5.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let rowNum = findOneDimension('F', 'B', 0, 127, y.0); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `row_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colNum` should have a snake case name [INFO] [stdout] --> src/day5.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let colNum = findOneDimension('L', 'R', 0, 7, y.1); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `col_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn solve_part1(seatIds: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn solve_part2(seatIds: &mut Vec) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `seatIds` should have a snake case name [INFO] [stdout] --> src/day5.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut seatIds = calculateSeatIds(&input); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `seat_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currGroup` should have a snake case name [INFO] [stdout] --> src/day6.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let currGroup = i.chars().fold(HashSet::new(), |mut hash, question| { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `curr_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.34s [INFO] running `Command { std: "docker" "inspect" "0d11a7dc5c1dc999bfac50aa52189018319de437ce8459626b0af87ca9514421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d11a7dc5c1dc999bfac50aa52189018319de437ce8459626b0af87ca9514421", kill_on_drop: false }` [INFO] [stdout] 0d11a7dc5c1dc999bfac50aa52189018319de437ce8459626b0af87ca9514421