[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [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 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 751763fe650f9bc7941a6f0d079025af2f970c5fa7e4226f15648ab4d4c63061 [INFO] running `Command { std: "docker" "start" "-a" "751763fe650f9bc7941a6f0d079025af2f970c5fa7e4226f15648ab4d4c63061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "751763fe650f9bc7941a6f0d079025af2f970c5fa7e4226f15648ab4d4c63061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751763fe650f9bc7941a6f0d079025af2f970c5fa7e4226f15648ab4d4c63061", kill_on_drop: false }` [INFO] [stdout] 751763fe650f9bc7941a6f0d079025af2f970c5fa7e4226f15648ab4d4c63061 [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 537b520616367889fd853a3b89c6bb9e5ea70b3e55292b6a86e17f5ff5b9fe5d [INFO] running `Command { std: "docker" "start" "-a" "537b520616367889fd853a3b89c6bb9e5ea70b3e55292b6a86e17f5ff5b9fe5d", 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: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: 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: 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: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: 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: 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: 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: 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.12s [INFO] running `Command { std: "docker" "inspect" "537b520616367889fd853a3b89c6bb9e5ea70b3e55292b6a86e17f5ff5b9fe5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537b520616367889fd853a3b89c6bb9e5ea70b3e55292b6a86e17f5ff5b9fe5d", kill_on_drop: false }` [INFO] [stdout] 537b520616367889fd853a3b89c6bb9e5ea70b3e55292b6a86e17f5ff5b9fe5d