[INFO] cloning repository https://github.com/mihaizaurus/AdventOfCode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mihaizaurus/AdventOfCode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmihaizaurus%2FAdventOfCode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmihaizaurus%2FAdventOfCode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a363f1c9dd534d29728174beb2603a99b865d819 [INFO] building mihaizaurus/AdventOfCode2024 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmihaizaurus%2FAdventOfCode2024" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mihaizaurus/AdventOfCode2024 [INFO] finished tweaking git repo https://github.com/mihaizaurus/AdventOfCode2024 [INFO] tweaked toml for git repo https://github.com/mihaizaurus/AdventOfCode2024 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mihaizaurus/AdventOfCode2024 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mihaizaurus/AdventOfCode2024 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-link v0.1.0 [INFO] [stderr] Downloaded edit-distance v2.1.3 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded time-macros v0.2.20 [INFO] [stderr] Downloaded lexiclean v0.0.1 [INFO] [stderr] Downloaded strum v0.27.1 [INFO] [stderr] Downloaded roff v0.2.2 [INFO] [stderr] Downloaded clap_mangen v0.2.26 [INFO] [stderr] Downloaded derive-where v1.2.7 [INFO] [stderr] Downloaded clap_complete v4.5.46 [INFO] [stderr] Downloaded snafu v0.8.5 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded reqwest v0.12.14 [INFO] [stderr] Downloaded time v0.3.39 [INFO] [stderr] Downloaded h2 v0.4.8 [INFO] [stderr] Downloaded blake3 v1.6.1 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] [stderr] Downloaded strum_macros v0.27.1 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded is_executable v1.0.4 [INFO] [stderr] Downloaded tempfile v3.19.0 [INFO] [stderr] Downloaded time-core v0.1.3 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded just v1.40.0 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded cookie_store v0.21.1 [INFO] [stderr] Downloaded shellexpand v3.1.0 [INFO] [stderr] Downloaded snafu-derive v0.8.5 [INFO] [stderr] Downloaded target v2.1.0 [INFO] [stderr] Downloaded windows-result v0.3.1 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cb6e0175f2f11ed29c389a874902af3baa6f2e5c2188edcce6d3892ffc3484a [INFO] running `Command { std: "docker" "start" "-a" "0cb6e0175f2f11ed29c389a874902af3baa6f2e5c2188edcce6d3892ffc3484a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb6e0175f2f11ed29c389a874902af3baa6f2e5c2188edcce6d3892ffc3484a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb6e0175f2f11ed29c389a874902af3baa6f2e5c2188edcce6d3892ffc3484a", kill_on_drop: false }` [INFO] [stdout] 0cb6e0175f2f11ed29c389a874902af3baa6f2e5c2188edcce6d3892ffc3484a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c9bf1911ac79b12510d0c28b1d756758bd2cdde688e32f29d5ee2f0296b49c2 [INFO] running `Command { std: "docker" "start" "-a" "5c9bf1911ac79b12510d0c28b1d756758bd2cdde688e32f29d5ee2f0296b49c2", kill_on_drop: false }` [INFO] [stderr] warning: advent_of_code_2024 v0.15.2 (/opt/rustwide/workdir/advent_of_code_2024) ignoring invalid dependency `advent_of_code_inputs` which is missing a lib target [INFO] [stderr] warning: advent_of_code_2024 v0.15.2 (/opt/rustwide/workdir/advent_of_code_2024) ignoring invalid dependency `advent_of_code_results` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling roff v0.2.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling target v2.1.0 [INFO] [stderr] Compiling lexiclean v0.0.1 [INFO] [stderr] Compiling edit-distance v2.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling is_executable v1.0.4 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling blake3 v1.6.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling advent_of_code_common v0.1.0 (/opt/rustwide/workdir/advent_of_code_common) [INFO] [stdout] warning: function `is_in_bounds` is never used [INFO] [stdout] --> advent_of_code_common/src/utils.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn is_in_bounds(neighbor: Position, map: SimpleGrid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling advent_of_code_results v0.1.0 (/opt/rustwide/workdir/advent_of_code_results) [INFO] [stderr] Compiling advent_of_code_inputs v0.1.0 (/opt/rustwide/workdir/advent_of_code_inputs) [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling clap_complete v4.5.46 [INFO] [stderr] Compiling clap_mangen v0.2.26 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling just v1.40.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling reqwest v0.12.14 [INFO] [stderr] Compiling advent_of_code_2024 v0.15.2 (/opt/rustwide/workdir/advent_of_code_2024) [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day6/mod.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn result(input_path: &str, output_path: &str) -> io::Result<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut raw_machines: Vec> = input.split(|x| x.as_str().is_empty()).map(|x| x.to_vec()).collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `act` is assigned to, but never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut act = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_act` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `obstacle_ahead` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | obstacle_ahead = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `act` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | act = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `act` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | act = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_result` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day6/mod.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn write_result(output_path: &str, map: &Grid, visited: &HashSet<(Position, Direction)>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_moves_from` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part1.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_moves_from(v1: isize, v2: isize, v_target: usize, is_b: bool) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_positive_bezout` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part1.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn find_positive_bezout(v1: isize, v2: isize, target: isize) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_moves_from` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part2.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_moves_from(v1: isize, v2: isize, v_target: usize, is_b: bool) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_positive_bezout` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part2.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn find_positive_bezout(v1: isize, v2: isize, target: isize) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_answer` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day14/mod.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn write_answer(output_path: &str, answer:PuzzleAnswer) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Crate` is never constructed [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Crate { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_move` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn can_move(warehouse_map: &SimpleGrid, crate_to_check: Crate, direction: Direction) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent_of_code_scripts v0.1.0 (/opt/rustwide/workdir/advent_of_code_scripts) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "5c9bf1911ac79b12510d0c28b1d756758bd2cdde688e32f29d5ee2f0296b49c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c9bf1911ac79b12510d0c28b1d756758bd2cdde688e32f29d5ee2f0296b49c2", kill_on_drop: false }` [INFO] [stdout] 5c9bf1911ac79b12510d0c28b1d756758bd2cdde688e32f29d5ee2f0296b49c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb2d479ac7d593a8ae471323ef7c0ed7a76e0310ebbdc46c3fbe9b0845477ba0 [INFO] running `Command { std: "docker" "start" "-a" "eb2d479ac7d593a8ae471323ef7c0ed7a76e0310ebbdc46c3fbe9b0845477ba0", kill_on_drop: false }` [INFO] [stderr] warning: advent_of_code_2024 v0.15.2 (/opt/rustwide/workdir/advent_of_code_2024) ignoring invalid dependency `advent_of_code_inputs` which is missing a lib target [INFO] [stderr] warning: advent_of_code_2024 v0.15.2 (/opt/rustwide/workdir/advent_of_code_2024) ignoring invalid dependency `advent_of_code_results` which is missing a lib target [INFO] [stdout] warning: function `is_in_bounds` is never used [INFO] [stdout] --> advent_of_code_common/src/utils.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn is_in_bounds(neighbor: Position, map: SimpleGrid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day6/mod.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn result(input_path: &str, output_path: &str) -> io::Result<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut raw_machines: Vec> = input.split(|x| x.as_str().is_empty()).map(|x| x.to_vec()).collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `act` is assigned to, but never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut act = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_act` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `obstacle_ahead` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | obstacle_ahead = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `act` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | act = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `act` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | act = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_result` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day6/mod.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn write_result(output_path: &str, map: &Grid, visited: &HashSet<(Position, Direction)>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_moves_from` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part1.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_moves_from(v1: isize, v2: isize, v_target: usize, is_b: bool) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_positive_bezout` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part1.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn find_positive_bezout(v1: isize, v2: isize, target: isize) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_moves_from` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part2.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_moves_from(v1: isize, v2: isize, v_target: usize, is_b: bool) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_positive_bezout` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part2.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn find_positive_bezout(v1: isize, v2: isize, target: isize) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_answer` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day14/mod.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn write_answer(output_path: &str, answer:PuzzleAnswer) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Crate` is never constructed [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Crate { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_move` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn can_move(warehouse_map: &SimpleGrid, crate_to_check: Crate, direction: Direction) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent_of_code_2024 v0.15.2 (/opt/rustwide/workdir/advent_of_code_2024) [INFO] [stderr] Compiling advent_of_code_scripts v0.1.0 (/opt/rustwide/workdir/advent_of_code_scripts) [INFO] [stderr] Compiling advent_of_code_common v0.1.0 (/opt/rustwide/workdir/advent_of_code_common) [INFO] [stderr] Compiling advent_of_code_results v0.1.0 (/opt/rustwide/workdir/advent_of_code_results) [INFO] [stdout] warning: unused imports: `DIAGONALS`, `DIRECTIONS`, `Edge`, `Machine`, `PuzzleAnswer`, `Robot`, and `SimpleGrid` [INFO] [stdout] --> advent_of_code_common/tests/types_test.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use advent_of_code_common::types::{Position, Direction, Edge, PuzzleAnswer, SimpleGrid, DIRECTIONS, DIAGONALS, Machine, Robot}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> advent_of_code_common/tests/types_test.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const C: isize = 95; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D` is never used [INFO] [stdout] --> advent_of_code_common/tests/types_test.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const D: isize = 234; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_direction_to_direction` is never used [INFO] [stdout] --> advent_of_code_common/tests/types_test.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn add_direction_to_direction() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent_of_code_inputs v0.1.0 (/opt/rustwide/workdir/advent_of_code_inputs) [INFO] [stdout] warning: function `is_in_bounds` is never used [INFO] [stdout] --> advent_of_code_common/src/utils.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn is_in_bounds(neighbor: Position, map: SimpleGrid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day6/mod.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn result(input_path: &str, output_path: &str) -> io::Result<(isize, isize)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut raw_machines: Vec> = input.split(|x| x.as_str().is_empty()).map(|x| x.to_vec()).collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `act` is assigned to, but never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut act = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_act` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `obstacle_ahead` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | obstacle_ahead = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `act` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | act = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `act` is never read [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | act = true; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_result` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day6/mod.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn write_result(output_path: &str, map: &Grid, visited: &HashSet<(Position, Direction)>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_moves_from` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part1.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_moves_from(v1: isize, v2: isize, v_target: usize, is_b: bool) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_positive_bezout` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part1.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn find_positive_bezout(v1: isize, v2: isize, target: isize) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_moves_from` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part2.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_moves_from(v1: isize, v2: isize, v_target: usize, is_b: bool) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_positive_bezout` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day13/part2.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn find_positive_bezout(v1: isize, v2: isize, target: isize) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_answer` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day14/mod.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn write_answer(output_path: &str, answer:PuzzleAnswer) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Crate` is never constructed [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Crate { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_move` is never used [INFO] [stdout] --> advent_of_code_2024/src/puzzles/day15/part2.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn can_move(warehouse_map: &SimpleGrid, crate_to_check: Crate, direction: Direction) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.67s [INFO] running `Command { std: "docker" "inspect" "eb2d479ac7d593a8ae471323ef7c0ed7a76e0310ebbdc46c3fbe9b0845477ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2d479ac7d593a8ae471323ef7c0ed7a76e0310ebbdc46c3fbe9b0845477ba0", kill_on_drop: false }` [INFO] [stdout] eb2d479ac7d593a8ae471323ef7c0ed7a76e0310ebbdc46c3fbe9b0845477ba0