[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeta-bytes%2Fbbmicro" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beta-bytes/bbmicro on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-57/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" "+1.55.0" "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-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d87998ba405f4151a495b62c2d6c48c69bdbc391eedc6000dfa0319303aa1143 [INFO] running `Command { std: "docker" "start" "-a" "d87998ba405f4151a495b62c2d6c48c69bdbc391eedc6000dfa0319303aa1143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d87998ba405f4151a495b62c2d6c48c69bdbc391eedc6000dfa0319303aa1143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87998ba405f4151a495b62c2d6c48c69bdbc391eedc6000dfa0319303aa1143", kill_on_drop: false }` [INFO] [stdout] d87998ba405f4151a495b62c2d6c48c69bdbc391eedc6000dfa0319303aa1143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e07bc1a85c91e79718332775de2e4ccaab7e860803184fd7a521e9bf877e9536 [INFO] running `Command { std: "docker" "start" "-a" "e07bc1a85c91e79718332775de2e4ccaab7e860803184fd7a521e9bf877e9536", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 syn v1.0.72 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [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 ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bbmicro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling quote v1.0.9 [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] [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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.bbmicro.6a2cc680-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b.151ntdlugw0x6vnp.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-afe42ca44f5bc209.rlib" "/opt/rustwide/target/debug/deps/libryu-739207766fb1644f.rlib" "/opt/rustwide/target/debug/deps/libitoa-13ead38c9c534969.rlib" "/opt/rustwide/target/debug/deps/librand-28a195272754a032.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-a7485232661dc703.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-069634687179693a.rlib" "/opt/rustwide/target/debug/deps/librand_core-ce7a263276bd98d5.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-f6f7b18b6e1d705f.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/libserde-07c2d3ead1d8aaa2.rlib" "/opt/rustwide/target/debug/deps/libsdl2-4d0d23370614c544.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-e0048b04c8db157a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-117d41ac256572da.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/liblibc-618bec1984f2f9b2.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bbmicro-c66864c7f093249b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bbmicro` due to 2 previous errors; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e07bc1a85c91e79718332775de2e4ccaab7e860803184fd7a521e9bf877e9536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07bc1a85c91e79718332775de2e4ccaab7e860803184fd7a521e9bf877e9536", kill_on_drop: false }` [INFO] [stdout] e07bc1a85c91e79718332775de2e4ccaab7e860803184fd7a521e9bf877e9536