[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] 5456af2fd9c6b9fe9ebf725a793303f4a04cdab6 [INFO] checking beta-bytes/bbmicro against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-bytes%2Fbbmicro" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beta-bytes/bbmicro on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-2/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: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14127c776a1f652672c21f65847df2871efbcf8de6d17f14fb2430d4d7792f82 [INFO] running `Command { std: "docker" "start" "-a" "14127c776a1f652672c21f65847df2871efbcf8de6d17f14fb2430d4d7792f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14127c776a1f652672c21f65847df2871efbcf8de6d17f14fb2430d4d7792f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14127c776a1f652672c21f65847df2871efbcf8de6d17f14fb2430d4d7792f82", kill_on_drop: false }` [INFO] [stdout] 14127c776a1f652672c21f65847df2871efbcf8de6d17f14fb2430d4d7792f82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8014cc1137cd92d818eabbfc4fe2ee50aa08088d8057630c55f6f9e6d5fc3e8e [INFO] running `Command { std: "docker" "start" "-a" "8014cc1137cd92d818eabbfc4fe2ee50aa08088d8057630c55f6f9e6d5fc3e8e", 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 cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking cfg-if v1.0.0 [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 bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bbmicro v0.1.0 (/opt/rustwide/workdir) [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game1.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | if((goomba.x -self.x).abs() < 3.0 && (goomba.y -self.y).abs() < 3.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game1.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | if((goomba.x -self.x).abs() < 3.0 && (goomba.y -self.y).abs() < 3.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/api.rs:268:28 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:36 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:44 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:52 [INFO] [stdout] | [INFO] [stdout] 268 | 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:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:40 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:48 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:56 [INFO] [stdout] | [INFO] [stdout] 270 | 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:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | 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:272:36 [INFO] [stdout] | [INFO] [stdout] 272 | 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:272:44 [INFO] [stdout] | [INFO] [stdout] 272 | 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:272:52 [INFO] [stdout] | [INFO] [stdout] 272 | 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:283:50 [INFO] [stdout] | [INFO] [stdout] 283 | 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:283:58 [INFO] [stdout] | [INFO] [stdout] 283 | 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:283:66 [INFO] [stdout] | [INFO] [stdout] 283 | 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:283:80 [INFO] [stdout] | [INFO] [stdout] 283 | 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: unused variable: `snum` [INFO] [stdout] --> src/api.rs:382:61 [INFO] [stdout] | [INFO] [stdout] 382 | 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:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | 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:419:67 [INFO] [stdout] | [INFO] [stdout] 419 | 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:436:42 [INFO] [stdout] | [INFO] [stdout] 436 | 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:436:55 [INFO] [stdout] | [INFO] [stdout] 436 | 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 variable: `x` [INFO] [stdout] --> src/api.rs:268:28 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:36 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:44 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:52 [INFO] [stdout] | [INFO] [stdout] 268 | 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:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:40 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:48 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:56 [INFO] [stdout] | [INFO] [stdout] 270 | 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:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | 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:272:36 [INFO] [stdout] | [INFO] [stdout] 272 | 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:272:44 [INFO] [stdout] | [INFO] [stdout] 272 | 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:272:52 [INFO] [stdout] | [INFO] [stdout] 272 | 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:283:50 [INFO] [stdout] | [INFO] [stdout] 283 | 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:283:58 [INFO] [stdout] | [INFO] [stdout] 283 | 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:283:66 [INFO] [stdout] | [INFO] [stdout] 283 | 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:283:80 [INFO] [stdout] | [INFO] [stdout] 283 | 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: unused variable: `snum` [INFO] [stdout] --> src/api.rs:382:61 [INFO] [stdout] | [INFO] [stdout] 382 | 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:419:54 [INFO] [stdout] | [INFO] [stdout] 419 | 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:419:67 [INFO] [stdout] | [INFO] [stdout] 419 | 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:436:42 [INFO] [stdout] | [INFO] [stdout] 436 | 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:436:55 [INFO] [stdout] | [INFO] [stdout] 436 | 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: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | 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: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | 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: variant is never constructed: `A` [INFO] [stdout] --> src/api.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/api.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | B, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pen` [INFO] [stdout] --> src/api.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pen: Color, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_creator` [INFO] [stdout] --> src/api.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | texture_creator: &'a sdl2::render::TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `music` [INFO] [stdout] --> src/api.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | music: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `circ` [INFO] [stdout] --> src/api.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `circfill` [INFO] [stdout] --> src/api.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clip` [INFO] [stdout] --> src/api.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `color` [INFO] [stdout] --> src/api.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn color(&mut self, col: Color) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `btnp` [INFO] [stdout] --> src/api.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn btnp(&self, b: Button) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mget` [INFO] [stdout] --> src/api.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn mget(&mut self, celx: u32, cely: u32, layer: u8, snum: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `music` [INFO] [stdout] --> src/api.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn music(&mut self, audio: &str, fadems: u32, channelmask: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PlayerInput` [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct PlayerInput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn new() -> PlayerInput { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `musicName` should have a snake case name [INFO] [stdout] --> src/api.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | 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:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | 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:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | self.canvas.draw_rect(r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/api.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/api.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | B, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pen` [INFO] [stdout] --> src/api.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pen: Color, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_creator` [INFO] [stdout] --> src/api.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | texture_creator: &'a sdl2::render::TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `music` [INFO] [stdout] --> src/api.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | music: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `circ` [INFO] [stdout] --> src/api.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn circ(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `circfill` [INFO] [stdout] --> src/api.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn circfill(&mut self, x: f32, y: f32, r: f32, col: Color) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clip` [INFO] [stdout] --> src/api.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn clip(&mut self, x: f32, y: f32, w: f32, h: f32) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `color` [INFO] [stdout] --> src/api.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn color(&mut self, col: Color) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `btnp` [INFO] [stdout] --> src/api.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn btnp(&self, b: Button) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mget` [INFO] [stdout] --> src/api.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn mget(&mut self, celx: u32, cely: u32, layer: u8, snum: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `music` [INFO] [stdout] --> src/api.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn music(&mut self, audio: &str, fadems: u32, channelmask: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PlayerInput` [INFO] [stdout] --> src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct PlayerInput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn new() -> PlayerInput { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `musicName` should have a snake case name [INFO] [stdout] --> src/api.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | 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:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | 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:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | self.canvas.draw_rect(r); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.31s [INFO] running `Command { std: "docker" "inspect" "8014cc1137cd92d818eabbfc4fe2ee50aa08088d8057630c55f6f9e6d5fc3e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8014cc1137cd92d818eabbfc4fe2ee50aa08088d8057630c55f6f9e6d5fc3e8e", kill_on_drop: false }` [INFO] [stdout] 8014cc1137cd92d818eabbfc4fe2ee50aa08088d8057630c55f6f9e6d5fc3e8e