[INFO] cloning repository https://github.com/vinibuzzacaro/ascii_snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vinibuzzacaro/ascii_snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinibuzzacaro%2Fascii_snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinibuzzacaro%2Fascii_snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b04c2c20873529ec64d111436102909f73be5403 [INFO] checking vinibuzzacaro/ascii_snake against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinibuzzacaro%2Fascii_snake" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vinibuzzacaro/ascii_snake [INFO] finished tweaking git repo https://github.com/vinibuzzacaro/ascii_snake [INFO] tweaked toml for git repo https://github.com/vinibuzzacaro/ascii_snake written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vinibuzzacaro/ascii_snake on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vinibuzzacaro/ascii_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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded signal-hook v0.3.18 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ef4c2ca124035a61e7e164238f84da3c52bdf3d8c6f659720897b6058fe16fd [INFO] running `Command { std: "docker" "start" "-a" "6ef4c2ca124035a61e7e164238f84da3c52bdf3d8c6f659720897b6058fe16fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ef4c2ca124035a61e7e164238f84da3c52bdf3d8c6f659720897b6058fe16fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef4c2ca124035a61e7e164238f84da3c52bdf3d8c6f659720897b6058fe16fd", kill_on_drop: false }` [INFO] [stdout] 6ef4c2ca124035a61e7e164238f84da3c52bdf3d8c6f659720897b6058fe16fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f69ce5270cb19c42190583b341022c43518414cb2d7cdfd5f2274bdf4cf9de7 [INFO] running `Command { std: "docker" "start" "-a" "9f69ce5270cb19c42190583b341022c43518414cb2d7cdfd5f2274bdf4cf9de7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/systems.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [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 imports: `max` and `min` [INFO] [stdout] --> src/systems.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::{max, min}, collections::{HashMap, HashSet}, time::Duration}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor` and `thread::current` [INFO] [stdout] --> src/renderer.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, stdout, Cursor, Stdout, Write}, thread::current}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MoveTo` and `Print` [INFO] [stdout] --> src/renderer.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::{cursor::{self, MoveTo}, execute, style::{self, Print}, terminal, QueueableCommand}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Game` [INFO] [stdout] --> src/renderer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{components::Position, game::Game, world::World}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stdout` and `stdout` [INFO] [stdout] --> src/game.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, stdout, Stdout}, thread, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clear`, `disable_raw_mode`, and `self` [INFO] [stdout] --> src/game.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::{cursor, execute, terminal::{self, disable_raw_mode, enable_raw_mode, Clear}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/systems.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [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 imports: `max` and `min` [INFO] [stdout] --> src/systems.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::{max, min}, collections::{HashMap, HashSet}, time::Duration}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor` and `thread::current` [INFO] [stdout] --> src/renderer.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, stdout, Cursor, Stdout, Write}, thread::current}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MoveTo` and `Print` [INFO] [stdout] --> src/renderer.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::{cursor::{self, MoveTo}, execute, style::{self, Print}, terminal, QueueableCommand}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Game` [INFO] [stdout] --> src/renderer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{components::Position, game::Game, world::World}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stdout` and `stdout` [INFO] [stdout] --> src/game.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, stdout, Stdout}, thread, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clear`, `disable_raw_mode`, and `self` [INFO] [stdout] --> src/game.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::{cursor, execute, terminal::{self, disable_raw_mode, enable_raw_mode, Clear}}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/components.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Collider { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub height: u32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/components.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Direction { Left, Right, Up, Down } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Controllable` is never constructed [INFO] [stdout] --> src/components.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Controllable; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Growing` is never constructed [INFO] [stdout] --> src/components.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Growing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edible` is never constructed [INFO] [stdout] --> src/components.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Edible; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paused` is never constructed [INFO] [stdout] --> src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 9 | Playing, [INFO] [stdout] 10 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/components.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Collider { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub height: u32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/components.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Direction { Left, Right, Up, Down } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Controllable` is never constructed [INFO] [stdout] --> src/components.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Controllable; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Growing` is never constructed [INFO] [stdout] --> src/components.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Growing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edible` is never constructed [INFO] [stdout] --> src/components.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Edible; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paused` is never constructed [INFO] [stdout] --> src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 9 | Playing, [INFO] [stdout] 10 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "9f69ce5270cb19c42190583b341022c43518414cb2d7cdfd5f2274bdf4cf9de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f69ce5270cb19c42190583b341022c43518414cb2d7cdfd5f2274bdf4cf9de7", kill_on_drop: false }` [INFO] [stdout] 9f69ce5270cb19c42190583b341022c43518414cb2d7cdfd5f2274bdf4cf9de7