[INFO] cloning repository https://github.com/diespeso/battle_gui
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diespeso/battle_gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiespeso%2Fbattle_gui", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiespeso%2Fbattle_gui'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da65c782ec2a7e1a259e2266987614804e1111f8
[INFO] building diespeso/battle_gui against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiespeso%2Fbattle_gui" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/diespeso/battle_gui
[INFO] finished tweaking git repo https://github.com/diespeso/battle_gui
[INFO] tweaked toml for git repo https://github.com/diespeso/battle_gui written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/diespeso/battle_gui on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/diespeso/battle_gui 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded backtrace v0.3.48
[INFO] [stderr]   Downloaded podio v0.1.7
[INFO] [stderr]   Downloaded coreaudio-sys v0.2.4
[INFO] [stderr]   Downloaded cc v1.0.54
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.63
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.63
[INFO] [stderr]   Downloaded glutin_egl_sys v0.1.4
[INFO] [stderr]   Downloaded proc-macro2 v1.0.17
[INFO] [stderr]   Downloaded glutin_glx_sys v0.1.6
[INFO] [stderr]   Downloaded glutin_wgl_sys v0.1.4
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.63
[INFO] [stderr]   Downloaded addr2line v0.12.1
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.63
[INFO] [stderr]   Downloaded dirs-sys v0.3.4
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.8
[INFO] [stderr]   Downloaded libc v0.2.71
[INFO] [stderr]   Downloaded glutin_gles2_sys v0.1.4
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.19
[INFO] [stderr]   Downloaded xi-unicode v0.2.0
[INFO] [stderr]   Downloaded error-chain v0.12.2
[INFO] [stderr]   Downloaded object v0.19.0
[INFO] [stderr]   Downloaded bumpalo v3.3.0
[INFO] [stderr]   Downloaded claxon v0.4.2
[INFO] [stderr]   Downloaded gimli v0.21.0
[INFO] [stderr]   Downloaded libloading v0.6.2
[INFO] [stderr]   Downloaded memoffset v0.5.4
[INFO] [stderr]   Downloaded nom v5.1.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.63
[INFO] [stderr]   Downloaded zip v0.5.5
[INFO] [stderr]   Downloaded syn v1.0.28
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d74d9546755a63a085db3c67575423721cbd62a891ec698d773d26be21755908
[INFO] running `Command { std: "docker" "start" "-a" "d74d9546755a63a085db3c67575423721cbd62a891ec698d773d26be21755908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d74d9546755a63a085db3c67575423721cbd62a891ec698d773d26be21755908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d74d9546755a63a085db3c67575423721cbd62a891ec698d773d26be21755908", kill_on_drop: false }`
[INFO] [stdout] d74d9546755a63a085db3c67575423721cbd62a891ec698d773d26be21755908
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ce082cef2f9df398e9136d0a1145710f6ff4bc0ec5018f17169c3cd94be15c4
[INFO] running `Command { std: "docker" "start" "-a" "1ce082cef2f9df398e9136d0a1145710f6ff4bc0ec5018f17169c3cd94be15c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling libloading v0.6.2
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling syn v1.0.28
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling error-chain v0.12.2
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling addr2line v0.12.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling euclid_macros v0.1.0
[INFO] [stderr]    Compiling backtrace v0.3.48
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling serde_json v1.0.53
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling euclid v0.19.9
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling lyon_geom v0.12.7
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling bzip2-sys v0.1.9+1.0.8
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling minimp3-sys v0.3.2
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling alsa-sys v0.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling sid v0.5.2
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling lyon_path v0.13.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling bytecount v0.4.0
[INFO] [stderr]    Compiling xi-unicode v0.2.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling glyph_brush_layout v0.1.9
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling twox-hash v1.5.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling alga v0.9.3
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling slice-deque v0.3.0
[INFO] [stderr]    Compiling ogg v0.7.0
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling mint v0.5.5
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling lewton v0.9.4
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling minimp3 v0.3.5
[INFO] [stderr]    Compiling png v0.15.3
[INFO] [stderr]    Compiling nalgebra v0.18.1
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]    Compiling cpal v0.8.2
[INFO] [stderr]    Compiling bzip2 v0.3.3
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]    Compiling glyph_brush v0.6.3
[INFO] [stderr]    Compiling lyon_algorithms v0.13.4
[INFO] [stderr]    Compiling lyon_tessellation v0.13.5
[INFO] [stderr]    Compiling dirs-sys v0.3.4
[INFO] [stderr]    Compiling ggez v0.5.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.19
[INFO] [stderr]    Compiling claxon v0.4.2
[INFO] [stderr]    Compiling podio v0.1.7
[INFO] [stderr]    Compiling hound v3.4.0
[INFO] [stderr]    Compiling zip v0.5.5
[INFO] [stderr]    Compiling gilrs-core v0.2.6
[INFO] [stderr]    Compiling image v0.22.5
[INFO] [stderr]    Compiling lyon v0.13.5
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling gilrs v0.7.4
[INFO] [stderr]    Compiling glyph_brush v0.5.4
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling smart-default v0.5.2
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling rodio v0.9.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling glutin v0.20.1
[INFO] [stderr]    Compiling gfx_window_glutin v0.30.0
[INFO] [stderr]    Compiling game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Image`
[INFO] [stdout]  --> src/utils.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ggez::graphics::{Rect, Image, Drawable};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Image` and `self`
[INFO] [stdout]  --> src/sprite.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ggez::graphics::{self, Drawable, DrawParam, Image};
[INFO] [stdout]   |                      ^^^^                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TextFragment`
[INFO] [stdout]  --> src/gui.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Text, TextFragment};
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ContextBuilder`
[INFO] [stdout]  --> src/game.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ggez::{Context, ContextBuilder, GameResult};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/game.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ggez::event::{self, EventHandler};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Status`
[INFO] [stdout]  --> src/game.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::gui::{Status, StatusCard};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `GameResult`
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ggez::{Context, GameResult, ContextBuilder};
[INFO] [stdout]   |            ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventHandler`
[INFO] [stdout]  --> src/main.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ggez::event::{self, EventHandler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Drawable`
[INFO] [stdout]   --> src/main.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ggez::graphics::{self, Drawable};
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ggez::filesystem`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ggez::filesystem;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Drawable`
[INFO] [stdout]  --> src/utils.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ggez::graphics::{Rect, Image, Drawable};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut result: Vec<String> = pos.split(' ').map(|x| x.to_string()).collect();
[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.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut result: Point2<f32> = Point2::<f32>::from_slice(
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/gui.rs:117:23
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn dimensions(&self, ctx: &mut Context) -> Option<Rect> {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/gui.rs:121:31
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn set_blend_mode(&mut self, mode: Option<BlendMode>) {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tileset_parser.rs:124:6
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut f = File::open(path)?;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/game.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(ctx: &mut Context) -> Self {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/game.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn update(&mut self, ctx: &mut Context) -> GameResult<()> {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut sprite_data = SpriteData::new(image.clone());
[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/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut sprite = Sprite::from_data(sprite_data);
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_str_to_point2f` is never used
[INFO] [stdout]   --> src/utils.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn from_str_to_point2f(pos: String) -> Point2<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clean_empty` is never used
[INFO] [stdout]   --> src/utils.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn clean_empty(source: &mut Vec<(String, Vec<String>)>) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_drawable`, `draw_param_mut`, and `pos_mut` are never used
[INFO] [stdout]   --> src/sprite.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Sprite {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn from_drawable(drawable: Rc<RefCell<dyn Drawable>>)
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn draw_param_mut(&mut self) -> &mut DrawParam {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn pos_mut(&mut self) -> &mut Point2<f32> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/gui.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Status {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 17 |     pub name: &'static str,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `hp` are never used
[INFO] [stdout]   --> src/gui.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Status {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(name: &'static str, hp: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn hp(&self) -> Rc<RefCell<i32>> {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hp_text` is never read
[INFO] [stdout]   --> src/gui.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct StatusCard {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub hp_text: Option<Text>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_status`, `with_portrait`, and `get_status` are never used
[INFO] [stdout]   --> src/gui.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl StatusCard {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn with_status(mut self, status: Status) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn with_portrait(mut self, ctx: &mut Context, mut sprite: Sprite) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn get_status(&self) -> Option<&Status> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `FILE_EXTENSION` is never used
[INFO] [stdout]   --> src/tileset_parser.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | static FILE_EXTENSION: &str = ".tc";
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tileset` is never constructed
[INFO] [stdout]   --> src/tileset_parser.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Tileset {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_from_info`, and `add_from_data` are never used
[INFO] [stdout]   --> src/tileset_parser.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Tileset {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 26 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn add_from_info(&mut self, info: HashMap<String, TilesetData>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn add_from_data(&mut self, data: (String, TilesetData)) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TilesetData` is never constructed
[INFO] [stdout]   --> src/tileset_parser.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct TilesetData {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `from_data` are never used
[INFO] [stdout]   --> src/tileset_parser.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl TilesetData {
[INFO] [stdout]    | ---------------- associated functions in this implementation
[INFO] [stdout] 73 |     pub fn new(_type: TilesetType, pos: Point2<f32>, size: Point2<f32>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn from_data(data: (String, Vec<String>))
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TilesetParserError` is never constructed
[INFO] [stdout]   --> src/tileset_parser.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct TilesetParserError {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TilesetType` is never used
[INFO] [stdout]   --> src/tileset_parser.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub enum TilesetType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Position` is never used
[INFO] [stdout]    --> src/tileset_parser.rs:120:6
[INFO] [stdout]     |
[INFO] [stdout] 120 | type Position = Point2<f32>;
[INFO] [stdout]     |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Size` is never used
[INFO] [stdout]    --> src/tileset_parser.rs:121:6
[INFO] [stdout]     |
[INFO] [stdout] 121 | type Size = Point2<f32>;
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_file` is never used
[INFO] [stdout]    --> src/tileset_parser.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn parse_file(path: &Path) -> Result<(HashMap<String, Vec<String>>, i32), io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gui.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self.portrait.as_ref().expect("no portrait set").draw(ctx);
[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] 112 |         let _ = self.portrait.as_ref().expect("no portrait set").draw(ctx);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.stat_card.as_ref().expect("status card not initialized").draw(ctx, Default::default());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = self.stat_card.as_ref().expect("status card not initialized").draw(ctx, Default::default());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 33s
[INFO] running `Command { std: "docker" "inspect" "1ce082cef2f9df398e9136d0a1145710f6ff4bc0ec5018f17169c3cd94be15c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ce082cef2f9df398e9136d0a1145710f6ff4bc0ec5018f17169c3cd94be15c4", kill_on_drop: false }`
[INFO] [stdout] 1ce082cef2f9df398e9136d0a1145710f6ff4bc0ec5018f17169c3cd94be15c4
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03cbfc59bf7616678ac0b7dfc50f45cca78a202cb60eae63b4a5b87332700a2a
[INFO] running `Command { std: "docker" "start" "-a" "03cbfc59bf7616678ac0b7dfc50f45cca78a202cb60eae63b4a5b87332700a2a", kill_on_drop: false }`
[INFO] [stderr]    Compiling game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Image`
[INFO] [stdout]  --> src/utils.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ggez::graphics::{Rect, Image, Drawable};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Image` and `self`
[INFO] [stdout]  --> src/sprite.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ggez::graphics::{self, Drawable, DrawParam, Image};
[INFO] [stdout]   |                      ^^^^                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TextFragment`
[INFO] [stdout]  --> src/gui.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Text, TextFragment};
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ggez::mint::Point2`
[INFO] [stdout]    --> src/gui.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | use ggez::mint::Point2;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ggez::filesystem`
[INFO] [stdout]    --> src/gui.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 | use ggez::filesystem;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `GameResult`
[INFO] [stdout]    --> src/gui.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | use ggez::{Context, ContextBuilder, GameResult};
[INFO] [stdout]     |            ^^^^^^^                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventHandler`
[INFO] [stdout]    --> src/gui.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 | use ggez::event::{self, EventHandler};
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Drawable`
[INFO] [stdout]    --> src/gui.rs:144:28
[INFO] [stdout]     |
[INFO] [stdout] 144 | use ggez::graphics::{self, Drawable};
[INFO] [stdout]     |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ggez::filesystem`
[INFO] [stdout]    --> src/tileset_parser.rs:164:6
[INFO] [stdout]     |
[INFO] [stdout] 164 |     use ggez::filesystem;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]    --> src/tileset_parser.rs:168:6
[INFO] [stdout]     |
[INFO] [stdout] 168 |     use std::io::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]    --> src/tileset_parser.rs:169:6
[INFO] [stdout]     |
[INFO] [stdout] 169 |     use std::fs::File;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]    --> src/tileset_parser.rs:170:6
[INFO] [stdout]     |
[INFO] [stdout] 170 |     use std::io::BufReader;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ContextBuilder`
[INFO] [stdout]  --> src/game.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ggez::{Context, ContextBuilder, GameResult};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/game.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ggez::event::{self, EventHandler};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Status`
[INFO] [stdout]  --> src/game.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::gui::{Status, StatusCard};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `GameResult`
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ggez::{Context, GameResult, ContextBuilder};
[INFO] [stdout]   |            ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventHandler`
[INFO] [stdout]  --> src/main.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ggez::event::{self, EventHandler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Drawable`
[INFO] [stdout]   --> src/main.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ggez::graphics::{self, Drawable};
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ggez::filesystem`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ggez::filesystem;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Drawable`
[INFO] [stdout]  --> src/utils.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ggez::graphics::{Rect, Image, Drawable};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut result: Vec<String> = pos.split(' ').map(|x| x.to_string()).collect();
[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.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut result: Point2<f32> = Point2::<f32>::from_slice(
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/gui.rs:117:23
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn dimensions(&self, ctx: &mut Context) -> Option<Rect> {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/gui.rs:121:31
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn set_blend_mode(&mut self, mode: Option<BlendMode>) {
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/gui.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let status = game.stat_card.as_ref().unwrap().get_status().unwrap();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/gui.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let mut sprite_data = SpriteData::new(image.clone());
[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/gui.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let mut sprite = Sprite::from_data(sprite_data);
[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/gui.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut sp_2 = Sprite::from_data(SpriteData::new(image.clone()));
[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/tileset_parser.rs:124:6
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut f = File::open(path)?;
[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/tileset_parser.rs:181:6
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let mut result: Vec<(String, Vec<String>)> = parse_result.drain().collect::<Vec<(String, Vec<String>)>>(); //converts a hashmap to a vec...
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/game.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(ctx: &mut Context) -> Self {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/game.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn update(&mut self, ctx: &mut Context) -> GameResult<()> {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut sprite_data = SpriteData::new(image.clone());
[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/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut sprite = Sprite::from_data(sprite_data);
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clean_empty` is never used
[INFO] [stdout]   --> src/utils.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn clean_empty(source: &mut Vec<(String, Vec<String>)>) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_drawable`, `draw_param_mut`, and `pos_mut` are never used
[INFO] [stdout]   --> src/sprite.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Sprite {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn from_drawable(drawable: Rc<RefCell<dyn Drawable>>)
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn draw_param_mut(&mut self) -> &mut DrawParam {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn pos_mut(&mut self) -> &mut Point2<f32> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hp` is never used
[INFO] [stdout]   --> src/gui.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Status {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn hp(&self) -> Rc<RefCell<i32>> {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_from_info` is never used
[INFO] [stdout]   --> src/tileset_parser.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Tileset {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn add_from_info(&mut self, info: HashMap<String, TilesetData>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position` and `size` are never read
[INFO] [stdout]   --> src/tileset_parser.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct TilesetData {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 67 |     pub _type: TilesetType,
[INFO] [stdout] 68 |     pub position: Point2<f32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 69 |     pub size: Point2<f32>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TilesetData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TilesetParserError` is never constructed
[INFO] [stdout]   --> src/tileset_parser.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct TilesetParserError {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Position` is never used
[INFO] [stdout]    --> src/tileset_parser.rs:120:6
[INFO] [stdout]     |
[INFO] [stdout] 120 | type Position = Point2<f32>;
[INFO] [stdout]     |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Size` is never used
[INFO] [stdout]    --> src/tileset_parser.rs:121:6
[INFO] [stdout]     |
[INFO] [stdout] 121 | type Size = Point2<f32>;
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gui.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self.portrait.as_ref().expect("no portrait set").draw(ctx);
[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] 112 |         let _ = self.portrait.as_ref().expect("no portrait set").draw(ctx);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/game.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.stat_card.as_ref().expect("status card not initialized").draw(ctx, Default::default());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = self.stat_card.as_ref().expect("status card not initialized").draw(ctx, Default::default());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.24s
[INFO] running `Command { std: "docker" "inspect" "03cbfc59bf7616678ac0b7dfc50f45cca78a202cb60eae63b4a5b87332700a2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03cbfc59bf7616678ac0b7dfc50f45cca78a202cb60eae63b4a5b87332700a2a", kill_on_drop: false }`
[INFO] [stdout] 03cbfc59bf7616678ac0b7dfc50f45cca78a202cb60eae63b4a5b87332700a2a
