[INFO] cloning repository https://github.com/yiuminghuynh/aoc2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yiuminghuynh/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b2f246321e01cff6ba88ffff72573609cce47ce [INFO] checking yiuminghuynh/aoc2022 against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yiuminghuynh/aoc2022 on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] finished tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] tweaked toml for git repo https://github.com/yiuminghuynh/aoc2022 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yiuminghuynh/aoc2022 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "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 yiuminghuynh/aoc2022 against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yiuminghuynh/aoc2022 on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] finished tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] tweaked toml for git repo https://github.com/yiuminghuynh/aoc2022 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yiuminghuynh/aoc2022 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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 yiuminghuynh/aoc2022 against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yiuminghuynh/aoc2022 on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] finished tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] tweaked toml for git repo https://github.com/yiuminghuynh/aoc2022 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yiuminghuynh/aoc2022 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e05ead4bfcef7f6ea7ffe0b9dc2f3f3342541e8cbce952467f8799e1eb9436e2 [INFO] running `Command { std: "docker" "start" "-a" "e05ead4bfcef7f6ea7ffe0b9dc2f3f3342541e8cbce952467f8799e1eb9436e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e05ead4bfcef7f6ea7ffe0b9dc2f3f3342541e8cbce952467f8799e1eb9436e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05ead4bfcef7f6ea7ffe0b9dc2f3f3342541e8cbce952467f8799e1eb9436e2", kill_on_drop: false }` [INFO] [stdout] e05ead4bfcef7f6ea7ffe0b9dc2f3f3342541e8cbce952467f8799e1eb9436e2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e611d17d2830192e4a6d650d643f87b84608c313253e0ef265ed87c6a8021eb3 [INFO] running `Command { std: "docker" "start" "-a" "e611d17d2830192e4a6d650d643f87b84608c313253e0ef265ed87c6a8021eb3", kill_on_drop: false }` [INFO] [stderr] Checking aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `run_aoc` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn run_aoc() -> Result<(i32, i32), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_lines` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn process_lines(lines: Vec) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_calorie` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_top_calorie(results: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_three_calorie_total` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_top_three_calorie_total(results: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RPS` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum RPS { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RPS` 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: enum `Outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Outcome` 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: function `run_aoc` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn run_aoc() -> Result<(i32, i32), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_lines` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn process_lines(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_line` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn process_line(line: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_lines_v2` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn process_lines_v2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_line_v2` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn process_line_v2(line: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_char_vec` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn process_char_vec(line: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn determine_outcome(opponent: RPS, me: RPS) -> Outcome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_letter_as_move` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn process_letter_as_move(letter: char) -> RPS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_letter_as_outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn process_letter_as_outcome(letter: char) -> Outcome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_move_from_outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn determine_move_from_outcome(opponent: RPS, outcome: Outcome) -> RPS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_move_value` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn determine_move_value(rps: RPS) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_outcome_value` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn determine_outcome_value(outcome: Outcome) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/utils.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn read_file(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "e611d17d2830192e4a6d650d643f87b84608c313253e0ef265ed87c6a8021eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e611d17d2830192e4a6d650d643f87b84608c313253e0ef265ed87c6a8021eb3", kill_on_drop: false }` [INFO] [stdout] e611d17d2830192e4a6d650d643f87b84608c313253e0ef265ed87c6a8021eb3