[INFO] cloning repository https://github.com/VondrakMar/Rustout
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VondrakMar/Rustout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVondrakMar%2FRustout", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVondrakMar%2FRustout'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dda7eb102becea8278fe22b60b5aabf77875f7b1
[INFO] checking VondrakMar/Rustout against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVondrakMar%2FRustout" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/VondrakMar/Rustout
[INFO] finished tweaking git repo https://github.com/VondrakMar/Rustout
[INFO] tweaked toml for git repo https://github.com/VondrakMar/Rustout written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/VondrakMar/Rustout on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/VondrakMar/Rustout 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2c3a3cb9a408209fc4b96aef412c66fb06cdad709f312b2a938ce261570bba4
[INFO] running `Command { std: "docker" "start" "-a" "e2c3a3cb9a408209fc4b96aef412c66fb06cdad709f312b2a938ce261570bba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2c3a3cb9a408209fc4b96aef412c66fb06cdad709f312b2a938ce261570bba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2c3a3cb9a408209fc4b96aef412c66fb06cdad709f312b2a938ce261570bba4", kill_on_drop: false }`
[INFO] [stdout] e2c3a3cb9a408209fc4b96aef412c66fb06cdad709f312b2a938ce261570bba4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 180b00285e2fca415a38f87bd3acd5cdabafee5b4cfece5a14010ea35463832d
[INFO] running `Command { std: "docker" "start" "-a" "180b00285e2fca415a38f87bd3acd5cdabafee5b4cfece5a14010ea35463832d", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]    Compiling sdl2-sys v0.34.5
[INFO] [stderr]     Checking Rustout v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::rect::Point;
[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: `std::fs`
[INFO] [stdout]  --> src/utils/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/utils/utils.rs:117:52
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout]     |                                                    ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout] 117 +                     list_of_floors.push(Floor::new(x*LENGHT_DWELLER ,x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/utils/utils.rs:117:79
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout]     |                                                                               ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout] 117 +                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,y*LENGHT_DWELLER ));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::my_consts::LENGHT_UNIT`
[INFO] [stdout]  --> src/building.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::my_consts::LENGHT_UNIT;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::rect::Point;
[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: `std::fs`
[INFO] [stdout]  --> src/utils/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/utils/utils.rs:117:52
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout]     |                                                    ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout] 117 +                     list_of_floors.push(Floor::new(x*LENGHT_DWELLER ,x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/utils/utils.rs:117:79
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout]     |                                                                               ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,(y*LENGHT_DWELLER)));
[INFO] [stdout] 117 +                     list_of_floors.push(Floor::new((x*LENGHT_DWELLER),x_units,y*LENGHT_DWELLER ));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::my_consts::LENGHT_UNIT`
[INFO] [stdout]  --> src/building.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::my_consts::LENGHT_UNIT;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/utils/utils.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         for row in 0..=n_rows{
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]   --> src/utils/utils.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |             for col in 0..=n_cols{
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/utils.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut count_line = 0;
[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/utils/utils.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut current_line = -1;
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/utils/utils.rs:77:28
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn load_map(&self, canvas: &mut sdl2::render::Canvas<Window>,list_of_dweller: &mut Vec<Dweller>,list_of_rooms: &mut Vec<Room...
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_rows`
[INFO] [stdout]   --> src/utils/utils.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let n_rows = self.height/self.grid_spacing as u32;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_cols`
[INFO] [stdout]   --> src/utils/utils.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let n_cols = self.width/self.grid_spacing as u32;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count_line`
[INFO] [stdout]   --> src/utils/utils.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut count_line = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_count_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_line`
[INFO] [stdout]   --> src/utils/utils.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut current_line = -1;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_x`
[INFO] [stdout]   --> src/dweller.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(x:i32,y:i32,v_x:f64,v_y:f64,col: Color)->Self{
[INFO] [stdout]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_v_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_y`
[INFO] [stdout]   --> src/dweller.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(x:i32,y:i32,v_x:f64,v_y:f64,col: Color)->Self{
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_v_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/building.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut g = self.color.g.saturating_sub(50);
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_on_floor`
[INFO] [stdout]   --> src/main.rs:53:43
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn move_dweller_up(dweller: &mut Dweller, is_on_floor: bool, keycode: Option<Keycode>){
[INFO] [stdout]    |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_on_floor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/utils/utils.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         for row in 0..=n_rows{
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]   --> src/utils/utils.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |             for col in 0..=n_cols{
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/utils.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut count_line = 0;
[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/utils/utils.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut current_line = -1;
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/utils/utils.rs:77:28
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn load_map(&self, canvas: &mut sdl2::render::Canvas<Window>,list_of_dweller: &mut Vec<Dweller>,list_of_rooms: &mut Vec<Room...
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_rows`
[INFO] [stdout]   --> src/utils/utils.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let n_rows = self.height/self.grid_spacing as u32;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_cols`
[INFO] [stdout]   --> src/utils/utils.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let n_cols = self.width/self.grid_spacing as u32;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count_line`
[INFO] [stdout]   --> src/utils/utils.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut count_line = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_count_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_line`
[INFO] [stdout]   --> src/utils/utils.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut current_line = -1;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_x`
[INFO] [stdout]   --> src/dweller.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(x:i32,y:i32,v_x:f64,v_y:f64,col: Color)->Self{
[INFO] [stdout]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_v_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_y`
[INFO] [stdout]   --> src/dweller.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(x:i32,y:i32,v_x:f64,v_y:f64,col: Color)->Self{
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_v_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/building.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut g = self.color.g.saturating_sub(50);
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_on_floor`
[INFO] [stdout]   --> src/main.rs:53:43
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn move_dweller_up(dweller: &mut Dweller, is_on_floor: bool, keycode: Option<Keycode>){
[INFO] [stdout]    |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_on_floor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut my_grid = MapGrid::new(LENGHT_DWELLER as usize, map_width, map_height);
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_dweller_in` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn is_dweller_in(dweller: &Dweller,ghost_dweller: &Dweller,room: &mut Room,canvas: &mut Canvas<Window>){
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_map` is never used
[INFO] [stdout]   --> src/utils/utils.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl MapGrid{
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn save_map(&self){
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Button` is never constructed
[INFO] [stdout]    --> src/utils/utils.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct Button {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `render`, and `handle_event` are never used
[INFO] [stdout]    --> src/utils/utils.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl Button {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 136 |     pub fn new(x: i32, y: i32, width: u32, height: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn render(&self, canvas: &mut sdl2::render::Canvas<Window>) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn handle_event(&mut self, event: &Event) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_hovered` is never read
[INFO] [stdout]   --> src/dweller.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Dweller{
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub is_hovered: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `x_lenght`, `y`, `y_lenght`, and `dweller_in` are never read
[INFO] [stdout]   --> src/building.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Room{
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 12 |     pub room: Rect,
[INFO] [stdout] 13 |     pub x:i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 14 |     pub x_lenght: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub y: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 16 |     pub y_lenght: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 17 |     pub color: Color,
[INFO] [stdout] 18 |     pub dweller_in: bool
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dweller_entered` and `dweller_left` are never used
[INFO] [stdout]   --> src/building.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Room{
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn dweller_entered(&mut self, canvas: &mut Canvas<Window>){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn dweller_left(&mut self, canvas: &mut Canvas<Window>){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `h` is never read
[INFO] [stdout]   --> src/building.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Floor{
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub h: i32
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut my_grid = MapGrid::new(LENGHT_DWELLER as usize, map_width, map_height);
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_dweller_in` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn is_dweller_in(dweller: &Dweller,ghost_dweller: &Dweller,room: &mut Room,canvas: &mut Canvas<Window>){
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_map` is never used
[INFO] [stdout]   --> src/utils/utils.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl MapGrid{
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn save_map(&self){
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Button` is never constructed
[INFO] [stdout]    --> src/utils/utils.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct Button {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `render`, and `handle_event` are never used
[INFO] [stdout]    --> src/utils/utils.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl Button {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 136 |     pub fn new(x: i32, y: i32, width: u32, height: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn render(&self, canvas: &mut sdl2::render::Canvas<Window>) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn handle_event(&mut self, event: &Event) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_hovered` is never read
[INFO] [stdout]   --> src/dweller.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Dweller{
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub is_hovered: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `x_lenght`, `y`, `y_lenght`, and `dweller_in` are never read
[INFO] [stdout]   --> src/building.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Room{
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 12 |     pub room: Rect,
[INFO] [stdout] 13 |     pub x:i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 14 |     pub x_lenght: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub y: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 16 |     pub y_lenght: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 17 |     pub color: Color,
[INFO] [stdout] 18 |     pub dweller_in: bool
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dweller_entered` and `dweller_left` are never used
[INFO] [stdout]   --> src/building.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Room{
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn dweller_entered(&mut self, canvas: &mut Canvas<Window>){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn dweller_left(&mut self, canvas: &mut Canvas<Window>){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `h` is never read
[INFO] [stdout]   --> src/building.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Floor{
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub h: i32
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s
[INFO] running `Command { std: "docker" "inspect" "180b00285e2fca415a38f87bd3acd5cdabafee5b4cfece5a14010ea35463832d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "180b00285e2fca415a38f87bd3acd5cdabafee5b4cfece5a14010ea35463832d", kill_on_drop: false }`
[INFO] [stdout] 180b00285e2fca415a38f87bd3acd5cdabafee5b4cfece5a14010ea35463832d
