[INFO] cloning repository https://github.com/pdiazvargas/AoC24 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdiazvargas/AoC24" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdiazvargas%2FAoC24", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdiazvargas%2FAoC24'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bf99c48c5ce34e7fabf69c80ab190d55e0e3a85 [INFO] checking pdiazvargas/AoC24 against try#2b41547e41f63ea0ca9cb25417ddd569b19e6a50 for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdiazvargas%2FAoC24" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pdiazvargas/AoC24 on toolchain 2b41547e41f63ea0ca9cb25417ddd569b19e6a50 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pdiazvargas/AoC24 [INFO] finished tweaking git repo https://github.com/pdiazvargas/AoC24 [INFO] tweaked toml for git repo https://github.com/pdiazvargas/AoC24 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pdiazvargas/AoC24 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" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48dad89ece6ff7f17676512836e8160e121451244eb6543ff49f8ec851e9385f [INFO] running `Command { std: "docker" "start" "-a" "48dad89ece6ff7f17676512836e8160e121451244eb6543ff49f8ec851e9385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48dad89ece6ff7f17676512836e8160e121451244eb6543ff49f8ec851e9385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48dad89ece6ff7f17676512836e8160e121451244eb6543ff49f8ec851e9385f", kill_on_drop: false }` [INFO] [stdout] 48dad89ece6ff7f17676512836e8160e121451244eb6543ff49f8ec851e9385f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 820097d6fdf864e374bd33d4b5717cae03f4415f8f2ac5aef58e161d62a6e50c [INFO] running `Command { std: "docker" "start" "-a" "820097d6fdf864e374bd33d4b5717cae03f4415f8f2ac5aef58e161d62a6e50c", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking aoc2024rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_10.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day_10.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/day_06.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let board = load_data().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equations` [INFO] [stdout] --> src/day_09.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let equations = load_data().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disk` [INFO] [stdout] --> src/day_10.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut disk = load_data().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_disk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_10.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut disk = load_data().unwrap(); [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: `equations` [INFO] [stdout] --> src/day_10.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let equations = load_data().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day_04::Board` is more private than the item `day_04::load_data` [INFO] [stdout] --> src/day_04.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load_data() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `day_04::load_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `day_04::Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day_04.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_04.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_06.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 45 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_layout` is never used [INFO] [stdout] --> src/day_09.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DiskMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn display_layout(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rows`, `cols`, and `data` are never read [INFO] [stdout] --> src/day_10.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub rows: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub cols: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub data: HashMap<(i32, i32), i32>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value_at` and `trace` are never used [INFO] [stdout] --> src/day_10.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 15 | fn value_at(&self, row: i32, col: i32) -> Option<&i32> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn trace(&self, path: [(i32, i32); 10]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_paths` is never used [INFO] [stdout] --> src/day_10.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn find_paths(board: &Board, row: i32, col: i32, acc: String, paths: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trailheads` is never used [INFO] [stdout] --> src/day_10.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn trailheads(board: &Board) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/day_06.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let board = load_data().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equations` [INFO] [stdout] --> src/day_09.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let equations = load_data().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disk` [INFO] [stdout] --> src/day_10.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut disk = load_data().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_disk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_10.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut disk = load_data().unwrap(); [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: `equations` [INFO] [stdout] --> src/day_10.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let equations = load_data().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailheads` [INFO] [stdout] --> src/day_10.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let trailheads = trailheads(&board); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailheads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `day_04::Board` is more private than the item `day_04::load_data` [INFO] [stdout] --> src/day_04.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn load_data() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `day_04::load_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `day_04::Board` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day_04.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Board { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_04.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rows` and `cols` are never read [INFO] [stdout] --> src/day_10.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub rows: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub cols: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/day_10.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn trace(&self, path: [(i32, i32); 10]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.20s [INFO] running `Command { std: "docker" "inspect" "820097d6fdf864e374bd33d4b5717cae03f4415f8f2ac5aef58e161d62a6e50c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820097d6fdf864e374bd33d4b5717cae03f4415f8f2ac5aef58e161d62a6e50c", kill_on_drop: false }` [INFO] [stdout] 820097d6fdf864e374bd33d4b5717cae03f4415f8f2ac5aef58e161d62a6e50c