[INFO] cloning repository https://github.com/Kromzem/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kromzem/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKromzem%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKromzem%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 128d93a04c7fa3d1c00e41ee3e5ecea53ec7dc3e [INFO] checking Kromzem/advent_of_code against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKromzem%2Fadvent_of_code" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kromzem/advent_of_code [INFO] finished tweaking git repo https://github.com/Kromzem/advent_of_code [INFO] tweaked toml for git repo https://github.com/Kromzem/advent_of_code written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kromzem/advent_of_code on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kromzem/advent_of_code 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Kromzem/advent_of_code against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKromzem%2Fadvent_of_code" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kromzem/advent_of_code [INFO] finished tweaking git repo https://github.com/Kromzem/advent_of_code [INFO] tweaked toml for git repo https://github.com/Kromzem/advent_of_code written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kromzem/advent_of_code on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kromzem/advent_of_code 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2c4630765fc1dec0a3e5e2ca7c3f4551e2a5e779ed3c290a7e68a68df5328df [INFO] running `Command { std: "docker" "start" "-a" "a2c4630765fc1dec0a3e5e2ca7c3f4551e2a5e779ed3c290a7e68a68df5328df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2c4630765fc1dec0a3e5e2ca7c3f4551e2a5e779ed3c290a7e68a68df5328df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c4630765fc1dec0a3e5e2ca7c3f4551e2a5e779ed3c290a7e68a68df5328df", kill_on_drop: false }` [INFO] [stdout] a2c4630765fc1dec0a3e5e2ca7c3f4551e2a5e779ed3c290a7e68a68df5328df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dded0844a0576c5c3445c82251d574667a235f265b2329916a61653e2a9353df [INFO] running `Command { std: "docker" "start" "-a" "dded0844a0576c5c3445c82251d574667a235f265b2329916a61653e2a9353df", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `day_10::Day10`, `day_8::Day8`, and `day_9::Day9` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use year_2024::{day_10::Day10, day_11::Day11, day_8::Day8, day_9::Day9}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::isize` [INFO] [stdout] --> src/year_2024/day_9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::isize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/year_2024/day_9.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut sum = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sum` is never read [INFO] [stdout] --> src/year_2024/day_9.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | sum += index * value; [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: struct `Grid` is never constructed [INFO] [stdout] --> src/main.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `insert` are never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 65 | / impl Grid [INFO] [stdout] 66 | | where [INFO] [stdout] 67 | | T: Clone + Copy, [INFO] [stdout] | |____________________- associated items in this implementation [INFO] [stdout] 68 | { [INFO] [stdout] 69 | fn new(data: Vec>) -> Grid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn insert(&mut self, x: usize, y: usize, value: T) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day10` is never constructed [INFO] [stdout] --> src/year_2024/day_10.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day10 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `solve` and `find_unique_trails` are never used [INFO] [stdout] --> src/year_2024/day_10.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Day10 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 38 | fn solve(&self, input: &Input) -> (usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn find_unique_trails( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/year_2024/day_10.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_INPUT` is never used [INFO] [stdout] --> src/year_2024/day_10.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | const TEST_INPUT: &'static str = r"89010123 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_INPUT` is never used [INFO] [stdout] --> src/year_2024/day_11.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | const TEST_INPUT: &'static str = "125 17"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day8` is never constructed [INFO] [stdout] --> src/year_2024/day_8.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day8 {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/year_2024/day_8.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn solve(input: &Input, traverse: bool) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traverse_all_antinodes_in_line` is never used [INFO] [stdout] --> src/year_2024/day_8.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn traverse_all_antinodes_in_line( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/year_2024/day_8.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_test_input` is never used [INFO] [stdout] --> src/year_2024/day_8.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_test_input() -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day9` is never constructed [INFO] [stdout] --> src/year_2024/day_9.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day9 {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blocks_to_bits` is never used [INFO] [stdout] --> src/year_2024/day_9.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn blocks_to_bits(blocks: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_of_bits` is never used [INFO] [stdout] --> src/year_2024/day_9.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn sum_of_bits(bits: &Vec>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bits` is never used [INFO] [stdout] --> src/year_2024/day_9.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn print_bits(bits: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/year_2024/day_9.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Block` is never used [INFO] [stdout] --> src/year_2024/day_9.rs:166:6 [INFO] [stdout] | [INFO] [stdout] 166 | enum Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_INPUT` is never used [INFO] [stdout] --> src/year_2024/day_9.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | const TEST_INPUT: &'static str = "2333133121414131402"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day_10::Day10`, `day_8::Day8`, and `day_9::Day9` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use year_2024::{day_10::Day10, day_11::Day11, day_8::Day8, day_9::Day9}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::isize` [INFO] [stdout] --> src/year_2024/day_9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::isize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/year_2024/day_9.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut sum = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sum` is never read [INFO] [stdout] --> src/year_2024/day_9.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | sum += index * value; [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: associated items `new` and `insert` are never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 65 | / impl Grid [INFO] [stdout] 66 | | where [INFO] [stdout] 67 | | T: Clone + Copy, [INFO] [stdout] | |____________________- associated items in this implementation [INFO] [stdout] 68 | { [INFO] [stdout] 69 | fn new(data: Vec>) -> Grid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn insert(&mut self, x: usize, y: usize, value: T) -> 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 `print_bits` is never used [INFO] [stdout] --> src/year_2024/day_9.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn print_bits(bits: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.58s [INFO] running `Command { std: "docker" "inspect" "dded0844a0576c5c3445c82251d574667a235f265b2329916a61653e2a9353df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dded0844a0576c5c3445c82251d574667a235f265b2329916a61653e2a9353df", kill_on_drop: false }` [INFO] [stdout] dded0844a0576c5c3445c82251d574667a235f265b2329916a61653e2a9353df