[INFO] cloning repository https://github.com/mattecker/RustBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattecker/RustBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattecker%2FRustBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattecker%2FRustBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc8dfcd7e296945a7ee281af56cbafc5c32b211d [INFO] building mattecker/RustBoy 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%2Fmattecker%2FRustBoy" "/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/mattecker/RustBoy 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/mattecker/RustBoy [INFO] finished tweaking git repo https://github.com/mattecker/RustBoy [INFO] tweaked toml for git repo https://github.com/mattecker/RustBoy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mattecker/RustBoy 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] Updating git submodule `https://github.com/capnm/Khronos_XML_API` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded sdl2 v0.29.0 [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] 4753be9c64446f1f92304f9956595918144e626d43d941cd58585a8f0ee3b94d [INFO] running `Command { std: "docker" "start" "-a" "4753be9c64446f1f92304f9956595918144e626d43d941cd58585a8f0ee3b94d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4753be9c64446f1f92304f9956595918144e626d43d941cd58585a8f0ee3b94d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4753be9c64446f1f92304f9956595918144e626d43d941cd58585a8f0ee3b94d", kill_on_drop: false }` [INFO] [stdout] 4753be9c64446f1f92304f9956595918144e626d43d941cd58585a8f0ee3b94d [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] e70d1b5ae8c0b8bfd51397b0980b0015f1ef90dfda9d0025357ec2c3f889bbee [INFO] running `Command { std: "docker" "start" "-a" "e70d1b5ae8c0b8bfd51397b0980b0015f1ef90dfda9d0025357ec2c3f889bbee", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling khronos_api v1.0.0 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling gl_generator v0.5.2 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Compiling sdl2 v0.29.0 [INFO] [stderr] Compiling gl v0.6.1 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Compiling rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/gb/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/gb/get_info.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gb/get_info.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut gameboy_color: String; [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: variable does not need to be mutable [INFO] [stdout] --> src/gb/get_info.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut super_gameboy: String; [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/gb/get_info.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cartridge_type: String; [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/gb/get_info.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut rom_size: String; [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/gb/get_info.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut ram_size: String; [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/gb/get_info.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut destination: String; [INFO] [stdout] | -------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/gb/instructions.rs:1037:12 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/gb/instructions.rs:1037:26 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/gb/instructions.rs:1037:35 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg_pc` [INFO] [stdout] --> src/gb/instructions.rs:1037:56 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/gb/instructions.rs:1040:12 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/gb/instructions.rs:1040:26 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg_pc` [INFO] [stdout] --> src/gb/instructions.rs:1040:43 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/instructions.rs:1052:74 [INFO] [stdout] | [INFO] [stdout] 1052 | fn ld_8_test(value1: &mut u8, value2: u8, reg_pc: &mut u16, length: u16, cycles: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gb/instructions.rs:1064:6 [INFO] [stdout] | [INFO] [stdout] 1064 | let mut new_value: u8 = memory.memory_array[*reg_sp as usize] as u8; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx1` [INFO] [stdout] --> src/other/timer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | let (tx1, rx1) = channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_reg_af`, `set_reg_af`, `get_n`, `get_h`, and `print` are never used [INFO] [stdout] --> src/gb/cpu.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_reg_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_reg_af(&mut self, data: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_n(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn get_h(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bit_at_16` is never used [INFO] [stdout] --> src/gb/cpu.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_bit_at_16(input: u16, n: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bit_at_16` is never used [INFO] [stdout] --> src/gb/instructions_cb.rs:565:4 [INFO] [stdout] | [INFO] [stdout] 565 | fn get_bit_at_16(input: u16, n: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld_8_ar` is never used [INFO] [stdout] --> src/gb/instructions.rs:1037:4 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld_8_ra` is never used [INFO] [stdout] --> src/gb/instructions.rs:1040:4 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize` is never used [INFO] [stdout] --> src/gb/memory.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn initialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ins_count` is never read [INFO] [stdout] --> src/other/emu.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Emu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | ins_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/other/emu.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl Emu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `machine_cycle_freq` is never read [INFO] [stdout] --> src/other/timer.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | machine_cycle_freq: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> src/other/timer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/other/emu.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | self.timer.rx.recv(); [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] 69 | let _ = self.timer.rx.recv(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.89s [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" "e70d1b5ae8c0b8bfd51397b0980b0015f1ef90dfda9d0025357ec2c3f889bbee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e70d1b5ae8c0b8bfd51397b0980b0015f1ef90dfda9d0025357ec2c3f889bbee", kill_on_drop: false }` [INFO] [stdout] e70d1b5ae8c0b8bfd51397b0980b0015f1ef90dfda9d0025357ec2c3f889bbee [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] 00003e8dae24c7ba0c2ffad401e5642fbb55d3e33d38c9056d586706f94983df [INFO] running `Command { std: "docker" "start" "-a" "00003e8dae24c7ba0c2ffad401e5642fbb55d3e33d38c9056d586706f94983df", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/gb/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/gb/get_info.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gb/get_info.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut gameboy_color: String; [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: variable does not need to be mutable [INFO] [stdout] --> src/gb/get_info.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut super_gameboy: String; [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/gb/get_info.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cartridge_type: String; [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/gb/get_info.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut rom_size: String; [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/gb/get_info.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut ram_size: String; [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/gb/get_info.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut destination: String; [INFO] [stdout] | -------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/gb/instructions.rs:1037:12 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/gb/instructions.rs:1037:26 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/gb/instructions.rs:1037:35 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg_pc` [INFO] [stdout] --> src/gb/instructions.rs:1037:56 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/gb/instructions.rs:1040:12 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/gb/instructions.rs:1040:26 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg_pc` [INFO] [stdout] --> src/gb/instructions.rs:1040:43 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/gb/instructions.rs:1052:74 [INFO] [stdout] | [INFO] [stdout] 1052 | fn ld_8_test(value1: &mut u8, value2: u8, reg_pc: &mut u16, length: u16, cycles: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gb/instructions.rs:1064:6 [INFO] [stdout] | [INFO] [stdout] 1064 | let mut new_value: u8 = memory.memory_array[*reg_sp as usize] as u8; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx1` [INFO] [stdout] --> src/other/timer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | let (tx1, rx1) = channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_reg_af`, `set_reg_af`, `get_n`, `get_h`, and `print` are never used [INFO] [stdout] --> src/gb/cpu.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_reg_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_reg_af(&mut self, data: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_n(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn get_h(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bit_at_16` is never used [INFO] [stdout] --> src/gb/cpu.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_bit_at_16(input: u16, n: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bit_at_16` is never used [INFO] [stdout] --> src/gb/instructions_cb.rs:565:4 [INFO] [stdout] | [INFO] [stdout] 565 | fn get_bit_at_16(input: u16, n: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld_8_ar` is never used [INFO] [stdout] --> src/gb/instructions.rs:1037:4 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ld_8_ar(address: u16, reg: u8, memory: &mut Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld_8_ra` is never used [INFO] [stdout] --> src/gb/instructions.rs:1040:4 [INFO] [stdout] | [INFO] [stdout] 1040 | fn ld_8_ra(reg: &mut u8, memory: &Memory, reg_pc: &mut u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize` is never used [INFO] [stdout] --> src/gb/memory.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn initialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ins_count` is never read [INFO] [stdout] --> src/other/emu.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Emu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | ins_count: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/other/emu.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl Emu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `machine_cycle_freq` is never read [INFO] [stdout] --> src/other/timer.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | machine_cycle_freq: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> src/other/timer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl Timer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/other/emu.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | self.timer.rx.recv(); [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] 69 | let _ = self.timer.rx.recv(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [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" "00003e8dae24c7ba0c2ffad401e5642fbb55d3e33d38c9056d586706f94983df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00003e8dae24c7ba0c2ffad401e5642fbb55d3e33d38c9056d586706f94983df", kill_on_drop: false }` [INFO] [stdout] 00003e8dae24c7ba0c2ffad401e5642fbb55d3e33d38c9056d586706f94983df