[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] testing beta-bytes/bbmicro against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-bytes%2Fbbmicro" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beta-bytes/bbmicro on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-9/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 112fe3c8d187fd2d057285ab81bc7c14dad652e46ca0dfdb121d2502e9abbe91 [INFO] running `Command { std: "docker" "start" "-a" "112fe3c8d187fd2d057285ab81bc7c14dad652e46ca0dfdb121d2502e9abbe91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "112fe3c8d187fd2d057285ab81bc7c14dad652e46ca0dfdb121d2502e9abbe91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112fe3c8d187fd2d057285ab81bc7c14dad652e46ca0dfdb121d2502e9abbe91", kill_on_drop: false }` [INFO] [stdout] 112fe3c8d187fd2d057285ab81bc7c14dad652e46ca0dfdb121d2502e9abbe91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d886fb462e092db37644faf536a8a76dfc60b47e549c195112d73e319c62ce8f [INFO] running `Command { std: "docker" "start" "-a" "d886fb462e092db37644faf536a8a76dfc60b47e549c195112d73e319c62ce8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling bbmicro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - if((goomba.x -self.x).abs() < 3.0 && (goomba.y -self.y).abs() < 3.0) { [INFO] [stdout] 102 + if (goomba.x -self.x).abs() < 3.0 && (goomba.y -self.y).abs() < 3.0 { [INFO] [stdout] | [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: 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: field is never read: `bottom_offset` [INFO] [stdout] --> src/api.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | bottom_offset: f64, [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.bbmicro.c454f098-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c.ytv889ma7q9y0vi.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-3c06d863b686e630.rlib" "/opt/rustwide/target/debug/deps/libryu-8c106c7dece5fbd0.rlib" "/opt/rustwide/target/debug/deps/libitoa-844153741323d3c4.rlib" "/opt/rustwide/target/debug/deps/librand-4ed1ed06d2894cd5.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-15a032aae5452637.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-b183ff56153a063c.rlib" "/opt/rustwide/target/debug/deps/librand_core-fac7ba60a0c61518.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-b4707ba86f4421cb.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/libserde-6ef4badb46c3602c.rlib" "/opt/rustwide/target/debug/deps/libsdl2-dd2d121c01bd28c4.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-c02aeb74314917c5.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/liblibc-616817a6aabf49ff.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_mixer" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bbmicro-9408c212c91dbc6c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_mixer [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bbmicro` due to 2 previous errors; 46 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d886fb462e092db37644faf536a8a76dfc60b47e549c195112d73e319c62ce8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d886fb462e092db37644faf536a8a76dfc60b47e549c195112d73e319c62ce8f", kill_on_drop: false }` [INFO] [stdout] d886fb462e092db37644faf536a8a76dfc60b47e549c195112d73e319c62ce8f