[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#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yansq/advent_of_code_2022_rust on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "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-6-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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "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
[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#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yansq/advent_of_code_2022_rust on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "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-6-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a9d2aefaa5bd97df7ecbd6d92a4b9a09423b40de89464713db379a13a7eb1165
[INFO] running `Command { std: "docker" "start" "-a" "a9d2aefaa5bd97df7ecbd6d92a4b9a09423b40de89464713db379a13a7eb1165", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a9d2aefaa5bd97df7ecbd6d92a4b9a09423b40de89464713db379a13a7eb1165", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9d2aefaa5bd97df7ecbd6d92a4b9a09423b40de89464713db379a13a7eb1165", kill_on_drop: false }`
[INFO] [stdout] a9d2aefaa5bd97df7ecbd6d92a4b9a09423b40de89464713db379a13a7eb1165
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3152c5b421b80ea7f2b451f1fc9fe2f70423f535545fceb74d68b687fb9536a
[INFO] running `Command { std: "docker" "start" "-a" "b3152c5b421b80ea7f2b451f1fc9fe2f70423f535545fceb74d68b687fb9536a", 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: variants `Win`, `Draw`, and `Lose` are never constructed
[INFO] [stdout]   --> src/day2/rock_paper_scissors.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum HandResult {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 15 |     Win,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     Draw,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     Lose,
[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<char>]) {
[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<char>], 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<Vec<i32>>, dp: &mut Vec<Vec<(i32, i32, i32, i32)>>) {
[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<P>(filename: P) -> io::Result<io::Lines<io::BufReader<File>>>
[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<P>(filename: P) -> io::Result<io::Bytes<io::BufReader<File>>>
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.10s
[INFO] running `Command { std: "docker" "inspect" "b3152c5b421b80ea7f2b451f1fc9fe2f70423f535545fceb74d68b687fb9536a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3152c5b421b80ea7f2b451f1fc9fe2f70423f535545fceb74d68b687fb9536a", kill_on_drop: false }`
[INFO] [stdout] b3152c5b421b80ea7f2b451f1fc9fe2f70423f535545fceb74d68b687fb9536a
