[INFO] cloning repository https://github.com/harunnryd/brust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harunnryd/brust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharunnryd%2Fbrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharunnryd%2Fbrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 560ea1211c0a6479a08ea534f16f51c9dd7320ed [INFO] checking harunnryd/brust against master#1280928a99ad3ef2c5735b42dc8852456ae3b974 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharunnryd%2Fbrust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harunnryd/brust on toolchain 1280928a99ad3ef2c5735b42dc8852456ae3b974 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/harunnryd/brust [INFO] finished tweaking git repo https://github.com/harunnryd/brust [INFO] tweaked toml for git repo https://github.com/harunnryd/brust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/harunnryd/brust 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" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "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 harunnryd/brust against try#9b9e20bc79549d80ab413f49d990713851172cc1 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharunnryd%2Fbrust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harunnryd/brust on toolchain 9b9e20bc79549d80ab413f49d990713851172cc1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/harunnryd/brust [INFO] finished tweaking git repo https://github.com/harunnryd/brust [INFO] tweaked toml for git repo https://github.com/harunnryd/brust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/harunnryd/brust 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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb1aebb11ee3368591147bb65be73309acb3d5a361a2fd08d4a7b53fc2069881 [INFO] running `Command { std: "docker" "start" "-a" "fb1aebb11ee3368591147bb65be73309acb3d5a361a2fd08d4a7b53fc2069881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb1aebb11ee3368591147bb65be73309acb3d5a361a2fd08d4a7b53fc2069881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb1aebb11ee3368591147bb65be73309acb3d5a361a2fd08d4a7b53fc2069881", kill_on_drop: false }` [INFO] [stdout] fb1aebb11ee3368591147bb65be73309acb3d5a361a2fd08d4a7b53fc2069881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa9ab5730d9edbae7529b4ea1f63b7f9064a6ef34a459eea932df4e24a8bd410 [INFO] running `Command { std: "docker" "start" "-a" "fa9ab5730d9edbae7529b4ea1f63b7f9064a6ef34a459eea932df4e24a8bd410", kill_on_drop: false }` [INFO] [stderr] Checking battle_star v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Up`, `Down`, and `Left` are never constructed [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct GridPosition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 21 | x: i16, [INFO] [stdout] | ^ [INFO] [stdout] 22 | y: i16, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GridPosition` 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: associated function `new_from_move` is never used [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GridPosition { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_from_move(pos: GridPosition, dir: Direction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_keycode` is never used [INFO] [stdout] --> src/main.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_keycode(key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, and `Left` are never constructed [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `direction` are never read [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Spaceship { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 63 | pos: GridPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spaceship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl Spaceship { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `direction` are never read [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct Enemy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 87 | pos: GridPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 88 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl Enemy { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `direction` are never read [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct Bullet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 112 | pos: GridPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bullet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Bullet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct GridPosition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 21 | x: i16, [INFO] [stdout] | ^ [INFO] [stdout] 22 | y: i16, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GridPosition` 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: fields `space_ship`, `enemy`, and `bullet` are never read [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 134 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 135 | /// First we need a Spaceship [INFO] [stdout] 136 | space_ship: Spaceship, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 137 | /// A piece of Enemy [INFO] [stdout] 138 | enemy: Enemy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | /// A piece of Enemy [INFO] [stdout] 140 | bullet: Bullet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_move` is never used [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GridPosition { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_from_move(pos: GridPosition, dir: Direction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_keycode` is never used [INFO] [stdout] --> src/main.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_keycode(key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `direction` are never read [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Spaceship { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 63 | pos: GridPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spaceship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl Spaceship { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `direction` are never read [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct Enemy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 87 | pos: GridPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 88 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl Enemy { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `direction` are never read [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct Bullet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 112 | pos: GridPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bullet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Bullet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `space_ship`, `enemy`, and `bullet` are never read [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 134 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 135 | /// First we need a Spaceship [INFO] [stdout] 136 | space_ship: Spaceship, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 137 | /// A piece of Enemy [INFO] [stdout] 138 | enemy: Enemy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | /// A piece of Enemy [INFO] [stdout] 140 | bullet: Bullet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] running `Command { std: "docker" "inspect" "fa9ab5730d9edbae7529b4ea1f63b7f9064a6ef34a459eea932df4e24a8bd410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa9ab5730d9edbae7529b4ea1f63b7f9064a6ef34a459eea932df4e24a8bd410", kill_on_drop: false }` [INFO] [stdout] fa9ab5730d9edbae7529b4ea1f63b7f9064a6ef34a459eea932df4e24a8bd410