[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] checking kamilWyszynski1/AoC2023 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2FAoC2023" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamilWyszynski1/AoC2023 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: rust [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deprecate-until v0.1.1 [INFO] [stderr] Downloaded pathfinding v4.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c65c24c4b3fb78a004a330a8f43b7dbfbf7fa0890d4399395f4ea5b6299610e7 [INFO] running `Command { std: "docker" "start" "-a" "c65c24c4b3fb78a004a330a8f43b7dbfbf7fa0890d4399395f4ea5b6299610e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65c24c4b3fb78a004a330a8f43b7dbfbf7fa0890d4399395f4ea5b6299610e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65c24c4b3fb78a004a330a8f43b7dbfbf7fa0890d4399395f4ea5b6299610e7", kill_on_drop: false }` [INFO] [stdout] c65c24c4b3fb78a004a330a8f43b7dbfbf7fa0890d4399395f4ea5b6299610e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d9e202ce4d9742bb216e03079ee8a33d07ec2599f9f181ea764523e7e591b41 [INFO] running `Command { std: "docker" "start" "-a" "6d9e202ce4d9742bb216e03079ee8a33d07ec2599f9f181ea764523e7e591b41", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: rust [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking pathfinding v4.6.0 [INFO] [stderr] Checking 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`, `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 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: `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: `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: `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: 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: 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] [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] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "6d9e202ce4d9742bb216e03079ee8a33d07ec2599f9f181ea764523e7e591b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9e202ce4d9742bb216e03079ee8a33d07ec2599f9f181ea764523e7e591b41", kill_on_drop: false }` [INFO] [stdout] 6d9e202ce4d9742bb216e03079ee8a33d07ec2599f9f181ea764523e7e591b41 [INFO] checking kamilWyszynski1/AoC2023 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkamilWyszynski1%2FAoC2023" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamilWyszynski1/AoC2023 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: rust [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6915f52bf1c072bf9224944a57510556a23c85158d97dbd752c5b38342fb482a [INFO] running `Command { std: "docker" "start" "-a" "6915f52bf1c072bf9224944a57510556a23c85158d97dbd752c5b38342fb482a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6915f52bf1c072bf9224944a57510556a23c85158d97dbd752c5b38342fb482a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6915f52bf1c072bf9224944a57510556a23c85158d97dbd752c5b38342fb482a", kill_on_drop: false }` [INFO] [stdout] 6915f52bf1c072bf9224944a57510556a23c85158d97dbd752c5b38342fb482a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fcf864a7adb56f55b0454782775c6215b93e246ce4a3f0590f81479d2c687c5 [INFO] running `Command { std: "docker" "start" "-a" "1fcf864a7adb56f55b0454782775c6215b93e246ce4a3f0590f81479d2c687c5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] warning: unused manifest key: rust [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking pathfinding v4.6.0 [INFO] [stderr] Checking aoc-2023 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/day15.rs (1 fix) [INFO] [stderr] Fixed src/day18.rs (2 fixes) [INFO] [stderr] Fixed src/day8.rs (1 fix) [INFO] [stderr] Fixed src/day12.rs (4 fixes) [INFO] [stderr] Fixed src/day10.rs (2 fixes) [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:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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: `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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Edge` in this scope [INFO] [stdout] --> src/day10.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | Edge { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::Edge; [INFO] [stdout] | [INFO] [stdout] 402 + use pathfinding::prelude::Edge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_inside` in this scope [INFO] [stdout] --> src/day10.rs:454:20 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(is_inside(&edges, (2., 2.)), false) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 402 + use crate::day10::is_inside; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/day15.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | println!("{}", hash("cm")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 96 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use crate::day15::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/day15.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(0, hash("rn")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 96 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use crate::day15::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/day15.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(30, hash("rn=1")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 96 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use crate::day15::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/day15.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(253, hash("cm-")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 96 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use crate::day15::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/day15.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(97, hash("qp=3")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 96 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use crate::day15::hash; [INFO] [stdout] | [INFO] [stdout] 96 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/day18.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let cords: Vec = vec![(0, 0), (0, 6), (2, 6), (2, 0)] [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 157 + use crate::day18::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `polygon_area` in this scope [INFO] [stdout] --> src/day18.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(21., polygon_area(&cords)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 157 + use crate::day18::polygon_area; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Coordinate` in this scope [INFO] [stdout] --> src/day18.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | let cords: Vec = vec![ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 157 + use crate::day18::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `polygon_area` in this scope [INFO] [stdout] --> src/day18.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(62., polygon_area(&cords)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 157 + use crate::day18::polygon_area; [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] [stderr] error: could not compile `aoc-2023` (bin "aoc-2023" test) due to 19 previous errors; 6 warnings emitted [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/day8.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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: `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] error: aborting due to 18 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1fcf864a7adb56f55b0454782775c6215b93e246ce4a3f0590f81479d2c687c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fcf864a7adb56f55b0454782775c6215b93e246ce4a3f0590f81479d2c687c5", kill_on_drop: false }` [INFO] [stdout] 1fcf864a7adb56f55b0454782775c6215b93e246ce4a3f0590f81479d2c687c5