[INFO] cloning repository https://github.com/GobboJ/CRAB-GB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GobboJ/CRAB-GB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGobboJ%2FCRAB-GB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGobboJ%2FCRAB-GB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c99cbc0588de7c00ecd5dc546c7384691b797e9 [INFO] testing GobboJ/CRAB-GB against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGobboJ%2FCRAB-GB" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GobboJ/CRAB-GB [INFO] finished tweaking git repo https://github.com/GobboJ/CRAB-GB [INFO] tweaked toml for git repo https://github.com/GobboJ/CRAB-GB written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GobboJ/CRAB-GB on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GobboJ/CRAB-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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixels v0.13.0 [INFO] [stderr] Downloaded winit_input_helper v0.16.0 [INFO] [stderr] Downloaded wide v0.7.15 [INFO] [stderr] Downloaded game-loop v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4d271c098380d26c1e7531e701ec701931514996915a7cb1c3d5aef499b3f62 [INFO] running `Command { std: "docker" "start" "-a" "f4d271c098380d26c1e7531e701ec701931514996915a7cb1c3d5aef499b3f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4d271c098380d26c1e7531e701ec701931514996915a7cb1c3d5aef499b3f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4d271c098380d26c1e7531e701ec701931514996915a7cb1c3d5aef499b3f62", kill_on_drop: false }` [INFO] [stdout] f4d271c098380d26c1e7531e701ec701931514996915a7cb1c3d5aef499b3f62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4818988a2aba02afc11f475a288e2d9c7cae9d804407b6ede524309933f29c9d [INFO] running `Command { std: "docker" "start" "-a" "4818988a2aba02afc11f475a288e2d9c7cae9d804407b6ede524309933f29c9d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling wide v0.7.15 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling polling v3.5.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling winit_input_helper v0.16.0 [INFO] [stderr] Compiling game-loop v1.1.0 [INFO] [stderr] Compiling pixels v0.13.0 [INFO] [stderr] Compiling crab-gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::joypad::Joypad` [INFO] [stdout] --> src/cpu/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use self::joypad::Joypad; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_frequency` is never used [INFO] [stdout] --> src/cpu/timer.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn set_frequency(&mut self, frequency: Clock) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dma` is never read [INFO] [stdout] --> src/cpu/gpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | dma: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / game_loop(event_loop, window, game, 60, 0.5, [INFO] [stdout] 59 | | move |g| { [INFO] [stdout] 60 | | g.game.cpu.update(); [INFO] [stdout] 61 | | }, [INFO] [stdout] ... | [INFO] [stdout] 127 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = game_loop(event_loop, window, game, 60, 0.5, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | g.game.pixels.render(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = g.game.pixels.render(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalCycles` should have a snake case name [INFO] [stdout] --> src/cpu/mod.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut totalCycles = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "4818988a2aba02afc11f475a288e2d9c7cae9d804407b6ede524309933f29c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4818988a2aba02afc11f475a288e2d9c7cae9d804407b6ede524309933f29c9d", kill_on_drop: false }` [INFO] [stdout] 4818988a2aba02afc11f475a288e2d9c7cae9d804407b6ede524309933f29c9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 553abe4b9c57c5561767f112b0fc4b70dccc33821392565c98ae2ec45e066f41 [INFO] running `Command { std: "docker" "start" "-a" "553abe4b9c57c5561767f112b0fc4b70dccc33821392565c98ae2ec45e066f41", kill_on_drop: false }` [INFO] [stderr] Compiling crab-gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::joypad::Joypad` [INFO] [stdout] --> src/cpu/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use self::joypad::Joypad; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_frequency` is never used [INFO] [stdout] --> src/cpu/timer.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn set_frequency(&mut self, frequency: Clock) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dma` is never read [INFO] [stdout] --> src/cpu/gpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | dma: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / game_loop(event_loop, window, game, 60, 0.5, [INFO] [stdout] 59 | | move |g| { [INFO] [stdout] 60 | | g.game.cpu.update(); [INFO] [stdout] 61 | | }, [INFO] [stdout] ... | [INFO] [stdout] 127 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = game_loop(event_loop, window, game, 60, 0.5, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | g.game.pixels.render(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = g.game.pixels.render(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalCycles` should have a snake case name [INFO] [stdout] --> src/cpu/mod.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut totalCycles = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "553abe4b9c57c5561767f112b0fc4b70dccc33821392565c98ae2ec45e066f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553abe4b9c57c5561767f112b0fc4b70dccc33821392565c98ae2ec45e066f41", kill_on_drop: false }` [INFO] [stdout] 553abe4b9c57c5561767f112b0fc4b70dccc33821392565c98ae2ec45e066f41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d4f60f6507ebfe7cd13f065ef161cb4be4e3ac06e5de58e9599c46925ad59b7 [INFO] running `Command { std: "docker" "start" "-a" "6d4f60f6507ebfe7cd13f065ef161cb4be4e3ac06e5de58e9599c46925ad59b7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self::joypad::Joypad` [INFO] [stdout] [INFO] [stderr] --> src/cpu/mod.rs:20:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 20 | use self::joypad::Joypad; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `set_frequency` is never used [INFO] [stderr] --> src/cpu/timer.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 34 | impl Timer { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 48 | fn set_frequency(&mut self, frequency: Clock) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `dma` is never read [INFO] [stderr] --> src/cpu/gpu.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct GPU { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | dma: u8, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | / game_loop(event_loop, window, game, 60, 0.5, [INFO] [stderr] 59 | | move |g| { [INFO] [stderr] 60 | | g.game.cpu.update(); [INFO] [stderr] 61 | | }, [INFO] [stderr] ... | [INFO] [stderr] 127 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 58 | let _ = game_loop(event_loop, window, game, 60, 0.5, [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | g.game.pixels.render(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 68 | let _ = g.game.pixels.render(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: variable `totalCycles` should have a snake case name [INFO] [stderr] --> src/cpu/mod.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | let mut totalCycles = 0; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_cycles` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `crab-gb` (bin "crab-gb" test) generated 6 warnings (run `cargo fix --bin "crab-gb" -p crab-gb --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/crab_gb-edbe1858d7a70c17) [INFO] running `Command { std: "docker" "inspect" "6d4f60f6507ebfe7cd13f065ef161cb4be4e3ac06e5de58e9599c46925ad59b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d4f60f6507ebfe7cd13f065ef161cb4be4e3ac06e5de58e9599c46925ad59b7", kill_on_drop: false }` [INFO] [stdout] 6d4f60f6507ebfe7cd13f065ef161cb4be4e3ac06e5de58e9599c46925ad59b7