[INFO] cloning repository https://github.com/boxdot/lba1-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boxdot/lba1-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboxdot%2Flba1-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboxdot%2Flba1-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34c8fee7fd957235482babf4a33e908adb879214 [INFO] testing boxdot/lba1-rs 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%2Fboxdot%2Flba1-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boxdot/lba1-rs 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/boxdot/lba1-rs [INFO] finished tweaking git repo https://github.com/boxdot/lba1-rs [INFO] tweaked toml for git repo https://github.com/boxdot/lba1-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/boxdot/lba1-rs 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 88ac1a81b553845c427421113684898ffb1bf99bd7dc3acfa2d4bda3f7ba4975 [INFO] running `Command { std: "docker" "start" "-a" "88ac1a81b553845c427421113684898ffb1bf99bd7dc3acfa2d4bda3f7ba4975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88ac1a81b553845c427421113684898ffb1bf99bd7dc3acfa2d4bda3f7ba4975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ac1a81b553845c427421113684898ffb1bf99bd7dc3acfa2d4bda3f7ba4975", kill_on_drop: false }` [INFO] [stdout] 88ac1a81b553845c427421113684898ffb1bf99bd7dc3acfa2d4bda3f7ba4975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0dc86ee113f2f1776ff628b87495338d9004b0e42f3e5cd53f794e186e6b6cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a0dc86ee113f2f1776ff628b87495338d9004b0e42f3e5cd53f794e186e6b6cb", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Compiling lba1-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0_1` [INFO] [stdout] --> src/gamemenu.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0_1` [INFO] [stdout] --> src/gamemenu.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_y0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:246:46 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/gamemenu.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xd` [INFO] [stdout] --> src/gamemenu.rs:246:67 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yd` [INFO] [stdout] --> src/gamemenu.rs:246:76 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/gamemenu.rs:246:85 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/gamemenu.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let selected = menu[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/gamemenu.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let num_entries = menu[1]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x2` is never read [INFO] [stdout] --> src/gamemenu.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut x2: u32 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/gamemenu.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | fn draw_one_choice(&mut self, x: usize, y: usize, typ: usize, num: usize, select: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:226:61 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:230:42 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/gamemenu.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:27:69 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_X_MIN` [INFO] [stdout] --> src/screen.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const CLIP_X_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_Y_MIN` [INFO] [stdout] --> src/screen.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const CLIP_Y_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_X_MAX` [INFO] [stdout] --> src/screen.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const CLIP_X_MAX: u32 = 639; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_Y_MAX` [INFO] [stdout] --> src/screen.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const CLIP_Y_MAX: u32 = 479; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_box` [INFO] [stdout] --> src/screen.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.02s [INFO] running `Command { std: "docker" "inspect" "a0dc86ee113f2f1776ff628b87495338d9004b0e42f3e5cd53f794e186e6b6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0dc86ee113f2f1776ff628b87495338d9004b0e42f3e5cd53f794e186e6b6cb", kill_on_drop: false }` [INFO] [stdout] a0dc86ee113f2f1776ff628b87495338d9004b0e42f3e5cd53f794e186e6b6cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fff5dcb7fae2f6e21afd7245ac2ef0ebbde941391f280e1bbddb59b2a6635bd2 [INFO] running `Command { std: "docker" "start" "-a" "fff5dcb7fae2f6e21afd7245ac2ef0ebbde941391f280e1bbddb59b2a6635bd2", kill_on_drop: false }` [INFO] [stderr] Compiling lba1-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0_1` [INFO] [stdout] --> src/gamemenu.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0_1` [INFO] [stdout] --> src/gamemenu.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_y0_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:246:46 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/gamemenu.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xd` [INFO] [stdout] --> src/gamemenu.rs:246:67 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yd` [INFO] [stdout] --> src/gamemenu.rs:246:76 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/gamemenu.rs:246:85 [INFO] [stdout] | [INFO] [stdout] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/gamemenu.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let selected = menu[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/gamemenu.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let num_entries = menu[1]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x2` is never read [INFO] [stdout] --> src/gamemenu.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let mut x2: u32 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/gamemenu.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | fn draw_one_choice(&mut self, x: usize, y: usize, typ: usize, num: usize, select: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/gamemenu.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/gamemenu.rs:226:61 [INFO] [stdout] | [INFO] [stdout] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/gamemenu.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/gamemenu.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/gamemenu.rs:230:42 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/gamemenu.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/gamemenu.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:27:69 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x0` [INFO] [stdout] --> src/screen.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y0` [INFO] [stdout] --> src/screen.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/screen.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/screen.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/screen.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_X_MIN` [INFO] [stdout] --> src/screen.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const CLIP_X_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_Y_MIN` [INFO] [stdout] --> src/screen.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const CLIP_Y_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_X_MAX` [INFO] [stdout] --> src/screen.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const CLIP_X_MAX: u32 = 639; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_Y_MAX` [INFO] [stdout] --> src/screen.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const CLIP_Y_MAX: u32 = 479; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_box` [INFO] [stdout] --> src/screen.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.67s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/lba1_rs-794b8f6f494f0b9f) [INFO] running `Command { std: "docker" "inspect" "fff5dcb7fae2f6e21afd7245ac2ef0ebbde941391f280e1bbddb59b2a6635bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff5dcb7fae2f6e21afd7245ac2ef0ebbde941391f280e1bbddb59b2a6635bd2", kill_on_drop: false }` [INFO] [stdout] fff5dcb7fae2f6e21afd7245ac2ef0ebbde941391f280e1bbddb59b2a6635bd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3eec86dac817d341e7eaa45bbbda584aa0f379db4350ae0ca0b09c590a14c7bd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3eec86dac817d341e7eaa45bbbda584aa0f379db4350ae0ca0b09c590a14c7bd", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `x0` [INFO] [stderr] --> src/gamemenu.rs:242:14 [INFO] [stderr] | [INFO] [stderr] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y0` [INFO] [stderr] --> src/gamemenu.rs:242:23 [INFO] [stderr] | [INFO] [stderr] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x1` [INFO] [stderr] --> src/gamemenu.rs:242:32 [INFO] [stderr] | [INFO] [stderr] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y1` [INFO] [stderr] --> src/gamemenu.rs:242:41 [INFO] [stderr] | [INFO] [stderr] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg` [INFO] [stderr] --> src/gamemenu.rs:242:50 [INFO] [stderr] | [INFO] [stderr] 242 | fn shade_box(x0: u32, y0: u32, x1: u32, y1: u32, arg: i32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x0_1` [INFO] [stderr] --> src/gamemenu.rs:246:15 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x0_1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y0_1` [INFO] [stderr] --> src/gamemenu.rs:246:26 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_y0_1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x1` [INFO] [stderr] --> src/gamemenu.rs:246:37 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y1` [INFO] [stderr] --> src/gamemenu.rs:246:46 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/gamemenu.rs:246:55 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `xd` [INFO] [stderr] --> src/gamemenu.rs:246:67 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_xd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `yd` [INFO] [stderr] --> src/gamemenu.rs:246:76 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_yd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> src/gamemenu.rs:246:85 [INFO] [stderr] | [INFO] [stderr] 246 | fn copy_block(x0_1: u32, y0_1: u32, x1: u32, y1: u32, src: &[u8], xd: u32, yd: u32, dst: &[u8]) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `selected` [INFO] [stderr] --> src/gamemenu.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | let selected = menu[0]; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_entries` [INFO] [stderr] --> src/gamemenu.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | let num_entries = menu[1]; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `x2` is never read [INFO] [stderr] --> src/gamemenu.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | let mut x2: u32 = 0; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/gamemenu.rs:155:67 [INFO] [stderr] | [INFO] [stderr] 155 | fn draw_one_choice(&mut self, x: usize, y: usize, typ: usize, num: usize, select: bool) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x0` [INFO] [stderr] --> src/gamemenu.rs:226:25 [INFO] [stderr] | [INFO] [stderr] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y0` [INFO] [stderr] --> src/gamemenu.rs:226:34 [INFO] [stderr] | [INFO] [stderr] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x2` [INFO] [stderr] --> src/gamemenu.rs:226:43 [INFO] [stderr] | [INFO] [stderr] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y1` [INFO] [stderr] --> src/gamemenu.rs:226:52 [INFO] [stderr] | [INFO] [stderr] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg` [INFO] [stderr] --> src/gamemenu.rs:226:61 [INFO] [stderr] | [INFO] [stderr] 226 | fn draw_fire(&self, x0: u32, y0: u32, x2: u32, y1: u32, arg: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x2` [INFO] [stderr] --> src/gamemenu.rs:230:24 [INFO] [stderr] | [INFO] [stderr] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y0` [INFO] [stderr] --> src/gamemenu.rs:230:33 [INFO] [stderr] | [INFO] [stderr] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x1` [INFO] [stderr] --> src/gamemenu.rs:230:42 [INFO] [stderr] | [INFO] [stderr] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y1` [INFO] [stderr] --> src/gamemenu.rs:230:51 [INFO] [stderr] | [INFO] [stderr] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/gamemenu.rs:230:60 [INFO] [stderr] | [INFO] [stderr] 230 | fn draw_box(&self, x2: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x0` [INFO] [stderr] --> src/screen.rs:27:33 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y0` [INFO] [stderr] --> src/screen.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x1` [INFO] [stderr] --> src/screen.rs:27:51 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y1` [INFO] [stderr] --> src/screen.rs:27:60 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/screen.rs:27:69 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn draw_line(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x0` [INFO] [stderr] --> src/screen.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y0` [INFO] [stderr] --> src/screen.rs:31:41 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x1` [INFO] [stderr] --> src/screen.rs:31:50 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y1` [INFO] [stderr] --> src/screen.rs:31:59 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/screen.rs:31:68 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CLIP_X_MIN` [INFO] [stderr] --> src/screen.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const CLIP_X_MIN: u32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CLIP_Y_MIN` [INFO] [stderr] --> src/screen.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | const CLIP_Y_MIN: u32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CLIP_X_MAX` [INFO] [stderr] --> src/screen.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | const CLIP_X_MAX: u32 = 639; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CLIP_Y_MAX` [INFO] [stderr] --> src/screen.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | const CLIP_Y_MAX: u32 = 479; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `draw_box` [INFO] [stderr] --> src/screen.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn draw_box(&mut self, x0: u32, y0: u32, x1: u32, y1: u32, color: u8) {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lba1-rs` (bin "lba1-rs" test) generated 42 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lba1_rs-794b8f6f494f0b9f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3eec86dac817d341e7eaa45bbbda584aa0f379db4350ae0ca0b09c590a14c7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eec86dac817d341e7eaa45bbbda584aa0f379db4350ae0ca0b09c590a14c7bd", kill_on_drop: false }` [INFO] [stdout] 3eec86dac817d341e7eaa45bbbda584aa0f379db4350ae0ca0b09c590a14c7bd