[INFO] cloning repository https://github.com/markfeathers/rusty-gbe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markfeathers/rusty-gbe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkfeathers%2Frusty-gbe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkfeathers%2Frusty-gbe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 290133ca5c0448f5e31f31d4d42bac2a2d544277 [INFO] testing markfeathers/rusty-gbe against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkfeathers%2Frusty-gbe" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/markfeathers/rusty-gbe on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/markfeathers/rusty-gbe [INFO] finished tweaking git repo https://github.com/markfeathers/rusty-gbe [INFO] tweaked toml for git repo https://github.com/markfeathers/rusty-gbe written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/markfeathers/rusty-gbe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21230e1f053233b257ea40a2db415e5963ec90ca98b58c84566c907aef76ea97 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "21230e1f053233b257ea40a2db415e5963ec90ca98b58c84566c907aef76ea97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21230e1f053233b257ea40a2db415e5963ec90ca98b58c84566c907aef76ea97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21230e1f053233b257ea40a2db415e5963ec90ca98b58c84566c907aef76ea97", kill_on_drop: false }` [INFO] [stdout] 21230e1f053233b257ea40a2db415e5963ec90ca98b58c84566c907aef76ea97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55cb4eb1f0810dde2f85de16278a611e882612f5ef76abdeeb4f975f5125319e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "55cb4eb1f0810dde2f85de16278a611e882612f5ef76abdeeb4f975f5125319e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Compiling inplace_it v0.3.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling pollster v0.2.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling tracing-core v0.1.15 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling wgpu-types v0.6.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling ultraviolet v0.4.6 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-memory v0.2.0 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling wgpu-core v0.6.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling wgpu v0.6.0 [INFO] [stderr] Compiling winit_input_helper v0.6.0 [INFO] [stderr] Compiling pixels v0.2.0 [INFO] [stderr] Compiling rusty-gbe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/gameboy/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 60 | / loop { [INFO] [stdout] 61 | | let cycles = gb.cpu_run_op(); [INFO] [stdout] 62 | | gb.gpu_run(cycles); [INFO] [stdout] 63 | | gb.timers_run(cycles); [INFO] [stdout] ... | [INFO] [stdout] 67 | | }*/ [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 69 | [INFO] [stdout] 70 | / event_loop.run(move |event, _, control_flow| { [INFO] [stdout] 71 | | // Draw the current frame [INFO] [stdout] 72 | | if let Event::RedrawRequested(_) = event { [INFO] [stdout] 73 | | let frame = pixels.get_frame(); [INFO] [stdout] ... | [INFO] [stdout] 115 | | }*/ [INFO] [stdout] 116 | | }); [INFO] [stdout] | |_______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let values: Vec = foo.split(",").filter_map(|x| x.parse::().ok()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut input = WinitInputHelper::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut pixels = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tac` [INFO] [stdout] --> src/gameboy/timers.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let tac = self.mmu_read8(TAC); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut input = WinitInputHelper::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut pixels = { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_right` [INFO] [stdout] --> src/gameboy/cpu.rs:2077:8 [INFO] [stdout] | [INFO] [stdout] 2077 | fn rotate_right(&mut self, value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default_no_bios` [INFO] [stdout] --> src/gameboy/registers.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn default_no_bios() -> Registers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DMA` [INFO] [stdout] --> src/gameboy/gpu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const DMA: u16 = 0xFF46; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OBP0` [INFO] [stdout] --> src/gameboy/gpu.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const OBP0: u16 = 0xFF48; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OBP1` [INFO] [stdout] --> src/gameboy/gpu.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const OBP1: u16 = 0xFF49; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IME` [INFO] [stdout] --> src/gameboy/interrupts.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const IME: u16 = 0xFF40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIMA` [INFO] [stdout] --> src/gameboy/timers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const TIMA: u16 = 0xFF05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIM` [INFO] [stdout] --> src/gameboy/timers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const TIM: u16 = 0xFF06; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "55cb4eb1f0810dde2f85de16278a611e882612f5ef76abdeeb4f975f5125319e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cb4eb1f0810dde2f85de16278a611e882612f5ef76abdeeb4f975f5125319e", kill_on_drop: false }` [INFO] [stdout] 55cb4eb1f0810dde2f85de16278a611e882612f5ef76abdeeb4f975f5125319e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 693e78b2c68029cdd5b580ccbfeda247636e584d8de0d097e8032a087d9e415b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "693e78b2c68029cdd5b580ccbfeda247636e584d8de0d097e8032a087d9e415b", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-gbe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/gameboy/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 60 | / loop { [INFO] [stdout] 61 | | let cycles = gb.cpu_run_op(); [INFO] [stdout] 62 | | gb.gpu_run(cycles); [INFO] [stdout] 63 | | gb.timers_run(cycles); [INFO] [stdout] ... | [INFO] [stdout] 67 | | }*/ [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 69 | [INFO] [stdout] 70 | / event_loop.run(move |event, _, control_flow| { [INFO] [stdout] 71 | | // Draw the current frame [INFO] [stdout] 72 | | if let Event::RedrawRequested(_) = event { [INFO] [stdout] 73 | | let frame = pixels.get_frame(); [INFO] [stdout] ... | [INFO] [stdout] 115 | | }*/ [INFO] [stdout] 116 | | }); [INFO] [stdout] | |_______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let values: Vec = foo.split(",").filter_map(|x| x.parse::().ok()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut input = WinitInputHelper::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut pixels = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tac` [INFO] [stdout] --> src/gameboy/timers.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let tac = self.mmu_read8(TAC); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut input = WinitInputHelper::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut pixels = { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_right` [INFO] [stdout] --> src/gameboy/cpu.rs:2077:8 [INFO] [stdout] | [INFO] [stdout] 2077 | fn rotate_right(&mut self, value: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default_no_bios` [INFO] [stdout] --> src/gameboy/registers.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn default_no_bios() -> Registers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DMA` [INFO] [stdout] --> src/gameboy/gpu.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const DMA: u16 = 0xFF46; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OBP0` [INFO] [stdout] --> src/gameboy/gpu.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const OBP0: u16 = 0xFF48; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OBP1` [INFO] [stdout] --> src/gameboy/gpu.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const OBP1: u16 = 0xFF49; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IME` [INFO] [stdout] --> src/gameboy/interrupts.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const IME: u16 = 0xFF40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIMA` [INFO] [stdout] --> src/gameboy/timers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const TIMA: u16 = 0xFF05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIM` [INFO] [stdout] --> src/gameboy/timers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const TIM: u16 = 0xFF06; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "693e78b2c68029cdd5b580ccbfeda247636e584d8de0d097e8032a087d9e415b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693e78b2c68029cdd5b580ccbfeda247636e584d8de0d097e8032a087d9e415b", kill_on_drop: false }` [INFO] [stdout] 693e78b2c68029cdd5b580ccbfeda247636e584d8de0d097e8032a087d9e415b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81802042c9663fe0a3a9a9e3d83bc6820b23ddc0583316e606575ac48770b1fd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81802042c9663fe0a3a9a9e3d83bc6820b23ddc0583316e606575ac48770b1fd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/gameboy/cpu.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 60 | / loop { [INFO] [stderr] 61 | | let cycles = gb.cpu_run_op(); [INFO] [stderr] 62 | | gb.gpu_run(cycles); [INFO] [stderr] 63 | | gb.timers_run(cycles); [INFO] [stderr] ... | [INFO] [stderr] 67 | | }*/ [INFO] [stderr] 68 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 69 | [INFO] [stderr] 70 | / event_loop.run(move |event, _, control_flow| { [INFO] [stderr] 71 | | // Draw the current frame [INFO] [stderr] 72 | | if let Event::RedrawRequested(_) = event { [INFO] [stderr] 73 | | let frame = pixels.get_frame(); [INFO] [stderr] ... | [INFO] [stderr] 115 | | }*/ [INFO] [stderr] 116 | | }); [INFO] [stderr] | |_______^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `values` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let values: Vec = foo.split(",").filter_map(|x| x.parse::().ok()).collect(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/main.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let mut input = WinitInputHelper::new(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pixels` [INFO] [stderr] --> src/main.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let mut pixels = { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tac` [INFO] [stderr] --> src/gameboy/timers.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let tac = self.mmu_read8(TAC); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tac` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let mut input = WinitInputHelper::new(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let mut pixels = { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rotate_right` [INFO] [stderr] --> src/gameboy/cpu.rs:2077:8 [INFO] [stderr] | [INFO] [stderr] 2077 | fn rotate_right(&mut self, value: u8) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default_no_bios` [INFO] [stderr] --> src/gameboy/registers.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn default_no_bios() -> Registers { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DMA` [INFO] [stderr] --> src/gameboy/gpu.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | const DMA: u16 = 0xFF46; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OBP0` [INFO] [stderr] --> src/gameboy/gpu.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | const OBP0: u16 = 0xFF48; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OBP1` [INFO] [stderr] --> src/gameboy/gpu.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | const OBP1: u16 = 0xFF49; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `IME` [INFO] [stderr] --> src/gameboy/interrupts.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | const IME: u16 = 0xFF40; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `TIMA` [INFO] [stderr] --> src/gameboy/timers.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const TIMA: u16 = 0xFF05; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `TIM` [INFO] [stderr] --> src/gameboy/timers.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | const TIM: u16 = 0xFF06; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_gbe-308168115683820d [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81802042c9663fe0a3a9a9e3d83bc6820b23ddc0583316e606575ac48770b1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81802042c9663fe0a3a9a9e3d83bc6820b23ddc0583316e606575ac48770b1fd", kill_on_drop: false }` [INFO] [stdout] 81802042c9663fe0a3a9a9e3d83bc6820b23ddc0583316e606575ac48770b1fd