[INFO] cloning repository https://github.com/Glumbatsch/Chip8_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Glumbatsch/Chip8_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlumbatsch%2FChip8_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlumbatsch%2FChip8_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0f722a977888bd3796faf1ae393e84dc443632c [INFO] building Glumbatsch/Chip8_Rust 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%2FGlumbatsch%2FChip8_Rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Glumbatsch/Chip8_Rust 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/Glumbatsch/Chip8_Rust [INFO] finished tweaking git repo https://github.com/Glumbatsch/Chip8_Rust [INFO] tweaked toml for git repo https://github.com/Glumbatsch/Chip8_Rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Glumbatsch/Chip8_Rust 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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 27a4509b8d38f45b4f655f1c69a12db02cca568c4f74e30033a8dba34af38c3a [INFO] running `Command { std: "docker" "start" "-a" "27a4509b8d38f45b4f655f1c69a12db02cca568c4f74e30033a8dba34af38c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27a4509b8d38f45b4f655f1c69a12db02cca568c4f74e30033a8dba34af38c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a4509b8d38f45b4f655f1c69a12db02cca568c4f74e30033a8dba34af38c3a", kill_on_drop: false }` [INFO] [stdout] 27a4509b8d38f45b4f655f1c69a12db02cca568c4f74e30033a8dba34af38c3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6146f96ca9094c776dc8c089a3511fa996fab13e63e1a75177c72fcdd80f1094 [INFO] running `Command { std: "docker" "start" "-a" "6146f96ca9094c776dc8c089a3511fa996fab13e63e1a75177c72fcdd80f1094", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling getrandom v0.1.14 [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: `chip` [INFO] [stdout] --> src/main.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut chip : Chip = Chip::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let mut chip : Chip = Chip::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_WIDTH` is never used [INFO] [stdout] --> src/main.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SCREEN_WIDTH :u8 = 64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SCREEN_HEIGHT :u8 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `was_key_pressed` is never used [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn was_key_pressed() -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_pressed_key` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_first_pressed_key() -> u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nnn`, `nn`, `n`, `x`, and `y` are never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct OppCodeData [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | { [INFO] [stdout] 41 | nnn : u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | nn : u8, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | n : u8, [INFO] [stdout] | ^ [INFO] [stdout] 44 | x : u8, [INFO] [stdout] | ^ [INFO] [stdout] 45 | y : u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl OppCodeData [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn init(&mut self, oppcode: u16) -> () [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct Chip [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 78 | { [INFO] [stdout] 79 | current_opcode : u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | memory : [u8;4096], [INFO] [stdout] 81 | registers : [u8;16], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | index_register : u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 83 | program_counter : u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | texture : [u8; 64*32], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 85 | delay_timer : u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | sound_timer : u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | stack : [u16;16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | stack_pointer : u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | keys : [u8; 16], [INFO] [stdout] | ^^^^ [INFO] [stdout] 90 | oppcode_data: OppCodeData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/main.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl Chip [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn load_rom(&mut self, file_location: &str) -> () [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn emulate_cycle(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | fn clear_screen(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn return_from_subroutine(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | fn jump_to_address(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn call_subroutine(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn skip_if_x_equal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn skip_if_x_not_equal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | fn skip_if_x_y_equal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | fn assign_nn(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn add_nnn(&mut self) -> () [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn assign(&mut self) -> () [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn or(&mut self) -> () [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 382 | fn and(&mut self) -> () [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn xor(&mut self) -> () [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | fn add(&mut self) -> () [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | fn subtract_y_from_x(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | fn shift_x_right(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | fn subtract_x_from_y(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | fn shift_x_left(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn skip_if_equals(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | fn set_index_register(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | fn jump_to_address_plus_register_0(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | fn set_x_to_random_and(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | fn draw_sprite(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | fn skip_if_key_is_pressed(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | fn skip_if_key_is_not_pressed(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn get_delay_timer(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | fn wait_for_key_press(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | fn set_delay_timer(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | fn set_sound_timer(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | fn add_to_index(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | fn set_sprite_address(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | fn binary_coded_decimal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | fn register_dump(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | fn register_load(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "6146f96ca9094c776dc8c089a3511fa996fab13e63e1a75177c72fcdd80f1094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6146f96ca9094c776dc8c089a3511fa996fab13e63e1a75177c72fcdd80f1094", kill_on_drop: false }` [INFO] [stdout] 6146f96ca9094c776dc8c089a3511fa996fab13e63e1a75177c72fcdd80f1094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 340fc15858e3d47bcbdccfa0b2158c8cd0630d4800e6d355193857cb18ae7a0e [INFO] running `Command { std: "docker" "start" "-a" "340fc15858e3d47bcbdccfa0b2158c8cd0630d4800e6d355193857cb18ae7a0e", kill_on_drop: false }` [INFO] [stderr] Compiling chip_8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `chip` [INFO] [stdout] --> src/main.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut chip : Chip = Chip::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | let mut chip : Chip = Chip::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_WIDTH` is never used [INFO] [stdout] --> src/main.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SCREEN_WIDTH :u8 = 64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SCREEN_HEIGHT :u8 = 32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `was_key_pressed` is never used [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn was_key_pressed() -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_pressed_key` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_first_pressed_key() -> u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nnn`, `nn`, `n`, `x`, and `y` are never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct OppCodeData [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | { [INFO] [stdout] 41 | nnn : u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | nn : u8, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | n : u8, [INFO] [stdout] | ^ [INFO] [stdout] 44 | x : u8, [INFO] [stdout] | ^ [INFO] [stdout] 45 | y : u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl OppCodeData [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn init(&mut self, oppcode: u16) -> () [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct Chip [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 78 | { [INFO] [stdout] 79 | current_opcode : u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | memory : [u8;4096], [INFO] [stdout] 81 | registers : [u8;16], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | index_register : u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 83 | program_counter : u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | texture : [u8; 64*32], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 85 | delay_timer : u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | sound_timer : u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | stack : [u16;16], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | stack_pointer : u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | keys : [u8; 16], [INFO] [stdout] | ^^^^ [INFO] [stdout] 90 | oppcode_data: OppCodeData, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/main.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl Chip [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn load_rom(&mut self, file_location: &str) -> () [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn emulate_cycle(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | fn clear_screen(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn return_from_subroutine(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | fn jump_to_address(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn call_subroutine(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn skip_if_x_equal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn skip_if_x_not_equal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | fn skip_if_x_y_equal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | fn assign_nn(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn add_nnn(&mut self) -> () [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn assign(&mut self) -> () [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn or(&mut self) -> () [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 382 | fn and(&mut self) -> () [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn xor(&mut self) -> () [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | fn add(&mut self) -> () [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | fn subtract_y_from_x(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | fn shift_x_right(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | fn subtract_x_from_y(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | fn shift_x_left(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn skip_if_equals(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | fn set_index_register(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | fn jump_to_address_plus_register_0(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | fn set_x_to_random_and(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | fn draw_sprite(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | fn skip_if_key_is_pressed(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | fn skip_if_key_is_not_pressed(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn get_delay_timer(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | fn wait_for_key_press(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | fn set_delay_timer(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | fn set_sound_timer(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | fn add_to_index(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | fn set_sprite_address(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | fn binary_coded_decimal(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 593 | fn register_dump(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | fn register_load(&mut self) -> () [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "340fc15858e3d47bcbdccfa0b2158c8cd0630d4800e6d355193857cb18ae7a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340fc15858e3d47bcbdccfa0b2158c8cd0630d4800e6d355193857cb18ae7a0e", kill_on_drop: false }` [INFO] [stdout] 340fc15858e3d47bcbdccfa0b2158c8cd0630d4800e6d355193857cb18ae7a0e