[INFO] cloning repository https://github.com/gdunton/rust-gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gdunton/rust-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdunton%2Frust-gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdunton%2Frust-gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d336f0a61ddb492ea097f9220ce4e49896a9052b [INFO] testing gdunton/rust-gb against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdunton%2Frust-gb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gdunton/rust-gb [INFO] finished tweaking git repo https://github.com/gdunton/rust-gb [INFO] tweaked toml for git repo https://github.com/gdunton/rust-gb written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gdunton/rust-gb on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gdunton/rust-gb 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston-viewport v1.0.2 [INFO] [stderr] Downloaded pistoncore-window v1.0.0 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded piston-graphics_api_version v1.0.1 [INFO] [stderr] Downloaded glutin-winit v0.3.0 [INFO] [stderr] Downloaded piston-texture v0.9.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.72.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.47 [INFO] [stderr] Downloaded interpolation v0.3.0 [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded gfx v0.18.3 [INFO] [stderr] Downloaded zune-jpeg v0.4.13 [INFO] [stderr] Downloaded glutin v0.30.10 [INFO] [stderr] Downloaded png v0.17.14 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.81.0 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded piston2d-graphics v0.44.0 [INFO] [stderr] Downloaded piston_window v0.132.0 [INFO] [stderr] Downloaded pistoncore-event_loop v1.0.0 [INFO] [stderr] Downloaded piston v1.0.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.45.0 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded glutin_egl_sys v0.5.1 [INFO] [stderr] Downloaded glutin_glx_sys v0.4.0 [INFO] [stderr] Downloaded glutin_wgl_sys v0.4.0 [INFO] [stderr] Downloaded pistoncore-input v1.0.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc3de883fce9baf682f386c9f8d294113c2bfc4c2abee22144c53843f9a20263 [INFO] running `Command { std: "docker" "start" "-a" "dc3de883fce9baf682f386c9f8d294113c2bfc4c2abee22144c53843f9a20263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3de883fce9baf682f386c9f8d294113c2bfc4c2abee22144c53843f9a20263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3de883fce9baf682f386c9f8d294113c2bfc4c2abee22144c53843f9a20263", kill_on_drop: false }` [INFO] [stdout] dc3de883fce9baf682f386c9f8d294113c2bfc4c2abee22144c53843f9a20263 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ec471b700ee6c18b056eacc74accd7c0361afe0556a43caef933aa6db3fab25 [INFO] running `Command { std: "docker" "start" "-a" "9ec471b700ee6c18b056eacc74accd7c0361afe0556a43caef933aa6db3fab25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling piston-texture v0.9.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling gfx v0.18.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling interpolation v0.3.0 [INFO] [stderr] Compiling spin_sleep v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling piston2d-graphics v0.44.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling pistoncore-window v1.0.0 [INFO] [stderr] Compiling pistoncore-event_loop v1.0.0 [INFO] [stderr] Compiling piston v1.0.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling pistoncore-glutin_window v0.72.0 [INFO] [stderr] Compiling piston-gfx_texture v0.45.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.81.0 [INFO] [stderr] Compiling piston_window v0.132.0 [INFO] [stderr] Compiling rust-gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/gameboy/gameboy.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | .map_err(|_| ({})); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 375 - .map_err(|_| ({})); [INFO] [stdout] 375 + .map_err(|_| {}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gameboy/memory_adapter.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(memory: &mut Vec) -> MemoryAdapter { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(memory: &mut Vec) -> MemoryAdapter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gameboy/memory_view.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(memory: &[u8]) -> MemoryView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(memory: &[u8]) -> MemoryView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.28s [INFO] running `Command { std: "docker" "inspect" "9ec471b700ee6c18b056eacc74accd7c0361afe0556a43caef933aa6db3fab25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec471b700ee6c18b056eacc74accd7c0361afe0556a43caef933aa6db3fab25", kill_on_drop: false }` [INFO] [stdout] 9ec471b700ee6c18b056eacc74accd7c0361afe0556a43caef933aa6db3fab25 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f81921a8f34a7ad1a4ebb1e72c4c7ac4941a75670684ec7b9e019e3ab7c105e0 [INFO] running `Command { std: "docker" "start" "-a" "f81921a8f34a7ad1a4ebb1e72c4c7ac4941a75670684ec7b9e019e3ab7c105e0", kill_on_drop: false }` [INFO] [stderr] Compiling rust-gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/gameboy/gameboy.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | .map_err(|_| ({})); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 375 - .map_err(|_| ({})); [INFO] [stdout] 375 + .map_err(|_| {}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gameboy/memory_adapter.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(memory: &mut Vec) -> MemoryAdapter { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(memory: &mut Vec) -> MemoryAdapter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gameboy/memory_view.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(memory: &[u8]) -> MemoryView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(memory: &[u8]) -> MemoryView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.39s [INFO] running `Command { std: "docker" "inspect" "f81921a8f34a7ad1a4ebb1e72c4c7ac4941a75670684ec7b9e019e3ab7c105e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81921a8f34a7ad1a4ebb1e72c4c7ac4941a75670684ec7b9e019e3ab7c105e0", kill_on_drop: false }` [INFO] [stdout] f81921a8f34a7ad1a4ebb1e72c4c7ac4941a75670684ec7b9e019e3ab7c105e0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 984451c50e2e6e356bfca9033cfb641a75a0f2cb20985f8458b5a49252ce486b [INFO] running `Command { std: "docker" "start" "-a" "984451c50e2e6e356bfca9033cfb641a75a0f2cb20985f8458b5a49252ce486b", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/gameboy/gameboy.rs:375:34 [INFO] [stderr] | [INFO] [stderr] 375 | .map_err(|_| ({})); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 375 - .map_err(|_| ({})); [INFO] [stderr] 375 + .map_err(|_| {}); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gameboy/memory_adapter.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(memory: &mut Vec) -> MemoryAdapter { [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(memory: &mut Vec) -> MemoryAdapter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gameboy/memory_view.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn new(memory: &[u8]) -> MemoryView { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 6 | pub fn new(memory: &[u8]) -> MemoryView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rust-gb` (bin "rust-gb" test) generated 3 warnings (run `cargo fix --bin "rust-gb" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_gb-8d429ec1af2edcb3) [INFO] [stdout] [INFO] [stdout] running 179 tests [INFO] [stdout] test gameboy::cpu::can_write_8_read_16 ... ok [INFO] [stdout] test gameboy::cpu::can_write_then_read ... ok [INFO] [stdout] test gameboy::cpu::interrupt_flag_behavior ... ok [INFO] [stdout] test gameboy::cpu::created_cpu_is_zero ... ok [INFO] [stdout] test gameboy::memory_adapter::we_can_subscribe_to_memory_change_events ... ok [INFO] [stdout] test gameboy::flags_register::set_flag_test ... ok [INFO] [stdout] test gameboy::ppu::get_the_correct_pixel_from_background_sprite ... ok [INFO] [stdout] test gameboy::flags_register::test_flag ... ok [INFO] [stdout] test gameboy::tests::adc_test::decode_adc_instruction ... ok [INFO] [stdout] test gameboy::tests::adc_test::test_adc_instruction_size ... ok [INFO] [stdout] test gameboy::memory_view::test_max_slice ... ok [INFO] [stdout] test gameboy::tests::adc_test::test_adc_clears_n_flag ... ok [INFO] [stdout] test gameboy::tests::adc_test::test_adc_sets_zero_flag_when_result_is_zero ... ok [INFO] [stdout] test gameboy::tests::adc_test::test_adc_adds_carry_when_both_operands_are_ff ... ok [INFO] [stdout] test gameboy::tests::add_test::add16_works_correctly ... ok [INFO] [stdout] test gameboy::tests::add_test::add_16_sets_the_carry_flag ... ok [INFO] [stdout] test gameboy::tests::add_test::add_16_sets_the_half_carry_flag ... ok [INFO] [stdout] test gameboy::tests::add_test::add_d8_to_a ... ok [INFO] [stdout] test gameboy::tests::adc_test::test_adc_clears_zero_flag_when_result_is_not_zero ... ok [INFO] [stdout] test gameboy::tests::add_test::add_hl_reset_flags_if_set ... ok [INFO] [stdout] test gameboy::tests::add_test::add_hl_h_flag_overflow_at_half_byte ... ok [INFO] [stdout] test gameboy::tests::add_test::add_hl_c_flag_overflow_byte ... ok [INFO] [stdout] test gameboy::tests::add_test::add_hl_sets_z_if_result_0 ... ok [INFO] [stdout] test gameboy::tests::add_test::add_hl_size_test ... ok [INFO] [stdout] test gameboy::tests::add_test::add_r8_to_a ... ok [INFO] [stdout] test gameboy::tests::add_test::decode_16_bit_adds ... ok [INFO] [stdout] test gameboy::tests::add_test::decode_add_instructions ... ok [INFO] [stdout] test gameboy::tests::and_test::and_with_d8_works_if_result_is_1 ... ok [INFO] [stdout] test gameboy::tests::and_test::decode_and_instruction ... ok [INFO] [stdout] test gameboy::tests::call_test::call_does_not_jump_if_condition_not_set ... ok [INFO] [stdout] test gameboy::tests::bit_instruction ... ok [INFO] [stdout] test gameboy::tests::call_test::call_instruction_takes_24_cycles ... ok [INFO] [stdout] test gameboy::tests::call_test::call_moves_the_program_counter_to_the_call_location ... ok [INFO] [stdout] test gameboy::tests::call_test::call_sets_the_stack_value_correctly ... ok [INFO] [stdout] test gameboy::tests::call_test::decode_call_instructions ... ok [INFO] [stdout] test gameboy::tests::cb_test::swap_sets_flags_correctly ... ok [INFO] [stdout] test gameboy::tests::cb_test::swap_switches_top_and_bottom_nibble_of_offset ... ok [INFO] [stdout] test gameboy::tests::call_test::call_jumps_if_condition_is_set ... ok [INFO] [stdout] test gameboy::tests::and_test::and_instruction_works_with_indirection ... ok [INFO] [stdout] test gameboy::tests::and_test::and_instruction_works_with_registers ... ok [INFO] [stdout] test gameboy::tests::cb_test::swap_switches_top_and_bottom_nibbles_of_register ... ok [INFO] [stdout] test gameboy::tests::cb_test::test_cb_decode ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::cp_hl_carry_if_result_negative ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::cp_hl_z_if_result_zero ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::cp_instruction_leaves_a_unchanged ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::decode_cp ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::flag_tests_h_flag_is_set_correctly ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::flag_tests_n_flag_must_be_set ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::flag_tests_set_the_c_flag_if_the_result_is_less_than_0 ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::flag_tests_z_flag_is_set_if_result_is_0 ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::next_cp_instruction_tests ... ok [INFO] [stdout] test gameboy::tests::cpl_test::run_cpl ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::can_decode_16_bit_dec ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_decode_instructions ... ok [INFO] [stdout] test gameboy::tests::cp_test::cp_test::cp_works_with_register_constants ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_hl_offset_can_run ... ok [INFO] [stdout] test gameboy::tests::and_test::and_with_d8_works_correctly ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_hl_offset_set_the_h_flag_at_1000 ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_hl_offset_sets_the_zero_flag_at_zero ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_hl_offset_should_underflow ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_sets_the_zero_flag_at_zero ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_with_a_16_bit_register ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_hl_offset_should_reset_the_zero_flag_if_already_set ... ok [INFO] [stdout] test gameboy::tests::inc_test::decode_all_increment_instructions ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_should_underflow ... ok [INFO] [stdout] test gameboy::tests::i_can_access_all_parts_of_memory ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_instruction_removes_one_from_the_correct_register ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_set_the_h_flag_at_1000 ... ok [INFO] [stdout] test gameboy::tests::dec_test::dec_test::dec_should_reset_the_zero_flag_if_already_set ... ok [INFO] [stdout] test gameboy::tests::get_memory_slice_at_works ... ok [INFO] [stdout] test gameboy::tests::inc_test::inc_increases_value_in_registry ... ok [INFO] [stdout] test gameboy::tests::inc_test::inc_16_instruction ... ok [INFO] [stdout] test gameboy::tests::inc_test::increment_can_cause_a_half_overflow ... ok [INFO] [stdout] test gameboy::tests::inc_test::inc_supports_hl_indirect ... ok [INFO] [stdout] test gameboy::tests::inc_test::increment_does_not_reset_flags_set_flags ... ok [INFO] [stdout] test gameboy::tests::inc_test::increment_from_max_causes_overflow ... ok [INFO] [stdout] test gameboy::tests::inc_test::n_flag_is_set_to_0 ... ok [INFO] [stdout] test gameboy::tests::interrupt_instruction_tests::decode_interrupt_instructions ... ok [INFO] [stdout] test gameboy::tests::interrupt_instruction_tests::decode_rst_instructions ... ok [INFO] [stdout] test gameboy::tests::interrupt_instruction_tests::di_instruction_works ... ok [INFO] [stdout] test gameboy::tests::interrupt_instruction_tests::rst_works_like_call ... ok [INFO] [stdout] test gameboy::tests::jump_test::decode_jump_tests ... ok [INFO] [stdout] test gameboy::tests::jump_test::jmp_a16_size_check ... ok [INFO] [stdout] test gameboy::tests::jump_test::jp_a16_instruction_jumps_to_location ... ok [INFO] [stdout] test gameboy::tests::jump_test::jmp_a16_takes_12_cycles_if_no_jump ... ok [INFO] [stdout] test gameboy::tests::jump_test::jp_hl_instruction_jumps ... ok [INFO] [stdout] test gameboy::tests::jump_test::jp_nc_jumps ... ok [INFO] [stdout] test gameboy::tests::jump_test::jr_z_8_instruction_not_working_correctly ... ok [INFO] [stdout] test gameboy::tests::load16_test::load16_test::fixed_value_ld16_test ... ok [INFO] [stdout] test gameboy::tests::load16_test::load16_test::test_ld16_hl_spr8 ... ok [INFO] [stdout] test gameboy::tests::interrupt_instruction_tests::interrupt_is_only_enabled_after_instruction_after_ei ... ok [INFO] [stdout] test gameboy::tests::jump_test::jump_instruction ... ok [INFO] [stdout] test gameboy::tests::load16_test::load16_test::ld_decoding_test ... ok [INFO] [stdout] test gameboy::tests::jump_test::the_jr_with_no_conditions_always_jumps ... ok [INFO] [stdout] test gameboy::tests::load16_test::load16_test::address_ld16 ... ok [INFO] [stdout] test gameboy::tests::interrupt_instruction_tests::ei_instruction_works ... ok [INFO] [stdout] test gameboy::tests::load16_test::load16_test::test_spr8_flags ... ok [INFO] [stdout] test gameboy::tests::load16_test::load16_test::register_ld16 ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_can_move_between_registers ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_can_move_to_hl_offset ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::l8_can_move_from_hl_offset ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_a_hlplus ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld_a_hl_decrement ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_hl_plus_a ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_into_address_address ... ok [INFO] [stdout] test gameboy::tests::alu_test::can_construct_gb_with_alu ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ldh_a8_a ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ldh_a_a8 ... ok [INFO] [stdout] test gameboy::tests::alu_test::no_sound_if_volume_0 ... ok [INFO] [stdout] test gameboy::tests::misc_instructions_test::decode_scf_instructon ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_hl_d8 ... ok [INFO] [stdout] test gameboy::tests::memory_test::writing_to_dma_starts_copy ... ok [INFO] [stdout] test gameboy::tests::misc_instructions_test::scf_sets_the_carry_flag_and_others ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_is_decoded_correctly ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld_a_a8 ... ok [INFO] [stdout] test gameboy::tests::nop_instruction ... ok [INFO] [stdout] test gameboy::tests::opcode_printer_test::opcode_printer_tests::can_get_instruction_plus_offset ... ok [INFO] [stdout] test gameboy::tests::opcode_printer_test::opcode_printer_tests::can_print_an_instruction_as_a_string ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::load8_instructions ... ok [INFO] [stdout] test gameboy::tests::opcode_printer_test::opcode_printer_tests::get_a_second_instruction_correctly ... ok [INFO] [stdout] test gameboy::tests::opcode_printer_test::opcode_printer_tests::get_high_opcode ... ok [INFO] [stdout] test gameboy::tests::ppu_test::retrieving_the_screen_colors_gets_the_top_left_of_the_vram ... ok [INFO] [stdout] test gameboy::tests::alu_test::period_reduces_volume ... ok [INFO] [stdout] test gameboy::tests::or::writing_to_a_works ... ok [INFO] [stdout] test gameboy::tests::alu_test::increase_volume_increases_output ... ok [INFO] [stdout] test gameboy::tests::ppu_test::setting_the_palette_color_sets_the_colors_of_the_sprites ... ok [INFO] [stdout] test gameboy::tests::ppu_test::move_the_screen_position_will_move_what_is_displayed_on_screen ... ok [INFO] [stdout] test gameboy::tests::ppu_test::the_ppu_should_set_the_ly_register_every_456_clocks_when_screen_on ... ok [INFO] [stdout] test gameboy::tests::ppu_test::tile_gets_drawn_the_right_way_around ... ok [INFO] [stdout] test gameboy::tests::ppu_test::tiles_are_displayed_correctly ... ok [INFO] [stdout] test gameboy::tests::alu_test::trigger_bit_is_reset_after_frame ... ok [INFO] [stdout] test gameboy::tests::push_pop_test::pop_instruction_decoding ... ok [INFO] [stdout] test gameboy::tests::push_pop_test::push_instruction_decoding ... ok [INFO] [stdout] test gameboy::tests::ppu_test::turning_off_the_lcd_screen_resets_ly_register_to_0 ... ok [INFO] [stdout] test gameboy::tests::ret_test::decode_ret_instructions ... ok [INFO] [stdout] test gameboy::tests::push_pop_test::push_instruction_tests_push_moves_2_bytes_onto_the_stack ... ok [INFO] [stdout] test gameboy::tests::alu_test::setting_volume_enables_output ... ok [INFO] [stdout] test gameboy::tests::push_pop_test::pop_instruction_moves_the_stack_pointer ... ok [INFO] [stdout] test gameboy::tests::ppu_test::a_default_gameboy_will_have_a_white_screen ... ok [INFO] [stdout] test gameboy::tests::ret_test::decode_the_reti_instuction ... ok [INFO] [stdout] test gameboy::tests::ret_test::ret_can_have_nz_check ... ok [INFO] [stdout] test gameboy::tests::ret_test::ret_with_carry_check ... ok [INFO] [stdout] test gameboy::tests::ret_test::ret_with_condition_still_1_byte ... ok [INFO] [stdout] test gameboy::tests::ret_test::ret_with_not_carry_check ... ok [INFO] [stdout] test gameboy::tests::ppu_test::a_tile_with_multiple_shades_comes_out_correctly ... ok [INFO] [stdout] test gameboy::tests::or::or_r8_test ... ok [INFO] [stdout] test gameboy::tests::ret_test::ret_jumps_back_to_correct_place ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld8_from_r8_into_hl ... ok [INFO] [stdout] test gameboy::tests::ret_test::ret_with_zero_check ... ok [INFO] [stdout] test gameboy::tests::ret_test::reti_returns_and_enables_interrupts ... ok [INFO] [stdout] test gameboy::tests::ret_test::run_instruction_is_1_byte_big ... ok [INFO] [stdout] test gameboy::tests::rla_cycles_the_a_register_left_through_carry ... ok [INFO] [stdout] test gameboy::tests::rotate_left_sets_the_zero_flag_if_the_result_is_0 ... ok [INFO] [stdout] test gameboy::tests::ppu_test::use_instruction_to_load_a_palette ... ok [INFO] [stdout] test gameboy::tests::rotate_left_shifts_along_with_the_carry_flag ... ok [INFO] [stdout] test gameboy::tests::run_ldh50_to_disable_bootloader ... ok [INFO] [stdout] test gameboy::tests::set_ff50_to_disable_bootloader ... ok [INFO] [stdout] test gameboy::tests::sub_test::sub_test::decoding_sub_instructions_test ... ok [INFO] [stdout] test gameboy::tests::sets_all_flags_to_false_even_if_they_are_set ... ok [INFO] [stdout] test gameboy::tests::sub_test::sub_test::set_h_if_4th_bit_is_borrowed ... ok [INFO] [stdout] test gameboy::tests::sub_test::sub_test::set_c_if_b_greater_than_8 ... ok [INFO] [stdout] test gameboy::tests::sub_test::sub_test::set_the_z_register_if_result_is_zero ... ok [INFO] [stdout] test gameboy::tests::timing::ret_test::calling_tick_up_to_a_breakpoint_will_cause_the_gb_to_stop ... ok [INFO] [stdout] test gameboy::tests::sub_test::sub_test::sub_b_instruction ... ok [INFO] [stdout] test gameboy::tests::ppu_test::test_that_vlank_is_triggered ... ok [INFO] [stdout] test gameboy::tests::ppu_test::vblank_triggered_only_once ... ok [INFO] [stdout] test gameboy::tests::opcode_printer_test::opcode_printer_tests::will_fail_getting_an_instruction_out_of_range ... ok [INFO] [stdout] test gameboy::tests::load8_test::load8_test::ld_h_d8 ... ok [INFO] [stdout] test gameboy::tests::timing::ret_test::calling_tick_on_a_loop_will_cause_the_frame_to_complete ... ok [INFO] [stdout] test gameboy::tests::ppu_test::screen_draws_correctly_when_it_wraps_around_the_side_and_bottom ... ok [INFO] [stdout] test gameboy::tests::alu_test::increase_duty_increases_peaks ... ok [INFO] [stdout] test gameboy::tests::xor_test::xor_sets_a_to_result ... ok [INFO] [stdout] test gameboy::tests::timing::ret_test::ticking_from_a_breakpoint_will_continue_to_the_next_breakpoint ... ok [INFO] [stdout] test gameboy::tests::xor_test::xor_sets_a_to_result2 ... ok [INFO] [stdout] test gameboy::tests::xor_test::xor_sets_flags_based_on_result ... ok [INFO] [stdout] test gameboy::tests::xor_test::xor_instruction ... ok [INFO] [stdout] test gameboy::tests::xor_test::decode_xor_test ... ok [INFO] [stdout] test gameboy::tests::alu_test::increase_the_frequency_decrease_number_peaks ... ok [INFO] [stdout] test gameboy::tests::xor_instruction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 179 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "984451c50e2e6e356bfca9033cfb641a75a0f2cb20985f8458b5a49252ce486b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "984451c50e2e6e356bfca9033cfb641a75a0f2cb20985f8458b5a49252ce486b", kill_on_drop: false }` [INFO] [stdout] 984451c50e2e6e356bfca9033cfb641a75a0f2cb20985f8458b5a49252ce486b