[INFO] cloning repository https://github.com/kamilWyszynski1/AoC2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamilWyszynski1/AoC2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2FAoC2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2FAoC2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d22c6dfbac3ee83212e53917592658f6c9af6fbf [INFO] testing kamilWyszynski1/AoC2023 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2FAoC2023" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kamilWyszynski1/AoC2023 [INFO] finished tweaking git repo https://github.com/kamilWyszynski1/AoC2023 [INFO] tweaked toml for git repo https://github.com/kamilWyszynski1/AoC2023 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kamilWyszynski1/AoC2023 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kamilWyszynski1/AoC2023 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: rust [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.51 [INFO] [stderr] Downloaded thiserror-impl v1.0.51 [INFO] [stderr] Downloaded deprecate-until v0.1.1 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded pathfinding v4.6.0 [INFO] [stderr] Downloaded syn v2.0.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c97f83e4f076ded2213f55c9fb8d1f5b3761863ee7c69211f28a0fbb898a01e [INFO] running `Command { std: "docker" "start" "-a" "0c97f83e4f076ded2213f55c9fb8d1f5b3761863ee7c69211f28a0fbb898a01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c97f83e4f076ded2213f55c9fb8d1f5b3761863ee7c69211f28a0fbb898a01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c97f83e4f076ded2213f55c9fb8d1f5b3761863ee7c69211f28a0fbb898a01e", kill_on_drop: false }` [INFO] [stdout] 0c97f83e4f076ded2213f55c9fb8d1f5b3761863ee7c69211f28a0fbb898a01e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 646cb3e13688d6fd91d8cffab0c4c07633d5362f5b755b2bb5a44933cffbb366 [INFO] running `Command { std: "docker" "start" "-a" "646cb3e13688d6fd91d8cffab0c4c07633d5362f5b755b2bb5a44933cffbb366", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: rust [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Compiling pathfinding v4.6.0 [INFO] [stderr] Compiling aoc-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Edge` [INFO] [stdout] --> src/day10.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | use super::Edge; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day10::is_inside` [INFO] [stdout] --> src/day10.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | use crate::day10::is_inside; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day15::hash` [INFO] [stdout] --> src/day15.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use crate::day15::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Coordinate` [INFO] [stdout] --> src/day18.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use super::Coordinate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `polygon_area` and `shoelace_formula` [INFO] [stdout] --> src/day18.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | use crate::day18::{polygon_area, shoelace_formula}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day2.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | 'lines: for line in reader.lines() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/day2.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let (game, rest) = line.split_once(": ").context("could not split")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day6.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day7.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | ... .filter(|(k, v)| *v == 3) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day8.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut res = 0; [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: `res` [INFO] [stdout] --> src/day8.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | let cp = left.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let cpr = right.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | gen(&pattern.clone().replacen("?", ".", 1), generated); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | gen(&pattern.clone().replacen("?", "#", 1), generated); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.70s [INFO] running `Command { std: "docker" "inspect" "646cb3e13688d6fd91d8cffab0c4c07633d5362f5b755b2bb5a44933cffbb366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646cb3e13688d6fd91d8cffab0c4c07633d5362f5b755b2bb5a44933cffbb366", kill_on_drop: false }` [INFO] [stdout] 646cb3e13688d6fd91d8cffab0c4c07633d5362f5b755b2bb5a44933cffbb366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 074895382d4e640828b4dcebae4fb21843781f44db795616126a63424c3dbf8b [INFO] running `Command { std: "docker" "start" "-a" "074895382d4e640828b4dcebae4fb21843781f44db795616126a63424c3dbf8b", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: rust [INFO] [stderr] Compiling aoc-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `shoelace_formula` [INFO] [stdout] --> src/day18.rs:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | use crate::day18::{polygon_area, shoelace_formula}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/day2.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | 'lines: for line in reader.lines() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/day2.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let (game, rest) = line.split_once(": ").context("could not split")?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day6.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/day7.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | ... .filter(|(k, v)| *v == 3) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day8.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut res = 0; [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: `res` [INFO] [stdout] --> src/day8.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | let cp = left.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let cpr = right.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | gen(&pattern.clone().replacen("?", ".", 1), generated); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/day12.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | gen(&pattern.clone().replacen("?", "#", 1), generated); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "074895382d4e640828b4dcebae4fb21843781f44db795616126a63424c3dbf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074895382d4e640828b4dcebae4fb21843781f44db795616126a63424c3dbf8b", kill_on_drop: false }` [INFO] [stdout] 074895382d4e640828b4dcebae4fb21843781f44db795616126a63424c3dbf8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] faaaa61b4d3f9ea89c27c5de7f95c73fc34f59279e9eab7a0ad2379bdb60231e [INFO] running `Command { std: "docker" "start" "-a" "faaaa61b4d3f9ea89c27c5de7f95c73fc34f59279e9eab7a0ad2379bdb60231e", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: rust [INFO] [stderr] warning: unused import: `shoelace_formula` [INFO] [stderr] --> src/day18.rs:155:38 [INFO] [stderr] | [INFO] [stderr] 155 | use crate::day18::{polygon_area, shoelace_formula}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/day2.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | 'lines: for line in reader.lines() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game` [INFO] [stderr] --> src/day2.rs:71:14 [INFO] [stderr] | [INFO] [stderr] 71 | let (game, rest) = line.split_once(": ").context("could not split")?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/day6.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let res = 0; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/day7.rs:147:43 [INFO] [stderr] | [INFO] [stderr] 147 | ... .filter(|(k, v)| *v == 3) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/day8.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let mut res = 0; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/day8.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | let mut res = 0; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/day8.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | let res = 0; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/day12.rs:60:26 [INFO] [stderr] | [INFO] [stderr] 60 | let cp = left.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/day12.rs:61:28 [INFO] [stderr] | [INFO] [stderr] 61 | let cpr = right.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/day12.rs:114:17 [INFO] [stderr] | [INFO] [stderr] 114 | gen(&pattern.clone().replacen("?", ".", 1), generated); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/day12.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | gen(&pattern.clone().replacen("?", "#", 1), generated); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `aoc-2023` (bin "aoc-2023" test) generated 12 warnings (run `cargo fix --bin "aoc-2023" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aoc_2023-2ff73928eff31749) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test day10::tests::test_is_inside ... ok [INFO] [stdout] test day15::tests::test_hash ... ok [INFO] [stdout] test day7::tests::test_card_order ... ok [INFO] [stdout] test day7::tests::test_type_order ... ok [INFO] [stdout] test day18::tests::test_polygon_area ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "faaaa61b4d3f9ea89c27c5de7f95c73fc34f59279e9eab7a0ad2379bdb60231e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faaaa61b4d3f9ea89c27c5de7f95c73fc34f59279e9eab7a0ad2379bdb60231e", kill_on_drop: false }` [INFO] [stdout] faaaa61b4d3f9ea89c27c5de7f95c73fc34f59279e9eab7a0ad2379bdb60231e