[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-bytes%2Fbbmicro" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beta-bytes/bbmicro on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-27/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 119042d470b0f4b996009a9096e4e7ee73c1833f394f38830f9708cfdcd07601 [INFO] running `Command { std: "docker" "start" "-a" "119042d470b0f4b996009a9096e4e7ee73c1833f394f38830f9708cfdcd07601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "119042d470b0f4b996009a9096e4e7ee73c1833f394f38830f9708cfdcd07601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119042d470b0f4b996009a9096e4e7ee73c1833f394f38830f9708cfdcd07601", kill_on_drop: false }` [INFO] [stdout] 119042d470b0f4b996009a9096e4e7ee73c1833f394f38830f9708cfdcd07601 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5379568c8fc2c1028ee2494a46daae781ad376c67bb35d5f55303de73020d6dd [INFO] running `Command { std: "docker" "start" "-a" "5379568c8fc2c1028ee2494a46daae781ad376c67bb35d5f55303de73020d6dd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling bbmicro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [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] [stderr] Compiling serde_json v1.0.64 [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: 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] = note: `#[warn(dead_code)]` on by default [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: variant is never constructed: `A` [INFO] [stdout] --> src/api.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | A, [INFO] [stdout] | ^ [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] note: `FontEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/api.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.bbmicro.3b6644fe-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe.14tr5nbkcrzdim53.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-96170442bde28bfb.rlib" "/opt/rustwide/target/debug/deps/libryu-9e35d986fcbafb23.rlib" "/opt/rustwide/target/debug/deps/libitoa-7c14328d9548cc59.rlib" "/opt/rustwide/target/debug/deps/librand-47928f5a864bd7c2.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-40b70c977acb2fc2.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-4b4e10d54e032e24.rlib" "/opt/rustwide/target/debug/deps/librand_core-46efd0beadc98f91.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-732cd0ca354945d0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/libserde-abc44d5194a54c25.rlib" "/opt/rustwide/target/debug/deps/libsdl2-1db8a1d4ca521b53.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-43d0a67c8dcd28bd.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/liblibc-8e675129f2ac94e8.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.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/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bbmicro-ec85bb8c2ed01dfe" "-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" "5379568c8fc2c1028ee2494a46daae781ad376c67bb35d5f55303de73020d6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5379568c8fc2c1028ee2494a46daae781ad376c67bb35d5f55303de73020d6dd", kill_on_drop: false }` [INFO] [stdout] 5379568c8fc2c1028ee2494a46daae781ad376c67bb35d5f55303de73020d6dd