[INFO] cloning repository https://github.com/jmg-duarte/c8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmg-duarte/c8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg-duarte%2Fc8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg-duarte%2Fc8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75c183636d291a3fbd35924ac516618883dba5f5 [INFO] building jmg-duarte/c8 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg-duarte%2Fc8" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmg-duarte/c8 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmg-duarte/c8 [INFO] finished tweaking git repo https://github.com/jmg-duarte/c8 [INFO] tweaked toml for git repo https://github.com/jmg-duarte/c8 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jmg-duarte/c8 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 626973627bde81e85fb17b9ff9d99d463c796e521118de0ebd6dc09d781c926e [INFO] running `Command { std: "docker" "start" "-a" "626973627bde81e85fb17b9ff9d99d463c796e521118de0ebd6dc09d781c926e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "626973627bde81e85fb17b9ff9d99d463c796e521118de0ebd6dc09d781c926e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626973627bde81e85fb17b9ff9d99d463c796e521118de0ebd6dc09d781c926e", kill_on_drop: false }` [INFO] [stdout] 626973627bde81e85fb17b9ff9d99d463c796e521118de0ebd6dc09d781c926e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72c954821e5e237c719affd3933e65073f67ae2d92653244e577f3cd5dabbd55 [INFO] running `Command { std: "docker" "start" "-a" "72c954821e5e237c719affd3933e65073f67ae2d92653244e577f3cd5dabbd55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8/cpu.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | for addr in start..end { [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: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:228:40 [INFO] [stdout] | [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_VREGISTERS` is never used [INFO] [stdout] --> src/chip8/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const N_VREGISTERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_SIZE` is never used [INFO] [stdout] --> src/chip8/cpu.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const STACK_SIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VF` is never used [INFO] [stdout] --> src/chip8/cpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const VF: usize = 0xF; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V0` is never used [INFO] [stdout] --> src/chip8/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const V0: usize = 0x0; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/chip8/cpu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/chip8/cpu.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn ret_subroutine(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn jmp_addr(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn call_subroutine(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn skip_eq_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn skip_neq_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn skip_eq_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn set_x_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_x_value(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn store_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn or_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn and_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn xor_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn add_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn sub_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn shr_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn subn_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn shl_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn skip_neq_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn jmp_addr_offset(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn rnd_and(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn read_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn set_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn set_sound_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn add_i(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn store_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn read_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn cycle(&mut self, opcode: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RAM` is never constructed [INFO] [stdout] --> src/chip8/ram.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RAM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/chip8/ram.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RAM { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 6 | /// Create a new RAM instance. [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn read(&self, addr: usize) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn write(&mut self, addr: usize, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "72c954821e5e237c719affd3933e65073f67ae2d92653244e577f3cd5dabbd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c954821e5e237c719affd3933e65073f67ae2d92653244e577f3cd5dabbd55", kill_on_drop: false }` [INFO] [stdout] 72c954821e5e237c719affd3933e65073f67ae2d92653244e577f3cd5dabbd55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab81d4096859cccd83341de2bb4ca82f8831b0d3a46fc90f7179f966bd2a51ea [INFO] running `Command { std: "docker" "start" "-a" "ab81d4096859cccd83341de2bb4ca82f8831b0d3a46fc90f7179f966bd2a51ea", kill_on_drop: false }` [INFO] [stderr] Compiling chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8/cpu.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | for addr in start..end { [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: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_idx` [INFO] [stdout] --> src/chip8/cpu.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:228:40 [INFO] [stdout] | [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_idx` [INFO] [stdout] --> src/chip8/cpu.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V0` is never used [INFO] [stdout] --> src/chip8/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const V0: usize = 0x0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `i_reg`, `delay_timer`, `sound_timer`, `rng`, and `ram` are never read [INFO] [stdout] --> src/chip8/cpu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | i_reg: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | delay_timer: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | sound_timer: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | ram: ram::RAM, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chip8/cpu.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | fn sub_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn shr_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn subn_xy(&mut self, x_idx: u8, y_idx: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn shl_x(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn jmp_addr_offset(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn rnd_and(&mut self, x_idx: u8, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn draw(&mut self, x_idx: u8, y_idx: u8, n: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn skip_key_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn skip_key_not_pressed(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn read_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn wait_keypress(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn set_delay_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn set_sound_timer(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn add_i(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn set_i_digit(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn store_bcd(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn store_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn read_registers(&mut self, x_idx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn cycle(&mut self, opcode: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/chip8/ram.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RAM { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 2 | memory: [u8; 4096], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/chip8/ram.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RAM { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn read(&self, addr: usize) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn write(&mut self, addr: usize, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "ab81d4096859cccd83341de2bb4ca82f8831b0d3a46fc90f7179f966bd2a51ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab81d4096859cccd83341de2bb4ca82f8831b0d3a46fc90f7179f966bd2a51ea", kill_on_drop: false }` [INFO] [stdout] ab81d4096859cccd83341de2bb4ca82f8831b0d3a46fc90f7179f966bd2a51ea