[INFO] cloning repository https://github.com/RickyBoyd/rust-gbemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RickyBoyd/rust-gbemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRickyBoyd%2Frust-gbemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRickyBoyd%2Frust-gbemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d08b4b96b1db1ad1fbcefbab0e276fab5c25e063 [INFO] checking RickyBoyd/rust-gbemu against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRickyBoyd%2Frust-gbemu" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RickyBoyd/rust-gbemu on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RickyBoyd/rust-gbemu [INFO] finished tweaking git repo https://github.com/RickyBoyd/rust-gbemu [INFO] tweaked toml for git repo https://github.com/RickyBoyd/rust-gbemu written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/RickyBoyd/rust-gbemu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 036b1d09d8307d4eee6e2a24a168d6ad38a37b0b9ab987720bbfea1a02b99763 [INFO] running `Command { std: "docker" "start" "-a" "036b1d09d8307d4eee6e2a24a168d6ad38a37b0b9ab987720bbfea1a02b99763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "036b1d09d8307d4eee6e2a24a168d6ad38a37b0b9ab987720bbfea1a02b99763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036b1d09d8307d4eee6e2a24a168d6ad38a37b0b9ab987720bbfea1a02b99763", kill_on_drop: false }` [INFO] [stdout] 036b1d09d8307d4eee6e2a24a168d6ad38a37b0b9ab987720bbfea1a02b99763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff4c5caa7bae2144729beae8af630ff19ede426126f9b0404b570034078c03b9 [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" "ff4c5caa7bae2144729beae8af630ff19ede426126f9b0404b570034078c03b9", 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] [stderr] Checking rust-gbemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_byte(&self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn write_word(&self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Flag` [INFO] [stdout] --> src/cpu.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Flag { [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: `new` [INFO] [stdout] --> src/cpu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Flag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/cpu.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn set(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset` [INFO] [stdout] --> src/cpu.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn unset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `toggle` [INFO] [stdout] --> src/cpu.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Flags` [INFO] [stdout] --> src/cpu.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Flags { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/cpu.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Registers` [INFO] [stdout] --> src/cpu.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new() -> Registers { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bc` [INFO] [stdout] --> src/cpu.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn bc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `de` [INFO] [stdout] --> src/cpu.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn de(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hl` [INFO] [stdout] --> src/cpu.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn hl(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bc` [INFO] [stdout] --> src/cpu.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_bc(&mut self, v: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_de` [INFO] [stdout] --> src/cpu.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn set_de(&mut self, v: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hl` [INFO] [stdout] --> src/cpu.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn set_hl(&mut self, v: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cpu` [INFO] [stdout] --> src/cpu.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add8` [INFO] [stdout] --> src/cpu.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn add8(&mut self, x: u8, y: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_instuction_byte` [INFO] [stdout] --> src/cpu.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn next_instuction_byte(&mut self, mmu: &Mmu) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_cycle` [INFO] [stdout] --> src/cpu.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn execute_cycle(&mut self, mmu: &Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_instruction` [INFO] [stdout] --> src/cpu.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn execute_instruction(&mut self, mmu: &Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_SIZE` [INFO] [stdout] --> src/mmu.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const WRAM_SIZE: usize = 16000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Mmu` [INFO] [stdout] --> src/mmu.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Mmu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/mmu.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_byte(&self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_word` [INFO] [stdout] --> src/mmu.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn write_word(&self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/mmu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_word` [INFO] [stdout] --> src/mmu.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_byte(&self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn write_word(&self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mmu.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Flag` [INFO] [stdout] --> src/cpu.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Flag { [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: `new` [INFO] [stdout] --> src/cpu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Flag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/cpu.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn set(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset` [INFO] [stdout] --> src/cpu.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn unset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `toggle` [INFO] [stdout] --> src/cpu.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Flags` [INFO] [stdout] --> src/cpu.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Flags { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/cpu.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Registers` [INFO] [stdout] --> src/cpu.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new() -> Registers { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bc` [INFO] [stdout] --> src/cpu.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn bc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `de` [INFO] [stdout] --> src/cpu.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn de(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hl` [INFO] [stdout] --> src/cpu.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn hl(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bc` [INFO] [stdout] --> src/cpu.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_bc(&mut self, v: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_de` [INFO] [stdout] --> src/cpu.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn set_de(&mut self, v: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hl` [INFO] [stdout] --> src/cpu.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn set_hl(&mut self, v: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cpu` [INFO] [stdout] --> src/cpu.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add8` [INFO] [stdout] --> src/cpu.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn add8(&mut self, x: u8, y: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_instuction_byte` [INFO] [stdout] --> src/cpu.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn next_instuction_byte(&mut self, mmu: &Mmu) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_cycle` [INFO] [stdout] --> src/cpu.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn execute_cycle(&mut self, mmu: &Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_instruction` [INFO] [stdout] --> src/cpu.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn execute_instruction(&mut self, mmu: &Mmu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRAM_SIZE` [INFO] [stdout] --> src/mmu.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const WRAM_SIZE: usize = 16000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Mmu` [INFO] [stdout] --> src/mmu.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Mmu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/mmu.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_byte(&self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_word` [INFO] [stdout] --> src/mmu.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn write_word(&self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/mmu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_word` [INFO] [stdout] --> src/mmu.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "ff4c5caa7bae2144729beae8af630ff19ede426126f9b0404b570034078c03b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4c5caa7bae2144729beae8af630ff19ede426126f9b0404b570034078c03b9", kill_on_drop: false }` [INFO] [stdout] ff4c5caa7bae2144729beae8af630ff19ede426126f9b0404b570034078c03b9