[INFO] cloning repository https://github.com/prplV/dungeon-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prplV/dungeon-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprplV%2Fdungeon-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprplV%2Fdungeon-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4f0dbbde03b57b82c38f7e9332be46e2ea3ea83 [INFO] checking prplV/dungeon-game against master#c5af0610196bc39c44e54f1e08bd9149bdc66929 for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprplV%2Fdungeon-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prplV/dungeon-game on toolchain c5af0610196bc39c44e54f1e08bd9149bdc66929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prplV/dungeon-game [INFO] finished tweaking git repo https://github.com/prplV/dungeon-game [INFO] tweaked toml for git repo https://github.com/prplV/dungeon-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prplV/dungeon-game 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" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "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 prplV/dungeon-game against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprplV%2Fdungeon-game" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prplV/dungeon-game on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prplV/dungeon-game [INFO] finished tweaking git repo https://github.com/prplV/dungeon-game [INFO] tweaked toml for git repo https://github.com/prplV/dungeon-game written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prplV/dungeon-game 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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "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 prplV/dungeon-game against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FprplV%2Fdungeon-game" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prplV/dungeon-game on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prplV/dungeon-game [INFO] finished tweaking git repo https://github.com/prplV/dungeon-game [INFO] tweaked toml for git repo https://github.com/prplV/dungeon-game written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prplV/dungeon-game 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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 724eefe47efee652176b1e8f5dd982df6eb792758a4030355255f5f1986112e1 [INFO] running `Command { std: "docker" "start" "-a" "724eefe47efee652176b1e8f5dd982df6eb792758a4030355255f5f1986112e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "724eefe47efee652176b1e8f5dd982df6eb792758a4030355255f5f1986112e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "724eefe47efee652176b1e8f5dd982df6eb792758a4030355255f5f1986112e1", kill_on_drop: false }` [INFO] [stdout] 724eefe47efee652176b1e8f5dd982df6eb792758a4030355255f5f1986112e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 850d3ada65c2b921647c44ddec058aa3d27e8308c9aa7ee7a860b97134e58c6c [INFO] running `Command { std: "docker" "start" "-a" "850d3ada65c2b921647c44ddec058aa3d27e8308c9aa7ee7a860b97134e58c6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dangeon-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/battle.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if (enemy.hp <= 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - if (enemy.hp <= 0) [INFO] [stdout] 192 + if enemy.hp <= 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/battle.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if (enemy.hp <= 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - if (enemy.hp <= 0) [INFO] [stdout] 192 + if enemy.hp <= 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/battle.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | if (enemy.hp <= self.game_dif.damage) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - if (enemy.hp <= self.game_dif.damage) [INFO] [stdout] 199 + if enemy.hp <= self.game_dif.damage [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/battle.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | if (self.game_dif.hp <= 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - if (self.game_dif.hp <= 0) [INFO] [stdout] 211 + if self.game_dif.hp <= 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/battle.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | if (enemy.hp <= self.game_dif.damage) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - if (enemy.hp <= self.game_dif.damage) [INFO] [stdout] 199 + if enemy.hp <= self.game_dif.damage [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/battle.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | if (self.game_dif.hp <= 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - if (self.game_dif.hp <= 0) [INFO] [stdout] 211 + if self.game_dif.hp <= 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/enemy.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut enemy_struct = match en{ [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/enemy.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut enemy_struct = match en{ [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/battle.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut diff_console_ans: usize = diff_console_ans.trim().parse().expect("error parsing diff"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/battle.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut diff_console_ans: usize = diff_console_ans.trim().parse().expect("error parsing diff"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Enemy` is never used [INFO] [stdout] --> src/enemy.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Enemy{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Enemy` is never used [INFO] [stdout] --> src/enemy.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Enemy{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "850d3ada65c2b921647c44ddec058aa3d27e8308c9aa7ee7a860b97134e58c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850d3ada65c2b921647c44ddec058aa3d27e8308c9aa7ee7a860b97134e58c6c", kill_on_drop: false }` [INFO] [stdout] 850d3ada65c2b921647c44ddec058aa3d27e8308c9aa7ee7a860b97134e58c6c