[INFO] cloning repository https://github.com/dvincelli/roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dvincelli/roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvincelli%2Froguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvincelli%2Froguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c773ebe447898da667e304a9216a3486bccf36d6 [INFO] checking dvincelli/roguelike against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvincelli%2Froguelike" "/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/dvincelli/roguelike on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dvincelli/roguelike [INFO] finished tweaking git repo https://github.com/dvincelli/roguelike [INFO] tweaked toml for git repo https://github.com/dvincelli/roguelike written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dvincelli/roguelike 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" "+aa067fb984d36462548bb785da221bfaf38253f0" "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 dvincelli/roguelike against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvincelli%2Froguelike" "/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/dvincelli/roguelike on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dvincelli/roguelike [INFO] finished tweaking git repo https://github.com/dvincelli/roguelike [INFO] tweaked toml for git repo https://github.com/dvincelli/roguelike written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dvincelli/roguelike 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" "+707d6562f55b55a7aab4ab3a904997116b358314" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 325384d2ea0096613f161db20e0fd5bcdf3e65666bbf416a9a61c44409d79641 [INFO] running `Command { std: "docker" "start" "-a" "325384d2ea0096613f161db20e0fd5bcdf3e65666bbf416a9a61c44409d79641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "325384d2ea0096613f161db20e0fd5bcdf3e65666bbf416a9a61c44409d79641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325384d2ea0096613f161db20e0fd5bcdf3e65666bbf416a9a61c44409d79641", kill_on_drop: false }` [INFO] [stdout] 325384d2ea0096613f161db20e0fd5bcdf3e65666bbf416a9a61c44409d79641 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ed73388c5d51a61ddb5c444510a57b826aa4b2155ba833dd2c772a8675e0a1 [INFO] running `Command { std: "docker" "start" "-a" "c5ed73388c5d51a61ddb5c444510a57b826aa4b2155ba833dd2c772a8675e0a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Checking getrandom v0.2.11 [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] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `test_roll` is defined multiple times [INFO] [stdout] --> src/dice.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_roll() { [INFO] [stdout] | -------------- previous definition of the value `test_roll` here [INFO] [stdout] ... [INFO] [stdout] 59 | fn test_roll() { [INFO] [stdout] | ^^^^^^^^^^^^^^ `test_roll` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `test_roll` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/character.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/character.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d12` [INFO] [stdout] --> src/character.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let d12 = Dice::d12(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d12` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/character.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Character { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | level: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | strength: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | dexterity: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | constitution: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | intelligence: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | wisdom: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | charisma: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | class: CharacterClass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | alignment: Alignment, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/character.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Character { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_level(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_strength(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_dexterity(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_constitution(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_intelligence(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_wisdom(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_charisma(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `d2`, `d4`, `d6`, `d8`, `d10`, and `d100` are never used [INFO] [stdout] --> src/dice.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Dice { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn d2() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn d4() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn d6() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn d8() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn d10() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn d100() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d12` [INFO] [stdout] --> src/character.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let d12 = Dice::d12(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d12` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roguelike` (bin "roguelike" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5ed73388c5d51a61ddb5c444510a57b826aa4b2155ba833dd2c772a8675e0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ed73388c5d51a61ddb5c444510a57b826aa4b2155ba833dd2c772a8675e0a1", kill_on_drop: false }` [INFO] [stdout] c5ed73388c5d51a61ddb5c444510a57b826aa4b2155ba833dd2c772a8675e0a1