[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] checking boxdot/lba1-rs/34c8fee7fd957235482babf4a33e908adb879214 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboxdot%2Flba1-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boxdot/lba1-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.45 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 370ea74d815eca764528432ba4f2fecec3e9e32389f74232bb969a2c1b20eb75 [INFO] running `Command { std: "docker" "start" "-a" "370ea74d815eca764528432ba4f2fecec3e9e32389f74232bb969a2c1b20eb75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "370ea74d815eca764528432ba4f2fecec3e9e32389f74232bb969a2c1b20eb75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "370ea74d815eca764528432ba4f2fecec3e9e32389f74232bb969a2c1b20eb75", kill_on_drop: false }` [INFO] [stdout] 370ea74d815eca764528432ba4f2fecec3e9e32389f74232bb969a2c1b20eb75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 728db152f5649d8370e81921b9ea519e3cd82df1fc152de081a7271f6f3ce6ed [INFO] running `Command { std: "docker" "start" "-a" "728db152f5649d8370e81921b9ea519e3cd82df1fc152de081a7271f6f3ce6ed", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Checking lba1-rs v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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/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] [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] = note: `#[warn(unused_variables)]` on by default [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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/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] [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: `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 `CLIP_X_MIN` is never used [INFO] [stdout] --> src/screen.rs:4:7 [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 `CLIP_Y_MIN` is never used [INFO] [stdout] --> src/screen.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CLIP_Y_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_X_MAX` is never used [INFO] [stdout] --> src/screen.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CLIP_X_MAX: u32 = 639; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_Y_MAX` is never used [INFO] [stdout] --> src/screen.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CLIP_Y_MAX: u32 = 479; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_box` is never used [INFO] [stdout] --> src/screen.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [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: 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: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_X_MIN` is never used [INFO] [stdout] --> src/screen.rs:4:7 [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 `CLIP_Y_MIN` is never used [INFO] [stdout] --> src/screen.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CLIP_Y_MIN: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_X_MAX` is never used [INFO] [stdout] --> src/screen.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CLIP_X_MAX: u32 = 639; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIP_Y_MAX` is never used [INFO] [stdout] --> src/screen.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CLIP_Y_MAX: u32 = 479; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_box` is never used [INFO] [stdout] --> src/screen.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [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` profile [unoptimized + debuginfo] target(s) in 4.34s [INFO] running `Command { std: "docker" "inspect" "728db152f5649d8370e81921b9ea519e3cd82df1fc152de081a7271f6f3ce6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "728db152f5649d8370e81921b9ea519e3cd82df1fc152de081a7271f6f3ce6ed", kill_on_drop: false }` [INFO] [stdout] 728db152f5649d8370e81921b9ea519e3cd82df1fc152de081a7271f6f3ce6ed