[INFO] cloning repository https://github.com/warped-brain/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/warped-brain/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarped-brain%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarped-brain%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a119ebe6123a7f55f49edcbe0d8189bda9e0509 [INFO] checking warped-brain/advent-of-code-2023 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarped-brain%2Fadvent-of-code-2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/warped-brain/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/warped-brain/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/warped-brain/advent-of-code-2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/warped-brain/advent-of-code-2023 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/warped-brain/advent-of-code-2023 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c220795ca4765a26392950fb56a4fdf2adfdf1ebebe68873372c71025b2ebdd [INFO] running `Command { std: "docker" "start" "-a" "3c220795ca4765a26392950fb56a4fdf2adfdf1ebebe68873372c71025b2ebdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c220795ca4765a26392950fb56a4fdf2adfdf1ebebe68873372c71025b2ebdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c220795ca4765a26392950fb56a4fdf2adfdf1ebebe68873372c71025b2ebdd", kill_on_drop: false }` [INFO] [stdout] 3c220795ca4765a26392950fb56a4fdf2adfdf1ebebe68873372c71025b2ebdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 490847ac66ed9fdf911cd9ba711dee0d5b1d7f5831ec4accf96aff3038141bf9 [INFO] running `Command { std: "docker" "start" "-a" "490847ac66ed9fdf911cd9ba711dee0d5b1d7f5831ec4accf96aff3038141bf9", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent_of_code v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `game` should have an upper camel case name [INFO] [stdout] --> src/bin/02.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct game { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/04.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] 38 + if winning_nums[i] == my_nums[j] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/04.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] 99 + if winning_nums[i] == my_nums[j] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `range_vec` should have an upper camel case name [INFO] [stdout] --> src/bin/05.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct range_vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `RangeVec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/04.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] 38 + if winning_nums[i] == my_nums[j] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/04.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if (winning_nums[i] == my_nums[j]) { [INFO] [stdout] 99 + if winning_nums[i] == my_nums[j] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `map_table` should have an upper camel case name [INFO] [stdout] --> src/bin/05.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct map_table { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MapTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `range_vec` should have an upper camel case name [INFO] [stdout] --> src/bin/05.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct range_vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `RangeVec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `map_table` should have an upper camel case name [INFO] [stdout] --> src/bin/05.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct map_table { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MapTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/bin/07.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/bin/06.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut ans: u64; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [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/bin/06.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut multval = calc_n_ways_bs(time_val, dist_val); [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] error[E0425]: cannot find value `card_map` in this scope [INFO] [stdout] --> src/bin/07.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | cards[i] = card_map[&ch].clone(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `card_map2` in this scope [INFO] [stdout] --> src/bin/07.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | cards[i] = card_map2[&ch].clone(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `game` should have an upper camel case name [INFO] [stdout] --> src/bin/02.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct game { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand_type` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum hand_type { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HandType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | none, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `high_card` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | high_card, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HighCard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `one_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | one_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OnePair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | two_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TwoPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | three_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreeOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `full_house` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | full_house, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FullHouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | four_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | five_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiveOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/07.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] 39 + .and_modify(|e| *e = *e + 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `card_type` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum card_type { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CardType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | two, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | three, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | four, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | five, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `six` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | six, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `seven` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | seven, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Seven` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `eight` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | eight, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Eight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nine` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | nine, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct hand { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/07.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] 189 + .and_modify(|e| *e = *e + 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand_type2` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:209:6 [INFO] [stdout] | [INFO] [stdout] 209 | enum hand_type2 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HandType2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | none, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `high_card` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | high_card, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HighCard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `one_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | one_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OnePair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | two_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TwoPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | three_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreeOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `full_house` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | full_house, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FullHouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | four_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | five_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiveOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/07.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] 226 + .and_modify(|e| *e = *e + 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `card_type2` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:260:6 [INFO] [stdout] | [INFO] [stdout] 260 | enum card_type2 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CardType2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | two, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | three, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | four, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | five, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `six` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | six, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `seven` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | seven, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Seven` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `eight` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | eight, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Eight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nine` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | nine, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand2` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | struct hand2 { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Hand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/bin/07.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `game` is never constructed [INFO] [stdout] --> src/bin/02.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct game { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `game` is never constructed [INFO] [stdout] --> src/bin/02.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct game { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bin/05.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | &self.mappings.push(mapping); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = &self.mappings.push(mapping); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/bin/06.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut ans: u64; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ans` [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/bin/06.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut multval = calc_n_ways_bs(time_val, dist_val); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "07" test) due to 3 previous errors; 47 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `card_map` in this scope [INFO] [stdout] --> src/bin/07.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | cards[i] = card_map[&ch].clone(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `card_map2` in this scope [INFO] [stdout] --> src/bin/07.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | cards[i] = card_map2[&ch].clone(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand_type` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum hand_type { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HandType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | none, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `high_card` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | high_card, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HighCard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `one_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | one_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OnePair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | two_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TwoPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | three_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreeOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `full_house` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | full_house, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FullHouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | four_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | five_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiveOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/07.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] 39 + .and_modify(|e| *e = *e + 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `card_type` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum card_type { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CardType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | two, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | three, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | four, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | five, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `six` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | six, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `seven` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | seven, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Seven` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `eight` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | eight, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Eight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nine` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | nine, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | struct hand { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/07.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] 189 + .and_modify(|e| *e = *e + 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand_type2` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:209:6 [INFO] [stdout] | [INFO] [stdout] 209 | enum hand_type2 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HandType2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bin/05.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | &self.mappings.push(mapping); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = &self.mappings.push(mapping); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `none` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | none, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `high_card` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | high_card, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HighCard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `one_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | one_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OnePair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two_pair` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | two_pair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TwoPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | three_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreeOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `full_house` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | full_house, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FullHouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | four_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five_of_kind` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | five_of_kind, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiveOfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/07.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - .and_modify(|e| *e = (*e + 1)) [INFO] [stdout] 226 + .and_modify(|e| *e = *e + 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `card_type2` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:260:6 [INFO] [stdout] | [INFO] [stdout] 260 | enum card_type2 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CardType2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `two` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | two, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `three` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | three, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `four` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | four, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `five` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | five, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Five` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `six` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | six, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `seven` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | seven, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Seven` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `eight` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | eight, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Eight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nine` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | nine, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Nine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hand2` should have an upper camel case name [INFO] [stdout] --> src/bin/07.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | struct hand2 { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Hand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/07.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | let (c, count) = hash_vec_iter.next().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "07") due to 3 previous errors; 47 warnings emitted [INFO] running `Command { std: "docker" "inspect" "490847ac66ed9fdf911cd9ba711dee0d5b1d7f5831ec4accf96aff3038141bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "490847ac66ed9fdf911cd9ba711dee0d5b1d7f5831ec4accf96aff3038141bf9", kill_on_drop: false }` [INFO] [stdout] 490847ac66ed9fdf911cd9ba711dee0d5b1d7f5831ec4accf96aff3038141bf9