[INFO] cloning repository https://github.com/vgf89/chip8remu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vgf89/chip8remu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgf89%2Fchip8remu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgf89%2Fchip8remu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 707eca34e5f059f297556c8afd76ee9af8be3870 [INFO] building vgf89/chip8remu 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%2Fvgf89%2Fchip8remu" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vgf89/chip8remu 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/vgf89/chip8remu [INFO] finished tweaking git repo https://github.com/vgf89/chip8remu [INFO] tweaked toml for git repo https://github.com/vgf89/chip8remu written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vgf89/chip8remu 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.1.32 [INFO] [stderr] Downloaded num-traits v0.1.32 [INFO] [stderr] Downloaded num-integer v0.1.32 [INFO] [stderr] Downloaded num-iter v0.1.32 [INFO] [stderr] Downloaded libc v0.2.11 [INFO] [stderr] Downloaded lazy_static v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6a709f7b1fd34c7243cd6ec25a9037b5077268b9ddeb96c3afa8232f48a50f59 [INFO] running `Command { std: "docker" "start" "-a" "6a709f7b1fd34c7243cd6ec25a9037b5077268b9ddeb96c3afa8232f48a50f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a709f7b1fd34c7243cd6ec25a9037b5077268b9ddeb96c3afa8232f48a50f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a709f7b1fd34c7243cd6ec25a9037b5077268b9ddeb96c3afa8232f48a50f59", kill_on_drop: false }` [INFO] [stdout] 6a709f7b1fd34c7243cd6ec25a9037b5077268b9ddeb96c3afa8232f48a50f59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e262703b3f64565b48afd011903072e073051e2999376ec7ce7f9697d295e10a [INFO] running `Command { std: "docker" "start" "-a" "e262703b3f64565b48afd011903072e073051e2999376ec7ce7f9697d295e10a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.32 [INFO] [stderr] Compiling libc v0.2.11 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.1 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling num v0.1.32 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling chip8remu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::mouse::MouseButton` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2::mouse::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowContext` and `Window` [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `TextureCreator`, and `Texture` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/chip8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::Wrapping` [INFO] [stdout] --> src/chip8.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chip8.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut f = try!(File::open("roms/programs/Chip8 emulator Logo [Garstyciuks].ch8")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut f = try!(File::open("roms/programs/Chip8 emulator Logo [Garstyciuks].ch8")); [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: unused variable: `x` [INFO] [stdout] --> src/chip8.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut x = 0u8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/chip8.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut y = 0u8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/chip8.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut height = 0u8; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/chip8.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pixel = 0u8; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let mut addr = 0u16; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `j` is never read [INFO] [stdout] --> src/chip8.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | let mut j = 0u8; [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: value assigned to `newbit` is never read [INFO] [stdout] --> src/chip8.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | let mut newbit:bool = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oldbit` [INFO] [stdout] --> src/chip8.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | let mut oldbit:bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldbit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/chip8.rs:462:29 [INFO] [stdout] | [INFO] [stdout] 462 | let vx = (self.v[x as usize] & 0x000F) as u16; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut x = 0u8; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut y = 0u8; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut height = 0u8; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pixel = 0u8; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut addr = 0u16; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | let mut oldbit:bool = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:438:29 [INFO] [stdout] | [INFO] [stdout] 438 | let mut vx = self.v[x as usize]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyboard`, `tinterval`, and `tcount` are never read [INFO] [stdout] --> src/chip8.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Chip8 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub keyboard: [bool; 16], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub tinterval: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub tcount: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | core.load_rom(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = core.load_rom(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.72s [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 1` [INFO] running `Command { std: "docker" "inspect" "e262703b3f64565b48afd011903072e073051e2999376ec7ce7f9697d295e10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e262703b3f64565b48afd011903072e073051e2999376ec7ce7f9697d295e10a", kill_on_drop: false }` [INFO] [stdout] e262703b3f64565b48afd011903072e073051e2999376ec7ce7f9697d295e10a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3331dc952e5906fded7e50b1d2665737ed8b408608df25b9b24474db1571ad51 [INFO] running `Command { std: "docker" "start" "-a" "3331dc952e5906fded7e50b1d2665737ed8b408608df25b9b24474db1571ad51", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling chip8remu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::mouse::MouseButton` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2::mouse::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowContext` and `Window` [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `TextureCreator`, and `Texture` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/chip8.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::Wrapping` [INFO] [stdout] --> src/chip8.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chip8.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut f = try!(File::open("roms/programs/Chip8 emulator Logo [Garstyciuks].ch8")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut f = try!(File::open("roms/programs/Chip8 emulator Logo [Garstyciuks].ch8")); [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: unused variable: `x` [INFO] [stdout] --> src/chip8.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut x = 0u8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/chip8.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let mut y = 0u8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/chip8.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut height = 0u8; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/chip8.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pixel = 0u8; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let mut addr = 0u16; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `j` is never read [INFO] [stdout] --> src/chip8.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | let mut j = 0u8; [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: value assigned to `newbit` is never read [INFO] [stdout] --> src/chip8.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | let mut newbit:bool = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oldbit` [INFO] [stdout] --> src/chip8.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | let mut oldbit:bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldbit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/chip8.rs:462:29 [INFO] [stdout] | [INFO] [stdout] 462 | let vx = (self.v[x as usize] & 0x000F) as u16; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut x = 0u8; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut y = 0u8; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut height = 0u8; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pixel = 0u8; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut addr = 0u16; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | let mut oldbit:bool = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8.rs:438:29 [INFO] [stdout] | [INFO] [stdout] 438 | let mut vx = self.v[x as usize]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyboard`, `tinterval`, and `tcount` are never read [INFO] [stdout] --> src/chip8.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Chip8 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub keyboard: [bool; 16], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub tinterval: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub tcount: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | core.load_rom(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = core.load_rom(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [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 1` [INFO] running `Command { std: "docker" "inspect" "3331dc952e5906fded7e50b1d2665737ed8b408608df25b9b24474db1571ad51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3331dc952e5906fded7e50b1d2665737ed8b408608df25b9b24474db1571ad51", kill_on_drop: false }` [INFO] [stdout] 3331dc952e5906fded7e50b1d2665737ed8b408608df25b9b24474db1571ad51