[INFO] cloning repository https://github.com/graylikeme/gameboy-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/graylikeme/gameboy-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgraylikeme%2Fgameboy-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgraylikeme%2Fgameboy-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cafd6c79531ce5ae3d08082f67d532b1eb23f6e1 [INFO] checking graylikeme/gameboy-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgraylikeme%2Fgameboy-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/graylikeme/gameboy-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/graylikeme/gameboy-rs [INFO] finished tweaking git repo https://github.com/graylikeme/gameboy-rs [INFO] tweaked toml for git repo https://github.com/graylikeme/gameboy-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/graylikeme/gameboy-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70f9fc7a2c9c73e1f43e17049780e863c8605e4c1a14397a9b97d952b358e422 [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" "70f9fc7a2c9c73e1f43e17049780e863c8605e4c1a14397a9b97d952b358e422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70f9fc7a2c9c73e1f43e17049780e863c8605e4c1a14397a9b97d952b358e422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f9fc7a2c9c73e1f43e17049780e863c8605e4c1a14397a9b97d952b358e422", kill_on_drop: false }` [INFO] [stdout] 70f9fc7a2c9c73e1f43e17049780e863c8605e4c1a14397a9b97d952b358e422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c574053f46c35f336502e68447f97fa3fb4531b7099c6cd4273709dfad6efae [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" "7c574053f46c35f336502e68447f97fa3fb4531b7099c6cd4273709dfad6efae", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking pretty_env_logger v0.3.0 [INFO] [stderr] Checking gameboy-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/bus.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | mmu: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn MMU` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/bus.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(mmu: Box) -> Bus { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn MMU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/mmu.rs:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_mmu(cartridge: CartridgeInfo) -> Option> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn MMU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | cpu: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn GameboyCPU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/bus.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | mmu: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn MMU` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/bus.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(mmu: Box) -> Bus { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn MMU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/mmu.rs:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_mmu(cartridge: CartridgeInfo) -> Option> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn MMU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | cpu: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn GameboyCPU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let test = cartridge.mem[0x0147]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/cpu/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let opcode = bus.read_byte(self.pc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let cycles = instructions::call(self, bus); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/hardware/mmu.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_mmu(cartridge: CartridgeInfo) -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn read(&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/hardware/mmu.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hardware/mmu.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn read(&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/hardware/mmu.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hardware/mmu.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | fn read(&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/hardware/mmu.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hardware/mmu.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `de` [INFO] [stdout] --> src/cpu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | de: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hl` [INFO] [stdout] --> src/cpu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | hl: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `if_reg` [INFO] [stdout] --> src/cpu/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | if_reg: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ie_reg` [INFO] [stdout] --> src/cpu/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ie_reg: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let test = cartridge.mem[0x0147]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ime_reg` [INFO] [stdout] --> src/cpu/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ime_reg: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_byte` [INFO] [stdout] --> src/cpu/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_byte(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_byte` [INFO] [stdout] --> src/cpu/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn set_byte(&mut self, to: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_a` [INFO] [stdout] --> src/cpu/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn set_a(&mut self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_f` [INFO] [stdout] --> src/cpu/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_f(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_f` [INFO] [stdout] --> src/cpu/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn set_f(&mut self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_c` [INFO] [stdout] --> src/cpu/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_c(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_c` [INFO] [stdout] --> src/cpu/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn set_c(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcode` [INFO] [stdout] --> src/cpu/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let opcode = bus.read_byte(self.pc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu/mod.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let cycles = instructions::call(self, bus); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/hardware/mmu.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_mmu(cartridge: CartridgeInfo) -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_d` [INFO] [stdout] --> src/cpu/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_d(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_d` [INFO] [stdout] --> src/cpu/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn set_d(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_e` [INFO] [stdout] --> src/cpu/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_e(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hardware/mmu.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, addr: u16, value: u8) { [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: `set_e` [INFO] [stdout] --> src/cpu/mod.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn set_e(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_h` [INFO] [stdout] --> src/cpu/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_h(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_h` [INFO] [stdout] --> src/cpu/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn set_h(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_l` [INFO] [stdout] --> src/cpu/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_l(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_l` [INFO] [stdout] --> src/cpu/mod.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn set_l(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sp` [INFO] [stdout] --> src/cpu/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_sp(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sp` [INFO] [stdout] --> src/cpu/mod.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn set_sp(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pc` [INFO] [stdout] --> src/cpu/mod.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_pc(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_pc` [INFO] [stdout] --> src/cpu/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn dec_pc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hl` [INFO] [stdout] --> src/cpu/mod.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn get_hl(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hardware/mmu.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hl` [INFO] [stdout] --> src/cpu/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn set_hl(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/hardware/mmu.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_de` [INFO] [stdout] --> src/cpu/mod.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn get_de(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/hardware/mmu.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | fn write(&mut self, addr: u16, value: u8) { [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: `set_de` [INFO] [stdout] --> src/cpu/mod.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn set_de(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_af` [INFO] [stdout] --> src/cpu/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn get_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_af` [INFO] [stdout] --> src/cpu/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn set_af(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `de` [INFO] [stdout] --> src/cpu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | de: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hl` [INFO] [stdout] --> src/cpu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | hl: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `if_reg` [INFO] [stdout] --> src/cpu/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | if_reg: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ie_reg` [INFO] [stdout] --> src/cpu/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ie_reg: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ime_reg` [INFO] [stdout] --> src/cpu/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ime_reg: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_byte` [INFO] [stdout] --> src/cpu/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_byte(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_byte` [INFO] [stdout] --> src/cpu/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn set_byte(&mut self, to: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_a` [INFO] [stdout] --> src/cpu/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn set_a(&mut self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_f` [INFO] [stdout] --> src/cpu/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_f(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_f` [INFO] [stdout] --> src/cpu/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn set_f(&mut self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_c` [INFO] [stdout] --> src/cpu/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_c(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_c` [INFO] [stdout] --> src/cpu/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn set_c(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_d` [INFO] [stdout] --> src/cpu/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_d(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_d` [INFO] [stdout] --> src/cpu/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn set_d(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_e` [INFO] [stdout] --> src/cpu/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_e(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_e` [INFO] [stdout] --> src/cpu/mod.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn set_e(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_h` [INFO] [stdout] --> src/cpu/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_h(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_h` [INFO] [stdout] --> src/cpu/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn set_h(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_l` [INFO] [stdout] --> src/cpu/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_l(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_l` [INFO] [stdout] --> src/cpu/mod.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn set_l(&self, to: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sp` [INFO] [stdout] --> src/cpu/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_sp(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sp` [INFO] [stdout] --> src/cpu/mod.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn set_sp(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pc` [INFO] [stdout] --> src/cpu/mod.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_pc(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_pc` [INFO] [stdout] --> src/cpu/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn dec_pc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hl` [INFO] [stdout] --> src/cpu/mod.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn get_hl(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hl` [INFO] [stdout] --> src/cpu/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn set_hl(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_de` [INFO] [stdout] --> src/cpu/mod.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn get_de(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_de` [INFO] [stdout] --> src/cpu/mod.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn set_de(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_af` [INFO] [stdout] --> src/cpu/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn get_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_af` [INFO] [stdout] --> src/cpu/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn set_af(&mut self, to: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.42s [INFO] running `Command { std: "docker" "inspect" "7c574053f46c35f336502e68447f97fa3fb4531b7099c6cd4273709dfad6efae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c574053f46c35f336502e68447f97fa3fb4531b7099c6cd4273709dfad6efae", kill_on_drop: false }` [INFO] [stdout] 7c574053f46c35f336502e68447f97fa3fb4531b7099c6cd4273709dfad6efae