[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboxdot%2Flba1-rs" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boxdot/lba1-rs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-94/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-02-22" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] [stderr] Downloaded sdl2 v0.35.1 [INFO] [stderr] Downloaded sdl2-sys v0.35.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58b01f0a2d3aeae866834a7efc1d2a9280210eede07b69f3a786d369eb1ac9a6 [INFO] running `Command { std: "docker" "start" "-a" "58b01f0a2d3aeae866834a7efc1d2a9280210eede07b69f3a786d369eb1ac9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58b01f0a2d3aeae866834a7efc1d2a9280210eede07b69f3a786d369eb1ac9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58b01f0a2d3aeae866834a7efc1d2a9280210eede07b69f3a786d369eb1ac9a6", kill_on_drop: false }` [INFO] [stdout] 58b01f0a2d3aeae866834a7efc1d2a9280210eede07b69f3a786d369eb1ac9a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd522537649cd0b65deb0d602156c19848ad638b2de34cc8b80337e0800ea53c [INFO] running `Command { std: "docker" "start" "-a" "bd522537649cd0b65deb0d602156c19848ad638b2de34cc8b80337e0800ea53c", 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 anyhow v1.0.45 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [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 1m 04s [INFO] running `Command { std: "docker" "inspect" "bd522537649cd0b65deb0d602156c19848ad638b2de34cc8b80337e0800ea53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd522537649cd0b65deb0d602156c19848ad638b2de34cc8b80337e0800ea53c", kill_on_drop: false }` [INFO] [stdout] bd522537649cd0b65deb0d602156c19848ad638b2de34cc8b80337e0800ea53c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5bec7cee0242e0f0fc6862222d6c614f7615c7b7d7b35fa307fcb51d9a23277 [INFO] running `Command { std: "docker" "start" "-a" "d5bec7cee0242e0f0fc6862222d6c614f7615c7b7d7b35fa307fcb51d9a23277", 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 0.96s [INFO] running `Command { std: "docker" "inspect" "d5bec7cee0242e0f0fc6862222d6c614f7615c7b7d7b35fa307fcb51d9a23277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5bec7cee0242e0f0fc6862222d6c614f7615c7b7d7b35fa307fcb51d9a23277", kill_on_drop: false }` [INFO] [stdout] d5bec7cee0242e0f0fc6862222d6c614f7615c7b7d7b35fa307fcb51d9a23277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3abdd309fec7ccbc834378ea168ebe9e215d3f9e30a1a082d50d09441c7f938e [INFO] running `Command { std: "docker" "start" "-a" "3abdd309fec7ccbc834378ea168ebe9e215d3f9e30a1a082d50d09441c7f938e", 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.13s [INFO] [stderr] Running unittests (/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" "3abdd309fec7ccbc834378ea168ebe9e215d3f9e30a1a082d50d09441c7f938e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abdd309fec7ccbc834378ea168ebe9e215d3f9e30a1a082d50d09441c7f938e", kill_on_drop: false }` [INFO] [stdout] 3abdd309fec7ccbc834378ea168ebe9e215d3f9e30a1a082d50d09441c7f938e