[INFO] cloning repository https://github.com/trev-j/aoc_2022_day2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trev-j/aoc_2022_day2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42a1dee31d96e1dea8c24b3c9813ddd7635aaed8 [INFO] checking trev-j/aoc_2022_day2 against master#bb89df6903539e7014b8db29bccd6a9ee9553122 for pr-121072 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trev-j/aoc_2022_day2 on toolchain bb89df6903539e7014b8db29bccd6a9ee9553122 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bb89df6903539e7014b8db29bccd6a9ee9553122" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trev-j/aoc_2022_day2 [INFO] finished tweaking git repo https://github.com/trev-j/aoc_2022_day2 [INFO] tweaked toml for git repo https://github.com/trev-j/aoc_2022_day2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/trev-j/aoc_2022_day2 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" "+bb89df6903539e7014b8db29bccd6a9ee9553122" "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 trev-j/aoc_2022_day2 against try#e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0 for pr-121072 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trev-j/aoc_2022_day2 on toolchain e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trev-j/aoc_2022_day2 [INFO] finished tweaking git repo https://github.com/trev-j/aoc_2022_day2 [INFO] tweaked toml for git repo https://github.com/trev-j/aoc_2022_day2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/trev-j/aoc_2022_day2 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" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "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 trev-j/aoc_2022_day2 against try#e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0 for pr-121072 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trev-j/aoc_2022_day2 on toolchain e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trev-j/aoc_2022_day2 [INFO] finished tweaking git repo https://github.com/trev-j/aoc_2022_day2 [INFO] tweaked toml for git repo https://github.com/trev-j/aoc_2022_day2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/trev-j/aoc_2022_day2 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" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a222a388aec1999c5cf4837a05a5b98b7f8f03dfc951dfe6209c7b52ceecd6b8 [INFO] running `Command { std: "docker" "start" "-a" "a222a388aec1999c5cf4837a05a5b98b7f8f03dfc951dfe6209c7b52ceecd6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a222a388aec1999c5cf4837a05a5b98b7f8f03dfc951dfe6209c7b52ceecd6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a222a388aec1999c5cf4837a05a5b98b7f8f03dfc951dfe6209c7b52ceecd6b8", kill_on_drop: false }` [INFO] [stdout] a222a388aec1999c5cf4837a05a5b98b7f8f03dfc951dfe6209c7b52ceecd6b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c83b779d932b3d824a27a34c91c59c2a612afe136ee5e7b4043f57d0df396c5 [INFO] running `Command { std: "docker" "start" "-a" "8c83b779d932b3d824a27a34c91c59c2a612afe136ee5e7b4043f57d0df396c5", kill_on_drop: false }` [INFO] [stderr] Checking aoc_2022_day1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | if(opponent_play == my_play) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if(opponent_play == my_play) { [INFO] [stdout] 31 + if opponent_play == my_play { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) { [INFO] [stdout] 33 + } else if opponent_play == ROCK_VAL && my_play == PAPER_VAL { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) { [INFO] [stdout] 35 + } else if opponent_play == PAPER_VAL && my_play == SCISSORS_VAL { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) { [INFO] [stdout] 37 + } else if opponent_play == SCISSORS_VAL && my_play == ROCK_VAL { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `round_outcome` is never read [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let mut round_outcome: RoundOutcome = RoundOutcome::Loss; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | if(opponent_play == my_play) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if(opponent_play == my_play) { [INFO] [stdout] 31 + if opponent_play == my_play { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) { [INFO] [stdout] 33 + } else if opponent_play == ROCK_VAL && my_play == PAPER_VAL { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) { [INFO] [stdout] 35 + } else if opponent_play == PAPER_VAL && my_play == SCISSORS_VAL { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) { [INFO] [stdout] 37 + } else if opponent_play == SCISSORS_VAL && my_play == ROCK_VAL { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `round_outcome` is never read [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let mut round_outcome: RoundOutcome = RoundOutcome::Loss; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StrategySymbolKind` is never used [INFO] [stdout] --> src/main.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | enum StrategySymbolKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symbol_win_value` is never used [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn symbol_win_value(symbol: StrategySymbolKind) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StrategySymbolKind` is never used [INFO] [stdout] --> src/main.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | enum StrategySymbolKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symbol_win_value` is never used [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn symbol_win_value(symbol: StrategySymbolKind) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "8c83b779d932b3d824a27a34c91c59c2a612afe136ee5e7b4043f57d0df396c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c83b779d932b3d824a27a34c91c59c2a612afe136ee5e7b4043f57d0df396c5", kill_on_drop: false }` [INFO] [stdout] 8c83b779d932b3d824a27a34c91c59c2a612afe136ee5e7b4043f57d0df396c5