[INFO] cloning repository https://github.com/redhed100/Snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redhed100/Snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredhed100%2FSnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredhed100%2FSnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8194191f46c5fecd1a08fcfbae60c5022f99747 [INFO] checking redhed100/Snake against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredhed100%2FSnake" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/redhed100/Snake [INFO] finished tweaking git repo https://github.com/redhed100/Snake [INFO] tweaked toml for git repo https://github.com/redhed100/Snake written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/redhed100/Snake on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/redhed100/Snake 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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 redhed100/Snake against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredhed100%2FSnake" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/redhed100/Snake [INFO] finished tweaking git repo https://github.com/redhed100/Snake [INFO] tweaked toml for git repo https://github.com/redhed100/Snake written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/redhed100/Snake on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/redhed100/Snake 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db6ea3754bc0e0e6565d7b8e86ce58f2231084cfa374dd67e47b1d8422ffa00e [INFO] running `Command { std: "docker" "start" "-a" "db6ea3754bc0e0e6565d7b8e86ce58f2231084cfa374dd67e47b1d8422ffa00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db6ea3754bc0e0e6565d7b8e86ce58f2231084cfa374dd67e47b1d8422ffa00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db6ea3754bc0e0e6565d7b8e86ce58f2231084cfa374dd67e47b1d8422ffa00e", kill_on_drop: false }` [INFO] [stdout] db6ea3754bc0e0e6565d7b8e86ce58f2231084cfa374dd67e47b1d8422ffa00e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff3fe570c269f18963b467fcd080c1284d5aca96ac4be0f6135a685dd370da5c [INFO] running `Command { std: "docker" "start" "-a" "ff3fe570c269f18963b467fcd080c1284d5aca96ac4be0f6135a685dd370da5c", kill_on_drop: false }` [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crossterm::cursor::MoveTo` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::cursor::MoveTo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::cursor::MoveTo` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crossterm::cursor::MoveTo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `style` [INFO] [stdout] --> src/main.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::style::{style, Color, ResetColor, SetBackgroundColor, SetForegroundColor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `style` [INFO] [stdout] --> src/main.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::style::{style, Color, ResetColor, SetBackgroundColor, SetForegroundColor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_pix` is assigned to, but never used [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut last_pix = Pos::new(0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_pix` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_pix` is never read [INFO] [stdout] --> src/main.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | last_pix = pSnakePos.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_pix` is assigned to, but never used [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let mut last_pix = Pos::new(0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_pix` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_pix` is never read [INFO] [stdout] --> src/main.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | last_pix = pSnakePos.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | let mut AppRun = true; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | let mut out = stdout(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | let mut out = stdout(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_dir` is never used [INFO] [stdout] --> src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Snake { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_dir(&self) -> Dir { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colored` is never used [INFO] [stdout] --> src/main.rs:471:4 [INFO] [stdout] | [INFO] [stdout] 471 | fn colored(r: i32, g: i32, b: i32, text: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fElapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sync(&mut self, fElapsedTime: &f32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `f_elapsed_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pSnakePos` should have a snake case name [INFO] [stdout] --> src/main.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | for (i, pSnakePos) in self.snake.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `p_snake_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AppRun` should have a snake case name [INFO] [stdout] --> src/main.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let mut AppRun = true; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `app_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `elapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | let elapsedTime = s1.elapsed(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fElapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let fElapsedTime: f32 = elapsedTime.as_micros() as f32/1_000_000.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `f_elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FPS` should have a snake case name [INFO] [stdout] --> src/main.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | let FPS = 1.0/fElapsedTime; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | let mut AppRun = true; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | let mut out = stdout(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | let mut out = stdout(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_dir` is never used [INFO] [stdout] --> src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Snake { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_dir(&self) -> Dir { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colored` is never used [INFO] [stdout] --> src/main.rs:471:4 [INFO] [stdout] | [INFO] [stdout] 471 | fn colored(r: i32, g: i32, b: i32, text: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fElapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sync(&mut self, fElapsedTime: &f32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `f_elapsed_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pSnakePos` should have a snake case name [INFO] [stdout] --> src/main.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | for (i, pSnakePos) in self.snake.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `p_snake_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AppRun` should have a snake case name [INFO] [stdout] --> src/main.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let mut AppRun = true; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `app_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `elapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | let elapsedTime = s1.elapsed(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fElapsedTime` should have a snake case name [INFO] [stdout] --> src/main.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let fElapsedTime: f32 = elapsedTime.as_micros() as f32/1_000_000.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `f_elapsed_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FPS` should have a snake case name [INFO] [stdout] --> src/main.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | let FPS = 1.0/fElapsedTime; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "ff3fe570c269f18963b467fcd080c1284d5aca96ac4be0f6135a685dd370da5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3fe570c269f18963b467fcd080c1284d5aca96ac4be0f6135a685dd370da5c", kill_on_drop: false }` [INFO] [stdout] ff3fe570c269f18963b467fcd080c1284d5aca96ac4be0f6135a685dd370da5c