[INFO] cloning repository https://github.com/lolaitu/rusty-doom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lolaitu/rusty-doom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolaitu%2Frusty-doom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolaitu%2Frusty-doom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6f6ad89c676ed91620fe44c9d2e68f1ac18e3ee [INFO] building lolaitu/rusty-doom against master#f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 for pr-137044-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolaitu%2Frusty-doom" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lolaitu/rusty-doom on toolchain f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lolaitu/rusty-doom [INFO] finished tweaking git repo https://github.com/lolaitu/rusty-doom [INFO] tweaked toml for git repo https://github.com/lolaitu/rusty-doom written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lolaitu/rusty-doom 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" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding core-foundation v0.6.4 [INFO] [stderr] Adding core-foundation-sys v0.6.2 [INFO] [stderr] Adding core-graphics v0.18.0 [INFO] [stderr] Adding device_query v0.2.8 (available: v3.0.0) [INFO] [stderr] Adding enigo v0.0.14 (available: v0.3.0) [INFO] [stderr] Adding foreign-types v0.3.2 [INFO] [stderr] Adding foreign-types-shared v0.1.1 [INFO] [stderr] Adding getrandom v0.2.15 [INFO] [stderr] Adding input-event-codes v0.2.2 [INFO] [stderr] Adding malloc_buf v0.0.6 [INFO] [stderr] Adding objc v0.2.7 [INFO] [stderr] Adding pkg-config v0.3.31 [INFO] [stderr] Adding ppv-lite86 v0.2.20 [INFO] [stderr] Adding proc-macro2 v1.0.93 [INFO] [stderr] Adding quote v1.0.38 [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.0) [INFO] [stderr] Adding rand_chacha v0.3.1 [INFO] [stderr] Adding rand_core v0.6.4 [INFO] [stderr] Adding readkey v0.1.7 [INFO] [stderr] Adding readmouse v0.2.1 [INFO] [stderr] Adding syn v2.0.98 [INFO] [stderr] Adding unicode-ident v1.0.16 [INFO] [stderr] Adding unicode-segmentation v1.12.0 [INFO] [stderr] Adding x11 v2.21.0 [INFO] [stderr] Adding zerocopy v0.7.35 [INFO] [stderr] Adding zerocopy-derive v0.7.35 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-foundation v0.6.4 [INFO] [stderr] Downloaded malloc_buf v0.0.6 [INFO] [stderr] Downloaded x11 v2.21.0 [INFO] [stderr] Downloaded core-foundation-sys v0.6.2 [INFO] [stderr] Downloaded enigo v0.0.14 [INFO] [stderr] Downloaded errno v0.3.10 [INFO] [stderr] Downloaded redox_syscall v0.5.8 [INFO] [stderr] Downloaded log v0.4.25 [INFO] [stderr] Downloaded input-event-codes v0.2.2 [INFO] [stderr] Downloaded mio v1.0.3 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded core-graphics v0.18.0 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded readkey v0.1.7 [INFO] [stderr] Downloaded readmouse v0.2.1 [INFO] [stderr] Downloaded rustix v0.38.44 [INFO] [stderr] Downloaded linux-raw-sys v0.4.15 [INFO] [stderr] Downloaded device_query v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9af2d8d167e37d36579a16dad35c563e110624a39af58a749b928eac11e7bfd [INFO] running `Command { std: "docker" "start" "-a" "d9af2d8d167e37d36579a16dad35c563e110624a39af58a749b928eac11e7bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9af2d8d167e37d36579a16dad35c563e110624a39af58a749b928eac11e7bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9af2d8d167e37d36579a16dad35c563e110624a39af58a749b928eac11e7bfd", kill_on_drop: false }` [INFO] [stdout] d9af2d8d167e37d36579a16dad35c563e110624a39af58a749b928eac11e7bfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23d24e27093dd5e8a91d4a9dcd3bcef36746e55cf063878631b83a701b3400d7 [INFO] running `Command { std: "docker" "start" "-a" "23d24e27093dd5e8a91d4a9dcd3bcef36746e55cf063878631b83a701b3400d7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling device_query v0.2.8 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling input-event-codes v0.2.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rusty_doom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | terminal_init() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 32 | [INFO] [stdout] 33 | let mut test = level::Level::debug_1()?; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `Ok` [INFO] [stdout] --> src/main.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | terminal_cleanup() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 44 | [INFO] [stdout] 45 | Ok(()) [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EnterAlternateScreen` in this scope [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | EnterAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::terminal::EnterAlternateScreen; [INFO] [stdout] | [INFO] [stdout] 1 + use crossterm::terminal::EnterAlternateScreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Hide` in this scope [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Hide [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use crossterm::cursor::Hide; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LeaveAlternateScreen` in this scope [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | LeaveAlternateScreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::terminal::LeaveAlternateScreen; [INFO] [stdout] | [INFO] [stdout] 1 + use crossterm::terminal::LeaveAlternateScreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Show` in this scope [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Show [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 + use crossterm::cursor::Show; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceQuery`, `DeviceState`, `Keycode`, and `MouseState` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use device_query::{DeviceQuery, DeviceState, MouseState, Keycode}; // To detect keyboard and mouse position [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Enigo` and `MouseControllable` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use enigo::{Enigo, MouseControllable}; // To move the mouse [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClearType`, `Event`, `KeyCode`, `cursor::MoveTo`, and `self` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | event::{self, Event, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] 9 | execute, [INFO] [stdout] 10 | terminal::{self, ClearType}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | cursor::MoveTo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Game` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use game::Game; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceQuery` [INFO] [stdout] --> src/player.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use device_query::{DeviceQuery, DeviceState, Keycode}; // To detect keyboard and mouse position [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `Print`, `ResetColor`, `SetBackgroundColor`, `SetForegroundColor`, and `self` [INFO] [stdout] --> src/mainGame.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | event::{self, Event, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | style::{Color, Print, SetBackgroundColor, SetForegroundColor, ResetColor}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/mainGame.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/mainGame.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/mainGame.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> MainGame<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 30 | // Constructeur [INFO] [stdout] 31 | pub fn new(map: &'a Vec>) -> MainGame { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mainGame::MainGame` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mainGame::MainGame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/level.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn debug_1() -> Result { [INFO] [stdout] | ---------------------------- expected `Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 50 | maze [INFO] [stdout] | ^^^^ expected `Result`, found `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn terminal_init() -> Result<()> { [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | fn terminal_cleanup() -> Result<()> { [INFO] [stdout] | ---------------- ^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_state` [INFO] [stdout] --> src/player.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let device_state = DeviceState::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pos` [INFO] [stdout] --> src/player.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let current_pos = (self.position.0 as usize, self.position.1 as usize); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/player.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mainGame.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let mut delta_mouse = mouse.coords.0 - prev_mouse_x_pos; //compare previous position of the mouse to the current one [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: unused variable: `mouse` [INFO] [stdout] --> src/mainGame.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn update(&mut self, mouse: &MouseState, delta_mouse: i32) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shade` [INFO] [stdout] --> src/mainGame.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | ... let shade = if distance < 5.0 { "█" } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shade` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_doom` (bin "rusty_doom") due to 9 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23d24e27093dd5e8a91d4a9dcd3bcef36746e55cf063878631b83a701b3400d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d24e27093dd5e8a91d4a9dcd3bcef36746e55cf063878631b83a701b3400d7", kill_on_drop: false }` [INFO] [stdout] 23d24e27093dd5e8a91d4a9dcd3bcef36746e55cf063878631b83a701b3400d7