[INFO] cloning repository https://github.com/Kourin1996/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/Kourin1996/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKourin1996%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKourin1996%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8357db2710eba91175ba6e8408ad3cb30cb39b82 [INFO] checking Kourin1996/advent-of-code-2023 against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKourin1996%2Fadvent-of-code-2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kourin1996/advent-of-code-2023 on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kourin1996/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/Kourin1996/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/Kourin1996/advent-of-code-2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kourin1996/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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 648b4a14e5a6f267ab888dbc4756aae444018dbf69a835eee6be36770bc2dbbe [INFO] running `Command { std: "docker" "start" "-a" "648b4a14e5a6f267ab888dbc4756aae444018dbf69a835eee6be36770bc2dbbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "648b4a14e5a6f267ab888dbc4756aae444018dbf69a835eee6be36770bc2dbbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648b4a14e5a6f267ab888dbc4756aae444018dbf69a835eee6be36770bc2dbbe", kill_on_drop: false }` [INFO] [stdout] 648b4a14e5a6f267ab888dbc4756aae444018dbf69a835eee6be36770bc2dbbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 220c3e414b4c335950f7440a0430231f7525a6ccc2a36275689733110d6bd2f0 [INFO] running `Command { std: "docker" "start" "-a" "220c3e414b4c335950f7440a0430231f7525a6ccc2a36275689733110d6bd2f0", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/day3/part2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/day3/part2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_adjacent_to_symbol` [INFO] [stdout] --> src/day3/part2.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let mut is_adjacent_to_symbol = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_adjacent_to_symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/day3/part2.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | for (key, value) in numbers.into_iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day3/part2.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut is_adjacent_to_symbol = 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: function `solve` is never used [INFO] [stdout] --> src/day1/part1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_two_digits` is never used [INFO] [stdout] --> src/day1/part1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn extract_two_digits(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> src/day1/part1.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | static INPUT: &str = "2qlljdqcbeight [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day1/part2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_two_digits` is never used [INFO] [stdout] --> src/day1/part2.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn extract_two_digits(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day1/part2.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse(input: &str) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next` is never used [INFO] [stdout] --> src/day1/part2.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn next(input: &str) -> (Option, &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> src/day1/part2.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | static INPUT: &str = "2qlljdqcbeight [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxRedCubes` is never used [INFO] [stdout] --> src/day2/part1.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MaxRedCubes: u32 = 12; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxGreenCubes` is never used [INFO] [stdout] --> src/day2/part1.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MaxGreenCubes: u32 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxBlueCubes` is never used [INFO] [stdout] --> src/day2/part1.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MaxBlueCubes: u32 = 14; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day2/part1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_game` is never used [INFO] [stdout] --> src/day2/part1.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn solve_game(input: &str) -> (u32, bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_sub_game` is never used [INFO] [stdout] --> src/day2/part1.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn solve_sub_game(input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Input` is never used [INFO] [stdout] --> src/day2/part1.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | const Input: &str = "Game 1: 7 red, 14 blue; 2 blue, 3 red, 3 green; 4 green, 12 blue, 15 red; 3 green, 12 blue, 3 red; 11 red, 2 green [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day2/part2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_game` is never used [INFO] [stdout] --> src/day2/part2.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve_game(input: &str) -> (u32, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_sub_game` is never used [INFO] [stdout] --> src/day2/part2.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn solve_sub_game(input: &str) -> (u32, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day2/part2.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | const INPUT: &str = "Game 1: 7 red, 14 blue; 2 blue, 3 red, 3 green; 4 green, 12 blue, 15 red; 3 green, 12 blue, 3 red; 11 red, 2 green [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day3/part1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/day3/part1.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_symbol(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_total` is never used [INFO] [stdout] --> src/day3/part1.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn calculate_total(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day3/part1.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | const INPUT: &str = "..975..95..................717..........................................747............................................ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day3/part2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/day3/part2.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_symbol(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_total` is never used [INFO] [stdout] --> src/day3/part2.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn calculate_total(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day3/part2.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const INPUT: &str = "..975..95..................717..........................................747............................................ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day4/part1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_all_cards` is never used [INFO] [stdout] --> src/day4/part1.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve_all_cards(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_card` is never used [INFO] [stdout] --> src/day4/part1.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn solve_card(line: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day4/part1.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | const INPUT: &str = "Card 1: 82 41 56 54 18 62 29 55 34 20 | 37 14 10 80 58 11 65 96 90 8 59 32 53 21 98 83 17 9 87 25 71 77 70 73 24 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxRedCubes` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MaxRedCubes: u32 = 12; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_RED_CUBES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxGreenCubes` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MaxGreenCubes: u32 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_GREEN_CUBES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxBlueCubes` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MaxBlueCubes: u32 = 14; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_BLUE_CUBES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Input` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | const Input: &str = "Game 1: 7 red, 14 blue; 2 blue, 3 red, 3 green; 4 green, 12 blue, 15 red; 3 green, 12 blue, 3 red; 11 red, 2 green [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_adjacent_to_symbol` [INFO] [stdout] --> src/day3/part2.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let mut is_adjacent_to_symbol = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_adjacent_to_symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/day3/part2.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | for (key, value) in numbers.into_iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day3/part2.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut is_adjacent_to_symbol = 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: function `solve` is never used [INFO] [stdout] --> src/day1/part1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> src/day1/part1.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | static INPUT: &str = "2qlljdqcbeight [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day1/part2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INPUT` is never used [INFO] [stdout] --> src/day1/part2.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | static INPUT: &str = "2qlljdqcbeight [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day2/part1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Input` is never used [INFO] [stdout] --> src/day2/part1.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | const Input: &str = "Game 1: 7 red, 14 blue; 2 blue, 3 red, 3 green; 4 green, 12 blue, 15 red; 3 green, 12 blue, 3 red; 11 red, 2 green [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day2/part2.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day2/part2.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | const INPUT: &str = "Game 1: 7 red, 14 blue; 2 blue, 3 red, 3 green; 4 green, 12 blue, 15 red; 3 green, 12 blue, 3 red; 11 red, 2 green [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day3/part1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day3/part1.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | const INPUT: &str = "..975..95..................717..........................................747............................................ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day3/part2.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_symbol` is never used [INFO] [stdout] --> src/day3/part2.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_symbol(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day3/part2.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const INPUT: &str = "..975..95..................717..........................................747............................................ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day4/part1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_all_cards` is never used [INFO] [stdout] --> src/day4/part1.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn solve_all_cards(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/day4/part1.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | const INPUT: &str = "Card 1: 82 41 56 54 18 62 29 55 34 20 | 37 14 10 80 58 11 65 96 90 8 59 32 53 21 98 83 17 9 87 25 71 77 70 73 24 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxRedCubes` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MaxRedCubes: u32 = 12; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_RED_CUBES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxGreenCubes` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MaxGreenCubes: u32 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_GREEN_CUBES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxBlueCubes` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MaxBlueCubes: u32 = 14; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_BLUE_CUBES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Input` should have an upper case name [INFO] [stdout] --> src/day2/part1.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | const Input: &str = "Game 1: 7 red, 14 blue; 2 blue, 3 red, 3 green; 4 green, 12 blue, 15 red; 3 green, 12 blue, 3 red; 11 red, 2 green [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "220c3e414b4c335950f7440a0430231f7525a6ccc2a36275689733110d6bd2f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220c3e414b4c335950f7440a0430231f7525a6ccc2a36275689733110d6bd2f0", kill_on_drop: false }` [INFO] [stdout] 220c3e414b4c335950f7440a0430231f7525a6ccc2a36275689733110d6bd2f0