[INFO] cloning repository https://github.com/questmaster/rust_sweeper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/questmaster/rust_sweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquestmaster%2Frust_sweeper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquestmaster%2Frust_sweeper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b27667c96983eb22d36bab24112866bd3a66a6a3
[INFO] checking questmaster/rust_sweeper against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquestmaster%2Frust_sweeper" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/questmaster/rust_sweeper
[INFO] finished tweaking git repo https://github.com/questmaster/rust_sweeper
[INFO] tweaked toml for git repo https://github.com/questmaster/rust_sweeper written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/questmaster/rust_sweeper 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/questmaster/rust_sweeper 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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2-sys v0.34.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a35b30ffd27946d03c3b333599d1f8d5a402847071e92e900dcfddcb8f700b43
[INFO] running `Command { std: "docker" "start" "-a" "a35b30ffd27946d03c3b333599d1f8d5a402847071e92e900dcfddcb8f700b43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a35b30ffd27946d03c3b333599d1f8d5a402847071e92e900dcfddcb8f700b43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a35b30ffd27946d03c3b333599d1f8d5a402847071e92e900dcfddcb8f700b43", kill_on_drop: false }`
[INFO] [stdout] a35b30ffd27946d03c3b333599d1f8d5a402847071e92e900dcfddcb8f700b43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5926ed23abf4c0b07d48fafca59b7081b1662c2be83cf22d51524ad729bc7ed8
[INFO] running `Command { std: "docker" "start" "-a" "5926ed23abf4c0b07d48fafca59b7081b1662c2be83cf22d51524ad729bc7ed8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling rust_sweeper v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling sdl2-sys v0.34.4
[INFO] [stderr]     Checking getrandom v0.2.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling structopt-derive v0.4.14
[INFO] [stderr]     Checking structopt v0.3.21
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/game_area_ui/sdl_ui.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::rect::{Point, Rect};
[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: `Point`
[INFO] [stdout]  --> src/game_area_ui/sdl_ui.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::rect::{Point, Rect};
[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 variable: `x`
[INFO] [stdout]    --> src/game_area_ui/sdl_ui.rs:247:14
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let (x, y) = (0usize, 0usize);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/game_area_ui/sdl_ui.rs:247:17
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let (x, y) = (0usize, 0usize);
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/lib.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut x = 0usize;
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/lib.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut y = 0usize;
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unload_all` is never used
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<'s> TextureManager<'s> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn unload_all(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn new(texture_creator: &TextureCreator<WindowContext>) -> TextureManager {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn new(texture_creator: &TextureCreator<WindowContext>) -> TextureManager<'_> {
[INFO] [stdout]    |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn from_surface(&mut self, resource_id: &str, surface: Surface) -> &Texture {
[INFO] [stdout]    |                         ^^^^^^^^^                                          ^^^^^^^^
[INFO] [stdout]    |                         |                                                  ||
[INFO] [stdout]    |                         |                                                  |the same lifetime is hidden here
[INFO] [stdout]    |                         the lifetime is elided here                        the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn from_surface(&mut self, resource_id: &str, surface: Surface) -> &Texture<'_> {
[INFO] [stdout]    |                                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |             .insert(resource_id.clone().to_string(), new_texture);
[INFO] [stdout]    |                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/game_area_ui/sdl_ui.rs:49:55
[INFO] [stdout]      |
[INFO] [stdout]   49 |         return self.textures.get(resource_id).unwrap().clone();
[INFO] [stdout]      |                                                       ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout]   49 -         return self.textures.get(resource_id).unwrap().clone();
[INFO] [stdout]   49 +         return self.textures.get(resource_id).unwrap();
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it
[INFO] [stdout]     -->  /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1
[INFO] [stdout]      |
[INFO] [stdout] 1524 + #[derive(Clone)]
[INFO] [stdout] 1525 | pub struct Texture<'r> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn get(&self, resource_id: &str) -> &Texture {
[INFO] [stdout]    |            ^^^^^                        ^^^^^^^^
[INFO] [stdout]    |            |                            ||
[INFO] [stdout]    |            |                            |the same lifetime is hidden here
[INFO] [stdout]    |            |                            the same lifetime is elided here
[INFO] [stdout]    |            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn get(&self, resource_id: &str) -> &Texture<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/game_area_ui/sdl_ui.rs:53:48
[INFO] [stdout]      |
[INFO] [stdout]   53 |         self.textures.get(resource_id).unwrap().clone()
[INFO] [stdout]      |                                                ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout]   53 -         self.textures.get(resource_id).unwrap().clone()
[INFO] [stdout]   53 +         self.textures.get(resource_id).unwrap()
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it
[INFO] [stdout]     -->  /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1
[INFO] [stdout]      |
[INFO] [stdout] 1524 + #[derive(Clone)]
[INFO] [stdout] 1525 | pub struct Texture<'r> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/game_area_ui/sdl_ui.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 canvas.draw_rects(&rect);
[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] 212 |                 let _ = canvas.draw_rects(&rect);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/game_area_ui/sdl_ui.rs:247:14
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let (x, y) = (0usize, 0usize);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/game_area_ui/sdl_ui.rs:247:17
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let (x, y) = (0usize, 0usize);
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/lib.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut x = 0usize;
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/lib.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut y = 0usize;
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unload_all` is never used
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<'s> TextureManager<'s> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn unload_all(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn new(texture_creator: &TextureCreator<WindowContext>) -> TextureManager {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn new(texture_creator: &TextureCreator<WindowContext>) -> TextureManager<'_> {
[INFO] [stdout]    |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn from_surface(&mut self, resource_id: &str, surface: Surface) -> &Texture {
[INFO] [stdout]    |                         ^^^^^^^^^                                          ^^^^^^^^
[INFO] [stdout]    |                         |                                                  ||
[INFO] [stdout]    |                         |                                                  |the same lifetime is hidden here
[INFO] [stdout]    |                         the lifetime is elided here                        the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn from_surface(&mut self, resource_id: &str, surface: Surface) -> &Texture<'_> {
[INFO] [stdout]    |                                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |             .insert(resource_id.clone().to_string(), new_texture);
[INFO] [stdout]    |                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/game_area_ui/sdl_ui.rs:49:55
[INFO] [stdout]      |
[INFO] [stdout]   49 |         return self.textures.get(resource_id).unwrap().clone();
[INFO] [stdout]      |                                                       ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout]   49 -         return self.textures.get(resource_id).unwrap().clone();
[INFO] [stdout]   49 +         return self.textures.get(resource_id).unwrap();
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it
[INFO] [stdout]     -->  /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1
[INFO] [stdout]      |
[INFO] [stdout] 1524 + #[derive(Clone)]
[INFO] [stdout] 1525 | pub struct Texture<'r> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_area_ui/sdl_ui.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn get(&self, resource_id: &str) -> &Texture {
[INFO] [stdout]    |            ^^^^^                        ^^^^^^^^
[INFO] [stdout]    |            |                            ||
[INFO] [stdout]    |            |                            |the same lifetime is hidden here
[INFO] [stdout]    |            |                            the same lifetime is elided here
[INFO] [stdout]    |            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn get(&self, resource_id: &str) -> &Texture<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/game_area_ui/sdl_ui.rs:53:48
[INFO] [stdout]      |
[INFO] [stdout]   53 |         self.textures.get(resource_id).unwrap().clone()
[INFO] [stdout]      |                                                ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout]   53 -         self.textures.get(resource_id).unwrap().clone()
[INFO] [stdout]   53 +         self.textures.get(resource_id).unwrap()
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it
[INFO] [stdout]     -->  /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1
[INFO] [stdout]      |
[INFO] [stdout] 1524 + #[derive(Clone)]
[INFO] [stdout] 1525 | pub struct Texture<'r> {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/game_area_ui/sdl_ui.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 canvas.draw_rects(&rect);
[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] 212 |                 let _ = canvas.draw_rects(&rect);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.43s
[INFO] running `Command { std: "docker" "inspect" "5926ed23abf4c0b07d48fafca59b7081b1662c2be83cf22d51524ad729bc7ed8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5926ed23abf4c0b07d48fafca59b7081b1662c2be83cf22d51524ad729bc7ed8", kill_on_drop: false }`
[INFO] [stdout] 5926ed23abf4c0b07d48fafca59b7081b1662c2be83cf22d51524ad729bc7ed8
