[INFO] cloning repository https://github.com/kisiseldwarf/Renrust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kisiseldwarf/Renrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkisiseldwarf%2FRenrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkisiseldwarf%2FRenrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a29f826c627191f442ee0b1ff0675e9fad55a8fb
[INFO] checking kisiseldwarf/Renrust against master#4008bbdf34b583ce44a467043aae3703afc0a76f for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkisiseldwarf%2FRenrust" "/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/kisiseldwarf/Renrust
[INFO] finished tweaking git repo https://github.com/kisiseldwarf/Renrust
[INFO] tweaked toml for git repo https://github.com/kisiseldwarf/Renrust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kisiseldwarf/Renrust on toolchain 4008bbdf34b583ce44a467043aae3703afc0a76f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kisiseldwarf/Renrust 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" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rgb v0.8.16
[INFO] [stderr]   Downloaded lipsum v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d
[INFO] running `Command { std: "docker" "start" "ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking rgb v0.8.16
[INFO] [stderr]     Checking crossbeam-epoch v0.8.0
[INFO] [stderr]     Checking rusttype v0.8.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]     Checking num-iter v0.1.40
[INFO] [stderr]     Checking num-rational v0.2.3
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]     Checking lipsum v0.6.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking image v0.22.4
[INFO] [stderr]     Checking renrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sdl2::surface::*`
[INFO] [stdout]  --> src/graphics/animated.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::surface::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/graphics/animated.rs:212:36
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let framespeed_in_millis = ((self.framespeed as f32) / SECOND_IN_MILLIS); //Nombre de tranisitions par secondes
[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] 212 -         let framespeed_in_millis = ((self.framespeed as f32) / SECOND_IN_MILLIS); //Nombre de tranisitions par secondes
[INFO] [stdout] 212 +         let framespeed_in_millis = (self.framespeed as f32) / SECOND_IN_MILLIS ; //Nombre de tranisitions par secondes
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/text/text.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path,PathBuf};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]  --> src/text/text.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::video::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/text/text.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::rect::{Rect,Point};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::render::Canvas`
[INFO] [stdout]  --> src/text/text.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::render::Canvas;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::surface::*`
[INFO] [stdout]  --> src/graphics/animated.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::surface::*;
[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: `crate::text::*`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::text::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/lib.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/graphics/animated.rs:212:36
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let framespeed_in_millis = ((self.framespeed as f32) / SECOND_IN_MILLIS); //Nombre de tranisitions par secondes
[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] 212 -         let framespeed_in_millis = ((self.framespeed as f32) / SECOND_IN_MILLIS); //Nombre de tranisitions par secondes
[INFO] [stdout] 212 +         let framespeed_in_millis = (self.framespeed as f32) / SECOND_IN_MILLIS ; //Nombre de tranisitions par secondes
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/text/text.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path,PathBuf};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::Window`
[INFO] [stdout]  --> src/text/text.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::video::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/text/text.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::rect::{Rect,Point};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::render::Canvas`
[INFO] [stdout]  --> src/text/text.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::render::Canvas;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::text::*`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::text::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/lib.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/renderer.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     for i in 0..5{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `window` is never read
[INFO] [stdout]   --> src/renderer.rs:45:39
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut window : Option<Window> = None;
[INFO] [stdout]    |                                       ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 49 |         window = Some(build_window(&video_subsystem,"renrust",WIDTH,HEIGHT,FULLSCREEN));
[INFO] [stdout]    |         ------ `window` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta`
[INFO] [stdout]    --> src/graphics/sprite.rs:187:53
[INFO] [stdout]     |
[INFO] [stdout] 187 |     fn draw(&mut self, canvas: &mut Canvas<Window>, delta: u128){
[INFO] [stdout]     |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/graphics/sprite.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let path = self.path.clone();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/graphics/animated.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         for mut frame in self.frames.as_mut().unwrap().iter_mut(){
[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/graphics/animated.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for mut frame in self.frames.as_mut().unwrap().iter_mut(){
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/graphics/animated.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         for mut frame in self.frames.as_mut().unwrap().iter_mut(){
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta`
[INFO] [stdout]    --> src/text/text.rs:186:68
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn draw(&mut self, canvas: &mut render::Canvas<video::Window>, delta: u128){
[INFO] [stdout]     |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/text/text.rs:219:24
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn width(&mut self,w:u32){}
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/text/text.rs:220:25
[INFO] [stdout]     |
[INFO] [stdout] 220 |     fn height(&mut self,h:u32){}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/text/text.rs:229:24
[INFO] [stdout]     |
[INFO] [stdout] 229 |     fn width(&mut self,w:u32){}
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/text/text.rs:230:25
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn height(&mut self,h:u32){}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/text/text.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn width(&mut self,w:u32){}
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/text/text.rs:243:25
[INFO] [stdout]     |
[INFO] [stdout] 243 |     fn height(&mut self,h:u32){}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `timer` is never read
[INFO] [stdout]   --> src/lib.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         timer = Instant::now();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `original_dim` is never read
[INFO] [stdout]   --> src/graphics/sprite.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Sprite{
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     original_dim: (u32,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: constant `FRAMES_CNT_START` is never used
[INFO] [stdout]   --> src/graphics/animated.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FRAMES_CNT_START : u32 = 0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_HEIGHT` is never used
[INFO] [stdout]   --> src/text/text.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DEFAULT_HEIGHT : f32 = 40.0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_WIDTH` is never used
[INFO] [stdout]   --> src/text/text.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const DEFAULT_WIDTH : f32 = 20.0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_POS` is never used
[INFO] [stdout]   --> src/text/text.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const DEFAULT_POS : (i32,i32) = (0,0);
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/graphics/animated.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |         for frame in frames{
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 88 -         for frame in frames{
[INFO] [stdout] 88 +         while let Some(frame) = frames{
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 88 -         for frame in frames{
[INFO] [stdout] 88 +         if let Some(frame) = frames{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/renderer.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     for i in 0..5{
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `window` is never read
[INFO] [stdout]   --> src/renderer.rs:45:39
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut window : Option<Window> = None;
[INFO] [stdout]    |                                       ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 49 |         window = Some(build_window(&video_subsystem,"renrust",WIDTH,HEIGHT,FULLSCREEN));
[INFO] [stdout]    |         ------ `window` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/text/text.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         canvas.copy(&text,None,pos);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = canvas.copy(&text,None,pos);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta`
[INFO] [stdout]    --> src/graphics/sprite.rs:187:53
[INFO] [stdout]     |
[INFO] [stdout] 187 |     fn draw(&mut self, canvas: &mut Canvas<Window>, delta: u128){
[INFO] [stdout]     |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/graphics/sprite.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let path = self.path.clone();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/graphics/animated.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         for mut frame in self.frames.as_mut().unwrap().iter_mut(){
[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/graphics/animated.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for mut frame in self.frames.as_mut().unwrap().iter_mut(){
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/graphics/animated.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         for mut frame in self.frames.as_mut().unwrap().iter_mut(){
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta`
[INFO] [stdout]    --> src/text/text.rs:186:68
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn draw(&mut self, canvas: &mut render::Canvas<video::Window>, delta: u128){
[INFO] [stdout]     |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/text/text.rs:219:24
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn width(&mut self,w:u32){}
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/text/text.rs:220:25
[INFO] [stdout]     |
[INFO] [stdout] 220 |     fn height(&mut self,h:u32){}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/text/text.rs:229:24
[INFO] [stdout]     |
[INFO] [stdout] 229 |     fn width(&mut self,w:u32){}
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/text/text.rs:230:25
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn height(&mut self,h:u32){}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> src/text/text.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn width(&mut self,w:u32){}
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/text/text.rs:243:25
[INFO] [stdout]     |
[INFO] [stdout] 243 |     fn height(&mut self,h:u32){}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `timer` is never read
[INFO] [stdout]   --> src/lib.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         timer = Instant::now();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `original_dim` is never read
[INFO] [stdout]   --> src/graphics/sprite.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Sprite{
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     original_dim: (u32,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: constant `FRAMES_CNT_START` is never used
[INFO] [stdout]   --> src/graphics/animated.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FRAMES_CNT_START : u32 = 0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_HEIGHT` is never used
[INFO] [stdout]   --> src/text/text.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DEFAULT_HEIGHT : f32 = 40.0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_WIDTH` is never used
[INFO] [stdout]   --> src/text/text.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const DEFAULT_WIDTH : f32 = 20.0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_POS` is never used
[INFO] [stdout]   --> src/text/text.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const DEFAULT_POS : (i32,i32) = (0,0);
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/graphics/animated.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |         for frame in frames{
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 88 -         for frame in frames{
[INFO] [stdout] 88 +         while let Some(frame) = frames{
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 88 -         for frame in frames{
[INFO] [stdout] 88 +         if let Some(frame) = frames{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/text/text.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         canvas.copy(&text,None,pos);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = canvas.copy(&text,None,pos);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `renrust::*`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use renrust::*;
[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: `renrust::graphics::sprite::SpriteBuilder`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use renrust::graphics::sprite::SpriteBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `renrust::graphics::animated::AnimatedBuilder`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use renrust::graphics::animated::AnimatedBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `core`
[INFO] [stdout]   --> src/main.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn update(core: &mut renrust::core::Core){
[INFO] [stdout]    |           ^^^^ help: if this is intentional, prefix it with an underscore: `_core`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (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:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut background = renrust::graphics::sprite::SpriteBuilder::new(Path::new("/home/kisis/renrust/bg.bmp"));
[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: unused import: `renrust::*`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use renrust::*;
[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: `renrust::graphics::sprite::SpriteBuilder`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use renrust::graphics::sprite::SpriteBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `renrust::graphics::animated::AnimatedBuilder`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use renrust::graphics::animated::AnimatedBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `core`
[INFO] [stdout]   --> src/main.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn update(core: &mut renrust::core::Core){
[INFO] [stdout]    |           ^^^^ help: if this is intentional, prefix it with an underscore: `_core`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (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:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut background = renrust::graphics::sprite::SpriteBuilder::new(Path::new("/home/kisis/renrust/bg.bmp"));
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.96s
[INFO] running `Command { std: "docker" "inspect" "ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d", kill_on_drop: false }`
[INFO] [stdout] ac4c87b82f250b5cd79bf17dedcdfd8c1eeabddac039f6506a2ac32876d3415d
