[INFO] cloning repository https://github.com/beta-bytes/bbmicro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beta-bytes/bbmicro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-bytes%2Fbbmicro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-bytes%2Fbbmicro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10446bf3d8bcbabee7fb4cd3de1fd92e3ef6f467 [INFO] checking beta-bytes/bbmicro against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-bytes%2Fbbmicro" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beta-bytes/bbmicro on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beta-bytes/bbmicro [INFO] finished tweaking git repo https://github.com/beta-bytes/bbmicro [INFO] tweaked toml for git repo https://github.com/beta-bytes/bbmicro written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/beta-bytes/bbmicro 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.34.3 [INFO] [stderr] Downloaded sdl2-sys v0.34.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8c3e34f33c5434a71db2cad5c31e15b4de83db13a1841ad5077c22c37da92dd [INFO] running `Command { std: "docker" "start" "-a" "d8c3e34f33c5434a71db2cad5c31e15b4de83db13a1841ad5077c22c37da92dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8c3e34f33c5434a71db2cad5c31e15b4de83db13a1841ad5077c22c37da92dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c3e34f33c5434a71db2cad5c31e15b4de83db13a1841ad5077c22c37da92dd", kill_on_drop: false }` [INFO] [stdout] d8c3e34f33c5434a71db2cad5c31e15b4de83db13a1841ad5077c22c37da92dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50f032950784cfea72582ce0d17c3abe8faf10d9a991b1ec7da0774d1b36853b [INFO] running `Command { std: "docker" "start" "-a" "50f032950784cfea72582ce0d17c3abe8faf10d9a991b1ec7da0774d1b36853b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bbmicro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.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] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InitFlag` [INFO] [stdout] --> src/api.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::image::{InitFlag, LoadTexture}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AUDIO_S16LSB`, `DEFAULT_CHANNELS` [INFO] [stdout] --> src/api.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::mixer::{AUDIO_S16LSB, DEFAULT_CHANNELS}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/game1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/game1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InitFlag` [INFO] [stdout] --> src/api.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::image::{InitFlag, LoadTexture}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AUDIO_S16LSB`, `DEFAULT_CHANNELS` [INFO] [stdout] --> src/api.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::mixer::{AUDIO_S16LSB, DEFAULT_CHANNELS}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/game1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/game1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/api.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/api.rs:275:36 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/api.rs:275:44 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/api.rs:275:52 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/api.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/api.rs:277:40 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/api.rs:277:48 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/api.rs:277:56 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/api.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/api.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/api.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [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/api.rs:279:52 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [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/api.rs:290:50 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [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/api.rs:290:58 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flip_x` [INFO] [stdout] --> src/api.rs:290:66 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_flip_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flip_y` [INFO] [stdout] --> src/api.rs:290:80 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_flip_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let mut curr_y = y; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snum` [INFO] [stdout] --> src/api.rs:391:61 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn mget(&mut self, celx: u32, cely: u32, layer: u8, snum: u8) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_snum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/api.rs:428:54 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn sfx(&mut self, audio: &str, channel: i32, offset: u32, length: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/api.rs:428:67 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn sfx(&mut self, audio: &str, channel: i32, offset: u32, length: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fadems` [INFO] [stdout] --> src/api.rs:445:42 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn music(&mut self, audio: &str, fadems: u32, channelmask: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fadems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channelmask` [INFO] [stdout] --> src/api.rs:445:55 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn music(&mut self, audio: &str, fadems: u32, channelmask: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channelmask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerInput` is never constructed [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct PlayerInput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl PlayerInput { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 23 | fn new() -> PlayerInput { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LEFT`, `UP`, and `DOWN` are never constructed [INFO] [stdout] --> src/api.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum Button { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 66 | LEFT, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | RIGHT, [INFO] [stdout] 68 | UP, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | DOWN, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pen` is never read [INFO] [stdout] --> src/api.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 124 | struct DrawState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | pen: Color, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture_creator`, `font_texture`, `sfx`, and `font_entries` are never read [INFO] [stdout] --> src/api.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct BBMicroApi<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 131 | canvas: &'a mut sdl2::render::WindowCanvas, [INFO] [stdout] 132 | texture_creator: &'a sdl2::render::TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | sprites_texture: sdl2::render::Texture<'a>, [INFO] [stdout] 134 | font_texture: sdl2::render::Texture<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 135 | sfx: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] 136 | music: HashMap>, [INFO] [stdout] 137 | font_entries: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_x`, `top_y`, `bottom_x`, `bottom_y`, and `bottom_offset` are never read [INFO] [stdout] --> src/api.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct FontEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 145 | top_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | top_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 147 | bottom_x: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 148 | bottom_y: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | bottom_offset: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width` and `height` are never used [INFO] [stdout] --> src/api.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl FontEntry { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 153 | fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/api.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'a> BBMicroApi<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 276 | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 278 | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn color(&mut self, col: Color) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn print(&mut self, text: &str, x: f32, y: f32, use_camera: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn btnp(&self, b: Button) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn mget(&mut self, celx: u32, cely: u32, layer: u8, snum: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn sfx(&mut self, audio: &str, channel: i32, offset: u32, length: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/game1.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Game1 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/game1.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum Tiles { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 54 | Grass = 48, [INFO] [stdout] 55 | WaterTL = 16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | WaterTR = 17, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | WaterBL = 32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 58 | WaterBR = 33, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | WaterL = 34, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | WaterR = 19, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | Bird = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `musicName` should have a snake case name [INFO] [stdout] --> src/api.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | for musicName in audio_entries.music { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `music_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sfxName` should have a snake case name [INFO] [stdout] --> src/api.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | for sfxName in audio_entries.sfx { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sfx_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/api.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/api.rs:275:36 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/api.rs:275:44 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/api.rs:275:52 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/api.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/api.rs:277:40 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/api.rs:277:48 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/api.rs:277:56 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/api.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/api.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/api.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [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/api.rs:279:52 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [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/api.rs:290:50 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [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/api.rs:290:58 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flip_x` [INFO] [stdout] --> src/api.rs:290:66 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_flip_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flip_y` [INFO] [stdout] --> src/api.rs:290:80 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn spr(&mut self, n: u8, x: f32, y: f32, w: f32, h: f32, flip_x: bool, flip_y: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_flip_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let mut curr_y = y; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snum` [INFO] [stdout] --> src/api.rs:391:61 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn mget(&mut self, celx: u32, cely: u32, layer: u8, snum: u8) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_snum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/api.rs:428:54 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn sfx(&mut self, audio: &str, channel: i32, offset: u32, length: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/api.rs:428:67 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn sfx(&mut self, audio: &str, channel: i32, offset: u32, length: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fadems` [INFO] [stdout] --> src/api.rs:445:42 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn music(&mut self, audio: &str, fadems: u32, channelmask: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fadems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channelmask` [INFO] [stdout] --> src/api.rs:445:55 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn music(&mut self, audio: &str, fadems: u32, channelmask: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channelmask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | self.canvas.draw_rect(r); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 347 | let _ = self.canvas.draw_rect(r); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerInput` is never constructed [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct PlayerInput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl PlayerInput { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 23 | fn new() -> PlayerInput { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LEFT`, `UP`, and `DOWN` are never constructed [INFO] [stdout] --> src/api.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum Button { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 66 | LEFT, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | RIGHT, [INFO] [stdout] 68 | UP, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | DOWN, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pen` is never read [INFO] [stdout] --> src/api.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 124 | struct DrawState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | pen: Color, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture_creator`, `font_texture`, `sfx`, and `font_entries` are never read [INFO] [stdout] --> src/api.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct BBMicroApi<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 131 | canvas: &'a mut sdl2::render::WindowCanvas, [INFO] [stdout] 132 | texture_creator: &'a sdl2::render::TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | sprites_texture: sdl2::render::Texture<'a>, [INFO] [stdout] 134 | font_texture: sdl2::render::Texture<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 135 | sfx: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] 136 | music: HashMap>, [INFO] [stdout] 137 | font_entries: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_x`, `top_y`, `bottom_x`, `bottom_y`, and `bottom_offset` are never read [INFO] [stdout] --> src/api.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct FontEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 145 | top_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | top_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 147 | bottom_x: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 148 | bottom_y: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | bottom_offset: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width` and `height` are never used [INFO] [stdout] --> src/api.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl FontEntry { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 153 | fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/api.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'a> BBMicroApi<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 276 | [INFO] [stdout] 277 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 278 | [INFO] [stdout] 279 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn color(&mut self, col: Color) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn print(&mut self, text: &str, x: f32, y: f32, use_camera: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn btnp(&self, b: Button) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn mget(&mut self, celx: u32, cely: u32, layer: u8, snum: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn sfx(&mut self, audio: &str, channel: i32, offset: u32, length: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/game1.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Game1 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/game1.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum Tiles { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 54 | Grass = 48, [INFO] [stdout] 55 | WaterTL = 16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | WaterTR = 17, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | WaterBL = 32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 58 | WaterBR = 33, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | WaterL = 34, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | WaterR = 19, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | Bird = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `musicName` should have a snake case name [INFO] [stdout] --> src/api.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | for musicName in audio_entries.music { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `music_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sfxName` should have a snake case name [INFO] [stdout] --> src/api.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | for sfxName in audio_entries.sfx { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sfx_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | self.canvas.draw_rect(r); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 347 | let _ = self.canvas.draw_rect(r); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.16s [INFO] running `Command { std: "docker" "inspect" "50f032950784cfea72582ce0d17c3abe8faf10d9a991b1ec7da0774d1b36853b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f032950784cfea72582ce0d17c3abe8faf10d9a991b1ec7da0774d1b36853b", kill_on_drop: false }` [INFO] [stdout] 50f032950784cfea72582ce0d17c3abe8faf10d9a991b1ec7da0774d1b36853b