[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] building boxdot/lba1-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboxdot%2Flba1-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boxdot/lba1-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90ccf3fb92e45279353ecfcf4d5892c251d866face6e5c69f5a812463960b216 [INFO] running `Command { std: "docker" "start" "-a" "90ccf3fb92e45279353ecfcf4d5892c251d866face6e5c69f5a812463960b216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90ccf3fb92e45279353ecfcf4d5892c251d866face6e5c69f5a812463960b216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ccf3fb92e45279353ecfcf4d5892c251d866face6e5c69f5a812463960b216", kill_on_drop: false }` [INFO] [stdout] 90ccf3fb92e45279353ecfcf4d5892c251d866face6e5c69f5a812463960b216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d79fead6dcbfe28f9c1804abc18b09afddd274ed035998199243380f87bd503 [INFO] running `Command { std: "docker" "start" "-a" "0d79fead6dcbfe28f9c1804abc18b09afddd274ed035998199243380f87bd503", 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] 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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "0d79fead6dcbfe28f9c1804abc18b09afddd274ed035998199243380f87bd503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d79fead6dcbfe28f9c1804abc18b09afddd274ed035998199243380f87bd503", kill_on_drop: false }` [INFO] [stdout] 0d79fead6dcbfe28f9c1804abc18b09afddd274ed035998199243380f87bd503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 571c520be8d2a8a3206438a4da6ad1d9097f6bb76440f838f757522bb74809ab [INFO] running `Command { std: "docker" "start" "-a" "571c520be8d2a8a3206438a4da6ad1d9097f6bb76440f838f757522bb74809ab", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "571c520be8d2a8a3206438a4da6ad1d9097f6bb76440f838f757522bb74809ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571c520be8d2a8a3206438a4da6ad1d9097f6bb76440f838f757522bb74809ab", kill_on_drop: false }` [INFO] [stdout] 571c520be8d2a8a3206438a4da6ad1d9097f6bb76440f838f757522bb74809ab