[INFO] cloning repository https://github.com/yansq/advent_of_code_2022_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yansq/advent_of_code_2022_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc661d9082491d707079225e68a417b2287d92a1 [INFO] checking yansq/advent_of_code_2022_rust against master#52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust" "/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/yansq/advent_of_code_2022_rust on toolchain 52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] finished tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] tweaked toml for git repo https://github.com/yansq/advent_of_code_2022_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yansq/advent_of_code_2022_rust 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" "+52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking yansq/advent_of_code_2022_rust against try#6223d840318ac1f9c8b6bf3aef24c3ff67683479 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust" "/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/yansq/advent_of_code_2022_rust on toolchain 6223d840318ac1f9c8b6bf3aef24c3ff67683479 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] finished tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] tweaked toml for git repo https://github.com/yansq/advent_of_code_2022_rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yansq/advent_of_code_2022_rust 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" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "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 yansq/advent_of_code_2022_rust against try#6223d840318ac1f9c8b6bf3aef24c3ff67683479 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust" "/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/yansq/advent_of_code_2022_rust on toolchain 6223d840318ac1f9c8b6bf3aef24c3ff67683479 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] finished tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] tweaked toml for git repo https://github.com/yansq/advent_of_code_2022_rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yansq/advent_of_code_2022_rust 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" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "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-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d46776df31852524f6c6ff06b59b1cb1f6e661354be0be4a79b1f6f923865be7 [INFO] running `Command { std: "docker" "start" "-a" "d46776df31852524f6c6ff06b59b1cb1f6e661354be0be4a79b1f6f923865be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d46776df31852524f6c6ff06b59b1cb1f6e661354be0be4a79b1f6f923865be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46776df31852524f6c6ff06b59b1cb1f6e661354be0be4a79b1f6f923865be7", kill_on_drop: false }` [INFO] [stdout] d46776df31852524f6c6ff06b59b1cb1f6e661354be0be4a79b1f6f923865be7 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8dbfdb066592d34e71030e5446f1e1fa8425b183cc0583a698eba3332d7b0fe [INFO] running `Command { std: "docker" "start" "-a" "b8dbfdb066592d34e71030e5446f1e1fa8425b183cc0583a698eba3332d7b0fe", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_calories` is never used [INFO] [stdout] --> src/day1/calories_counting.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_calories() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/day10/cathode_ray_tube.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sum() -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Score` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Score { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Beats` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | trait Beats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandResult` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum HandResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Hand` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Hand { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_hand` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn play_hand(own_hand: Hand, opponent_hand: Hand) -> HandResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_score` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn calculate_score() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/day3/rucksack_reorganization.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn priority(ch: char) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/day3/rucksack_reorganization.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn result() -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_pairs` is never used [INFO] [stdout] --> src/day4/camp_cleanup.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_pairs() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn init(stacks: &mut [Vec]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operate` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn operate(stacks: &mut [Vec], count: u32, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_stacks` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn top_stacks() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_distinct` is never used [INFO] [stdout] --> src/day6/tuning_trouble.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn check_distinct(chars: &[char]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_processed` is never used [INFO] [stdout] --> src/day6/tuning_trouble.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn num_processed() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_tree` is never used [INFO] [stdout] --> src/day8/treetop_tree_house.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn count_tree() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dp` is never used [INFO] [stdout] --> src/day8/treetop_tree_house.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn dp(length: usize, vec: &Vec>, dp: &mut Vec>) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_bytes` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_bytes

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "b8dbfdb066592d34e71030e5446f1e1fa8425b183cc0583a698eba3332d7b0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8dbfdb066592d34e71030e5446f1e1fa8425b183cc0583a698eba3332d7b0fe", kill_on_drop: false }` [INFO] [stdout] b8dbfdb066592d34e71030e5446f1e1fa8425b183cc0583a698eba3332d7b0fe