[INFO] cloning repository https://github.com/BlueyNeilo/Chip8Emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BlueyNeilo/Chip8Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlueyNeilo%2FChip8Emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlueyNeilo%2FChip8Emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a5d6eb3bdffe027e5328015d08dcc9126d1e128a
[INFO] checking BlueyNeilo/Chip8Emulator against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlueyNeilo%2FChip8Emulator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BlueyNeilo/Chip8Emulator
[INFO] finished tweaking git repo https://github.com/BlueyNeilo/Chip8Emulator
[INFO] tweaked toml for git repo https://github.com/BlueyNeilo/Chip8Emulator written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BlueyNeilo/Chip8Emulator on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BlueyNeilo/Chip8Emulator 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitflags v0.7.0
[INFO] [stderr]   Downloaded num-traits v0.1.37
[INFO] [stderr]   Downloaded sdl2-sys v0.30.0
[INFO] [stderr]   Downloaded sdl2 v0.30.0
[INFO] [stderr]   Downloaded num v0.1.37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b16d62c476c245b83ca4a96789fe81a2a1e280d86d041ed9b2c45043e54c379c
[INFO] running `Command { std: "docker" "start" "-a" "b16d62c476c245b83ca4a96789fe81a2a1e280d86d041ed9b2c45043e54c379c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b16d62c476c245b83ca4a96789fe81a2a1e280d86d041ed9b2c45043e54c379c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b16d62c476c245b83ca4a96789fe81a2a1e280d86d041ed9b2c45043e54c379c", kill_on_drop: false }`
[INFO] [stdout] b16d62c476c245b83ca4a96789fe81a2a1e280d86d041ed9b2c45043e54c379c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] efe5975788f7ec4e4e9e99d2eb581162a485b5a758c4af040ef4f360a841eb10
[INFO] running `Command { std: "docker" "start" "-a" "efe5975788f7ec4e4e9e99d2eb581162a485b5a758c4af040ef4f360a841eb10", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking num-traits v0.1.37
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]     Checking libc v0.2.21
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]    Compiling chip_8 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking num-integer v0.1.34
[INFO] [stderr]     Checking num-iter v0.1.33
[INFO] [stderr]     Checking num v0.1.37
[INFO] [stderr]     Checking sdl2 v0.30.0
[INFO] [stdout] warning: unused imports: `WindowContext` and `Window`
[INFO] [stdout]   --> src/main.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 | use sdl2::video::{Window, WindowContext};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]   --> src/main.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 | use sdl2::render::{Canvas, WindowCanvas};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::OsStr`
[INFO] [stdout]   --> src/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use std::ffi::OsStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter` and `Write`
[INFO] [stdout]   --> src/main.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 | use std::io::{self, Read, Write, BufWriter};
[INFO] [stdout]    |                           ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 0.0...0.5 => self.volume,
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WindowContext` and `Window`
[INFO] [stdout]   --> src/main.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 | use sdl2::video::{Window, WindowContext};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Canvas`
[INFO] [stdout]   --> src/main.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 | use sdl2::render::{Canvas, WindowCanvas};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::OsStr`
[INFO] [stdout]   --> src/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use std::ffi::OsStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter` and `Write`
[INFO] [stdout]   --> src/main.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 | use std::io::{self, Read, Write, BufWriter};
[INFO] [stdout]    |                           ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 0.0...0.5 => self.volume,
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let mut event_pump = sdl_context.event_pump().unwrap(); //EventPump
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pixel_size` should have an upper case name
[INFO] [stdout]   --> src/main.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | const pixel_size: u32 = 20;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 60 - const pixel_size: u32 = 20;
[INFO] [stdout] 60 + const PIXEL_SIZE: u32 = 20;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setupIO` should have a snake case name
[INFO] [stdout]    --> src/main.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn setupIO() -> (WindowCanvas, EventPump, AudioDevice<SquareWave>) {
[INFO] [stdout]     |    ^^^^^^^ help: convert the identifier to snake case: `setup_io`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drawGraphics` should have a snake case name
[INFO] [stdout]    --> src/main.rs:156:4
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn drawGraphics(pixels: &[bool; 0x800], canvas: &mut WindowCanvas) {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `draw_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resetPixel` should have a snake case name
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn resetPixel(pixels: &mut [bool; 0x800], x: usize, y: usize, val: bool) {
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `reset_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `RNG_byte` should have a snake case name
[INFO] [stdout]    --> src/main.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn RNG_byte() -> u8 {
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `rng_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `drawFlag` should have a snake case name
[INFO] [stdout]    --> src/main.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 177 |     drawFlag: bool,
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `draw_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `I` should have a snake case name
[INFO] [stdout]    --> src/main.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     I: u16, //Index register
[INFO] [stdout]     |     ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `loadGame` should have a snake case name
[INFO] [stdout]    --> src/main.rs:202:8
[INFO] [stdout]     |
[INFO] [stdout] 202 |     fn loadGame(&mut self, memory:  &mut [u8; 0x1000], gameName: String) {
[INFO] [stdout]     |        ^^^^^^^^ help: convert the identifier to snake case: `load_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `gameName` should have a snake case name
[INFO] [stdout]    --> src/main.rs:202:56
[INFO] [stdout]     |
[INFO] [stdout] 202 |     fn loadGame(&mut self, memory:  &mut [u8; 0x1000], gameName: String) {
[INFO] [stdout]     |                                                        ^^^^^^^^ help: convert the identifier to snake case: `game_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `updatePixel` should have a snake case name
[INFO] [stdout]    --> src/main.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 |     fn updatePixel(&mut self, pixels: &mut [bool; 0x800], x: usize, y: usize, val: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^ help: convert the identifier to snake case: `update_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clearDisplay` should have a snake case name
[INFO] [stdout]    --> src/main.rs:219:8
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn clearDisplay(&mut self, pixels: &mut [bool; 0x800]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassembleCode` should have a snake case name
[INFO] [stdout]    --> src/main.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 |     fn disassembleCode(&mut self, memory: &[u8; 0x1000]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disassemble_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `emulateCycle` should have a snake case name
[INFO] [stdout]    --> src/main.rs:305:8
[INFO] [stdout]     |
[INFO] [stdout] 305 |     fn emulateCycle(&mut self, memory: &mut [u8; 0x1000], pixels: &mut [bool; 0x800], key: &[bool; 0x10], device: &AudioDevice<Squa...
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `emulate_cycle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `I` should have a snake case name
[INFO] [stdout]    --> src/main.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let I: usize = self.I as usize;
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initMemory` should have a snake case name
[INFO] [stdout]    --> src/main.rs:425:4
[INFO] [stdout]     |
[INFO] [stdout] 425 | fn initMemory(memory: &mut [u8; 0x1000], kvals: &mut [Keycode; 0x10]) {
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `init_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:485:42
[INFO] [stdout]     |
[INFO] [stdout] 485 |                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout]     |                                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 485 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 485 +                     for (i, kd) in kvals.iter().enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 485 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 485 +                     for (i, kd) in IntoIterator::into_iter(kvals).enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:497:42
[INFO] [stdout]     |
[INFO] [stdout] 497 |                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout]     |                                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 497 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 497 +                     for (i, kd) in kvals.iter().enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 497 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 497 +                     for (i, kd) in IntoIterator::into_iter(kvals).enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let mut event_pump = sdl_context.event_pump().unwrap(); //EventPump
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pixel_size` should have an upper case name
[INFO] [stdout]   --> src/main.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | const pixel_size: u32 = 20;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 60 - const pixel_size: u32 = 20;
[INFO] [stdout] 60 + const PIXEL_SIZE: u32 = 20;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setupIO` should have a snake case name
[INFO] [stdout]    --> src/main.rs:114:4
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn setupIO() -> (WindowCanvas, EventPump, AudioDevice<SquareWave>) {
[INFO] [stdout]     |    ^^^^^^^ help: convert the identifier to snake case: `setup_io`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drawGraphics` should have a snake case name
[INFO] [stdout]    --> src/main.rs:156:4
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn drawGraphics(pixels: &[bool; 0x800], canvas: &mut WindowCanvas) {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `draw_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resetPixel` should have a snake case name
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn resetPixel(pixels: &mut [bool; 0x800], x: usize, y: usize, val: bool) {
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `reset_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `RNG_byte` should have a snake case name
[INFO] [stdout]    --> src/main.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn RNG_byte() -> u8 {
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `rng_byte`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `drawFlag` should have a snake case name
[INFO] [stdout]    --> src/main.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 177 |     drawFlag: bool,
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `draw_flag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `I` should have a snake case name
[INFO] [stdout]    --> src/main.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     I: u16, //Index register
[INFO] [stdout]     |     ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `loadGame` should have a snake case name
[INFO] [stdout]    --> src/main.rs:202:8
[INFO] [stdout]     |
[INFO] [stdout] 202 |     fn loadGame(&mut self, memory:  &mut [u8; 0x1000], gameName: String) {
[INFO] [stdout]     |        ^^^^^^^^ help: convert the identifier to snake case: `load_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `gameName` should have a snake case name
[INFO] [stdout]    --> src/main.rs:202:56
[INFO] [stdout]     |
[INFO] [stdout] 202 |     fn loadGame(&mut self, memory:  &mut [u8; 0x1000], gameName: String) {
[INFO] [stdout]     |                                                        ^^^^^^^^ help: convert the identifier to snake case: `game_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `updatePixel` should have a snake case name
[INFO] [stdout]    --> src/main.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 213 |     fn updatePixel(&mut self, pixels: &mut [bool; 0x800], x: usize, y: usize, val: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^ help: convert the identifier to snake case: `update_pixel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clearDisplay` should have a snake case name
[INFO] [stdout]    --> src/main.rs:219:8
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn clearDisplay(&mut self, pixels: &mut [bool; 0x800]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassembleCode` should have a snake case name
[INFO] [stdout]    --> src/main.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 |     fn disassembleCode(&mut self, memory: &[u8; 0x1000]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disassemble_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `emulateCycle` should have a snake case name
[INFO] [stdout]    --> src/main.rs:305:8
[INFO] [stdout]     |
[INFO] [stdout] 305 |     fn emulateCycle(&mut self, memory: &mut [u8; 0x1000], pixels: &mut [bool; 0x800], key: &[bool; 0x10], device: &AudioDevice<Squa...
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `emulate_cycle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `I` should have a snake case name
[INFO] [stdout]    --> src/main.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let I: usize = self.I as usize;
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initMemory` should have a snake case name
[INFO] [stdout]    --> src/main.rs:425:4
[INFO] [stdout]     |
[INFO] [stdout] 425 | fn initMemory(memory: &mut [u8; 0x1000], kvals: &mut [Keycode; 0x10]) {
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `init_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:485:42
[INFO] [stdout]     |
[INFO] [stdout] 485 |                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout]     |                                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 485 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 485 +                     for (i, kd) in kvals.iter().enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 485 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 485 +                     for (i, kd) in IntoIterator::into_iter(kvals).enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:497:42
[INFO] [stdout]     |
[INFO] [stdout] 497 |                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout]     |                                          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 497 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 497 +                     for (i, kd) in kvals.iter().enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 497 -                     for (i, kd) in kvals.into_iter().enumerate() {
[INFO] [stdout] 497 +                     for (i, kd) in IntoIterator::into_iter(kvals).enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.73s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "efe5975788f7ec4e4e9e99d2eb581162a485b5a758c4af040ef4f360a841eb10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efe5975788f7ec4e4e9e99d2eb581162a485b5a758c4af040ef4f360a841eb10", kill_on_drop: false }`
[INFO] [stdout] efe5975788f7ec4e4e9e99d2eb581162a485b5a758c4af040ef4f360a841eb10
