[INFO] cloning repository https://github.com/RedArms/rust_chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RedArms/rust_chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedArms%2Frust_chip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedArms%2Frust_chip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69f3442d27cfad190a10b3cfa287a0ec35a6dd61 [INFO] building RedArms/rust_chip8 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%2FRedArms%2Frust_chip8" "/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/RedArms/rust_chip8 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/RedArms/rust_chip8 [INFO] finished tweaking git repo https://github.com/RedArms/rust_chip8 [INFO] tweaked toml for git repo https://github.com/RedArms/rust_chip8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RedArms/rust_chip8 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded device_query v2.0.0 [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] f03c8ba9654748f95e479b65f45230ad9c7ec7cd51674ae22f09e6bdf05aaf4d [INFO] running `Command { std: "docker" "start" "-a" "f03c8ba9654748f95e479b65f45230ad9c7ec7cd51674ae22f09e6bdf05aaf4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f03c8ba9654748f95e479b65f45230ad9c7ec7cd51674ae22f09e6bdf05aaf4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03c8ba9654748f95e479b65f45230ad9c7ec7cd51674ae22f09e6bdf05aaf4d", kill_on_drop: false }` [INFO] [stdout] f03c8ba9654748f95e479b65f45230ad9c7ec7cd51674ae22f09e6bdf05aaf4d [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] 36be89c4c41fcf9686e3dcfe582bfa4d29a2fb3597e87a1300c2f26b96d1b014 [INFO] running `Command { std: "docker" "start" "-a" "36be89c4c41fcf9686e3dcfe582bfa4d29a2fb3597e87a1300c2f26b96d1b014", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling device_query v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rust_chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Not` and `Sub` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Not, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `device_state` is never read [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut device_state = DeviceState::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let cpu = Self::init(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let result: Vec = contents.chunks(2) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x12` [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let x12 = get_xbytes(12, opcode) as u8; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_x12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x23` [INFO] [stdout] --> src/main.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let x23 = get_xbytes(23, opcode) as u8; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_x23` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x123` [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let x123 = get_xbytes(123, opcode); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x123` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:403:29 [INFO] [stdout] | [INFO] [stdout] 403 | let mut key = 0; [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: methods `fetch`, `registersList`, and `print_ERROR` are never used [INFO] [stdout] --> src/main.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn fetch(&mut self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn registersList(&self) -> [&u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | fn print_ERROR(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vA` should have a snake case name [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | vA:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vB` should have a snake case name [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | vB:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vC` should have a snake case name [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | vC:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vD` should have a snake case name [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | vD:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vE` should have a snake case name [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | vE:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vF` should have a snake case name [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | vF:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | I:u16, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | PC:u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | SP:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DT` should have a snake case name [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | DT:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ST` should have a snake case name [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ST:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `STACK` should have a snake case name [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | STACK:[u16;16], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RAM` should have a snake case name [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | RAM:[u8; 4095], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SCREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | SCREEN:[[bool;64];32] [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getXreg` should have a snake case name [INFO] [stdout] --> src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn getXreg(&mut self,x:u8) -> &u8 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_xreg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setXreg` should have a snake case name [INFO] [stdout] --> src/main.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn setXreg(&mut self,x:u8,value:u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_xreg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `registersList` should have a snake case name [INFO] [stdout] --> src/main.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn registersList(&self) -> [&u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `registers_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keyToIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn keyToIndex(&self,key:Keycode) -> usize { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `key_to_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_ERROR` should have a snake case name [INFO] [stdout] --> src/main.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | fn print_ERROR(&self) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `print_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `printScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | fn printScreen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `print_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.23s [INFO] running `Command { std: "docker" "inspect" "36be89c4c41fcf9686e3dcfe582bfa4d29a2fb3597e87a1300c2f26b96d1b014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36be89c4c41fcf9686e3dcfe582bfa4d29a2fb3597e87a1300c2f26b96d1b014", kill_on_drop: false }` [INFO] [stdout] 36be89c4c41fcf9686e3dcfe582bfa4d29a2fb3597e87a1300c2f26b96d1b014 [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] 4d457566ee9db3a738071e304c6ade2e20d506bd9cb0c5e3e0d9d655ecc335da [INFO] running `Command { std: "docker" "start" "-a" "4d457566ee9db3a738071e304c6ade2e20d506bd9cb0c5e3e0d9d655ecc335da", kill_on_drop: false }` [INFO] [stderr] Compiling rust_chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Not` and `Sub` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Not, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `device_state` is never read [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut device_state = DeviceState::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let cpu = Self::init(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let result: Vec = contents.chunks(2) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x12` [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let x12 = get_xbytes(12, opcode) as u8; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_x12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x23` [INFO] [stdout] --> src/main.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let x23 = get_xbytes(23, opcode) as u8; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_x23` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x123` [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let x123 = get_xbytes(123, opcode); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_x123` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:403:29 [INFO] [stdout] | [INFO] [stdout] 403 | let mut key = 0; [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: methods `fetch`, `registersList`, and `print_ERROR` are never used [INFO] [stdout] --> src/main.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn fetch(&mut self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn registersList(&self) -> [&u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | fn print_ERROR(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vA` should have a snake case name [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | vA:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vB` should have a snake case name [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | vB:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vC` should have a snake case name [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | vC:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vD` should have a snake case name [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | vD:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vE` should have a snake case name [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | vE:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vF` should have a snake case name [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | vF:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | I:u16, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | PC:u16, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | SP:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DT` should have a snake case name [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | DT:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ST` should have a snake case name [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ST:u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `STACK` should have a snake case name [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | STACK:[u16;16], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RAM` should have a snake case name [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | RAM:[u8; 4095], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SCREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | SCREEN:[[bool;64];32] [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getXreg` should have a snake case name [INFO] [stdout] --> src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn getXreg(&mut self,x:u8) -> &u8 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_xreg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setXreg` should have a snake case name [INFO] [stdout] --> src/main.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn setXreg(&mut self,x:u8,value:u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_xreg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `registersList` should have a snake case name [INFO] [stdout] --> src/main.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn registersList(&self) -> [&u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `registers_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keyToIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn keyToIndex(&self,key:Keycode) -> usize { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `key_to_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_ERROR` should have a snake case name [INFO] [stdout] --> src/main.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | fn print_ERROR(&self) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `print_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `printScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | fn printScreen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `print_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "4d457566ee9db3a738071e304c6ade2e20d506bd9cb0c5e3e0d9d655ecc335da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d457566ee9db3a738071e304c6ade2e20d506bd9cb0c5e3e0d9d655ecc335da", kill_on_drop: false }` [INFO] [stdout] 4d457566ee9db3a738071e304c6ade2e20d506bd9cb0c5e3e0d9d655ecc335da