[INFO] cloning repository https://github.com/joejhansen/AoC_2023_solutions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joejhansen/AoC_2023_solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoejhansen%2FAoC_2023_solutions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoejhansen%2FAoC_2023_solutions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af3cf35b5432d09f7e1c08ffc09062a9728fc709 [INFO] checking joejhansen/AoC_2023_solutions against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoejhansen%2FAoC_2023_solutions" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joejhansen/AoC_2023_solutions on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joejhansen/AoC_2023_solutions [INFO] finished tweaking git repo https://github.com/joejhansen/AoC_2023_solutions [INFO] tweaked toml for git repo https://github.com/joejhansen/AoC_2023_solutions written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joejhansen/AoC_2023_solutions 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9d3c2b96106be03a05867c48cce6054f5a8c037454188f473b66b2584b182e1 [INFO] running `Command { std: "docker" "start" "-a" "e9d3c2b96106be03a05867c48cce6054f5a8c037454188f473b66b2584b182e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9d3c2b96106be03a05867c48cce6054f5a8c037454188f473b66b2584b182e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d3c2b96106be03a05867c48cce6054f5a8c037454188f473b66b2584b182e1", kill_on_drop: false }` [INFO] [stdout] e9d3c2b96106be03a05867c48cce6054f5a8c037454188f473b66b2584b182e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c594c35c95565ef62822ba6e6b5c8d72a729be4fcbec98318ea4e1ab7ebc30 [INFO] running `Command { std: "docker" "start" "-a" "40c594c35c95565ef62822ba6e6b5c8d72a729be4fcbec98318ea4e1ab7ebc30", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_7.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day_7.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand_type` [INFO] [stdout] --> src/day_7.rs:1084:25 [INFO] [stdout] | [INFO] [stdout] 1084 | let mut hand_type: HandTypes; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hand_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand_type` [INFO] [stdout] --> src/day_7.rs:1084:25 [INFO] [stdout] | [INFO] [stdout] 1084 | let mut hand_type: HandTypes; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hand_type` [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/day_7.rs:1104:18 [INFO] [stdout] | [INFO] [stdout] 1104 | let (mut hand, mut score_value): (&str, &str) = ( [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/day_7.rs:1104:18 [INFO] [stdout] | [INFO] [stdout] 1104 | let (mut hand, mut score_value): (&str, &str) = ( [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/day_7.rs:1104:28 [INFO] [stdout] | [INFO] [stdout] 1104 | let (mut hand, mut score_value): (&str, &str) = ( [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/day_7.rs:1104:28 [INFO] [stdout] | [INFO] [stdout] 1104 | let (mut hand, mut score_value): (&str, &str) = ( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand_type` [INFO] [stdout] --> src/day_7.rs:1202:25 [INFO] [stdout] | [INFO] [stdout] 1202 | let mut hand_type: HandTypes; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hand_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand_type` [INFO] [stdout] --> src/day_7.rs:1202:25 [INFO] [stdout] | [INFO] [stdout] 1202 | let mut hand_type: HandTypes; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hand_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_7.rs:1222:18 [INFO] [stdout] | [INFO] [stdout] 1222 | let (mut hand, mut score_value): (&str, &str) = ( [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/day_7.rs:1222:18 [INFO] [stdout] | [INFO] [stdout] 1222 | let (mut hand, mut score_value): (&str, &str) = ( [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/day_7.rs:1222:28 [INFO] [stdout] | [INFO] [stdout] 1222 | let (mut hand, mut score_value): (&str, &str) = ( [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/day_7.rs:1222:28 [INFO] [stdout] | [INFO] [stdout] 1222 | let (mut hand, mut score_value): (&str, &str) = ( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_values` [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let test_values = day_7::test_values(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_values` [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let test_values = day_7::test_values(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `card_to_int` is never used [INFO] [stdout] --> src/day_7.rs:1158:12 [INFO] [stdout] | [INFO] [stdout] 1158 | pub fn card_to_int(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hand_rank` is never used [INFO] [stdout] --> src/day_7.rs:1176:12 [INFO] [stdout] | [INFO] [stdout] 1176 | pub fn get_hand_rank(hand: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `p2` is never used [INFO] [stdout] --> src/day_7.rs:1219:12 [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn p2(values: &str) -> i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `card_to_int` is never used [INFO] [stdout] --> src/day_7.rs:1158:12 [INFO] [stdout] | [INFO] [stdout] 1158 | pub fn card_to_int(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hand_rank` is never used [INFO] [stdout] --> src/day_7.rs:1176:12 [INFO] [stdout] | [INFO] [stdout] 1176 | pub fn get_hand_rank(hand: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `p2` is never used [INFO] [stdout] --> src/day_7.rs:1219:12 [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn p2(values: &str) -> i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "40c594c35c95565ef62822ba6e6b5c8d72a729be4fcbec98318ea4e1ab7ebc30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c594c35c95565ef62822ba6e6b5c8d72a729be4fcbec98318ea4e1ab7ebc30", kill_on_drop: false }` [INFO] [stdout] 40c594c35c95565ef62822ba6e6b5c8d72a729be4fcbec98318ea4e1ab7ebc30