[INFO] cloning repository https://github.com/wbjohnston/gameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wbjohnston/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fgameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fgameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b941701ef8a8b59bc8a87c03a7799433d9fd0c7 [INFO] testing wbjohnston/gameboy against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbjohnston%2Fgameboy" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbjohnston/gameboy on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wbjohnston/gameboy [INFO] finished tweaking git repo https://github.com/wbjohnston/gameboy [INFO] tweaked toml for git repo https://github.com/wbjohnston/gameboy written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/wbjohnston/gameboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33462261035a2d569e54759419eaafbcab930e395004f609bba3453ebb6c6866 [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" "33462261035a2d569e54759419eaafbcab930e395004f609bba3453ebb6c6866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33462261035a2d569e54759419eaafbcab930e395004f609bba3453ebb6c6866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33462261035a2d569e54759419eaafbcab930e395004f609bba3453ebb6c6866", kill_on_drop: false }` [INFO] [stdout] 33462261035a2d569e54759419eaafbcab930e395004f609bba3453ebb6c6866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35f2b52ba8782e48588863303ba2109cc938be442c3951361abba01dfc57c06b [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" "35f2b52ba8782e48588863303ba2109cc938be442c3951361abba01dfc57c06b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/ppu.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_cycles` [INFO] [stdout] --> src/ppu.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cartridge.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/util.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_n_flag` [INFO] [stdout] --> src/cpu.rs:1145:6 [INFO] [stdout] | [INFO] [stdout] 1145 | fn get_n_flag(&self) -> bool { [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: `n_flag` [INFO] [stdout] --> src/cpu.rs:1174:6 [INFO] [stdout] | [INFO] [stdout] 1174 | fn n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `h_flag` [INFO] [stdout] --> src/cpu.rs:1178:6 [INFO] [stdout] | [INFO] [stdout] 1178 | fn h_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/bin/debugger.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let cartridge = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.34s [INFO] running `Command { std: "docker" "inspect" "35f2b52ba8782e48588863303ba2109cc938be442c3951361abba01dfc57c06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f2b52ba8782e48588863303ba2109cc938be442c3951361abba01dfc57c06b", kill_on_drop: false }` [INFO] [stdout] 35f2b52ba8782e48588863303ba2109cc938be442c3951361abba01dfc57c06b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec90833d855ad2e5db94f7c3374d2aaefdcad2ae9710faffae6909a37338e07f [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" "ec90833d855ad2e5db94f7c3374d2aaefdcad2ae9710faffae6909a37338e07f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/ppu.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_cycles` [INFO] [stdout] --> src/ppu.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cartridge.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/util.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_n_flag` [INFO] [stdout] --> src/cpu.rs:1145:6 [INFO] [stdout] | [INFO] [stdout] 1145 | fn get_n_flag(&self) -> bool { [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: `n_flag` [INFO] [stdout] --> src/cpu.rs:1174:6 [INFO] [stdout] | [INFO] [stdout] 1174 | fn n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `h_flag` [INFO] [stdout] --> src/cpu.rs:1178:6 [INFO] [stdout] | [INFO] [stdout] 1178 | fn h_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling quickcheck v0.9.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/bin/debugger.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | let cartridge = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmu` [INFO] [stdout] --> src/ppu.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_cycles` [INFO] [stdout] --> src/ppu.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cartridge.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/util.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_n_flag` [INFO] [stdout] --> src/cpu.rs:1145:6 [INFO] [stdout] | [INFO] [stdout] 1145 | fn get_n_flag(&self) -> bool { [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: `n_flag` [INFO] [stdout] --> src/cpu.rs:1174:6 [INFO] [stdout] | [INFO] [stdout] 1174 | fn n_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `h_flag` [INFO] [stdout] --> src/cpu.rs:1178:6 [INFO] [stdout] | [INFO] [stdout] 1178 | fn h_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 45.93s [INFO] running `Command { std: "docker" "inspect" "ec90833d855ad2e5db94f7c3374d2aaefdcad2ae9710faffae6909a37338e07f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec90833d855ad2e5db94f7c3374d2aaefdcad2ae9710faffae6909a37338e07f", kill_on_drop: false }` [INFO] [stdout] ec90833d855ad2e5db94f7c3374d2aaefdcad2ae9710faffae6909a37338e07f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8fd4e8d6d86167db0b225746ef8b0c201778cf175c8a86eedd6c04ce37935321 [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" "8fd4e8d6d86167db0b225746ef8b0c201778cf175c8a86eedd6c04ce37935321", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused variable: `mmu` [INFO] [stdout] running 7 tests [INFO] [stderr] --> src/ppu.rs:15:26 [INFO] [stdout] test util::test::get_bit_works ... ok [INFO] [stderr] | [INFO] [stderr] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_cycles` [INFO] [stderr] --> src/ppu.rs:15:41 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/cartridge.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/util.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_n_flag` [INFO] [stderr] --> src/cpu.rs:1145:6 [INFO] [stderr] | [INFO] [stderr] 1145 | fn get_n_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `n_flag` [INFO] [stderr] --> src/cpu.rs:1174:6 [INFO] [stderr] | [INFO] [stderr] 1174 | fn n_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `h_flag` [INFO] [stderr] --> src/cpu.rs:1178:6 [INFO] [stderr] | [INFO] [stderr] 1178 | fn h_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mmu` [INFO] [stderr] --> src/ppu.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mmu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_cycles` [INFO] [stderr] --> src/ppu.rs:15:41 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn step(&mut self, mmu: &mut MMU, n_cycles: u8) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_cycles` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/cartridge.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn read_ram(&self, address: u16) -> u8 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/util.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn set_bit(target: u16, n: u8, value: bool) -> u16 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_n_flag` [INFO] [stderr] --> src/cpu.rs:1145:6 [INFO] [stderr] | [INFO] [stderr] 1145 | fn get_n_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `n_flag` [INFO] [stderr] --> src/cpu.rs:1174:6 [INFO] [stderr] | [INFO] [stderr] 1174 | fn n_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `h_flag` [INFO] [stderr] --> src/cpu.rs:1178:6 [INFO] [stderr] | [INFO] [stderr] 1178 | fn h_flag(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cartridge` [INFO] [stderr] --> src/bin/debugger.rs:47:7 [INFO] [stderr] | [INFO] [stderr] 47 | let cartridge = { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gameboy-6bedb2e533188b07) [INFO] [stdout] test mmu::test::bios_disabling_works ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/debug-5ef5c73469ced8d6) [INFO] [stdout] test util::test::set_upper_works ... ok [INFO] [stderr] Doc-tests gameboy [INFO] [stdout] test mmu::test::address_is_read_from_correct_region ... ok [INFO] [stdout] test util::test::unpack_returns_bytes_in_correct_order ... ok [INFO] [stdout] test util::test::set_lower_works ... ok [INFO] [stdout] test util::test::pack_and_unpack_is_equal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [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; finished in 0.00s [INFO] [stdout] [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8fd4e8d6d86167db0b225746ef8b0c201778cf175c8a86eedd6c04ce37935321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd4e8d6d86167db0b225746ef8b0c201778cf175c8a86eedd6c04ce37935321", kill_on_drop: false }` [INFO] [stdout] 8fd4e8d6d86167db0b225746ef8b0c201778cf175c8a86eedd6c04ce37935321