[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] checking mattecker/RustBoy against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattecker%2FRustBoy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattecker/RustBoy on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "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-5-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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/bjz/gl-rs` [INFO] [stderr] Updating git submodule `https://github.com/capnm/Khronos_XML_API` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-integer v0.1.33 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9aeab4c91eeef4594ce68f9a2e13f984beeeeb65d756c85b4a4279058289e7a [INFO] running `Command { std: "docker" "start" "-a" "b9aeab4c91eeef4594ce68f9a2e13f984beeeeb65d756c85b4a4279058289e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9aeab4c91eeef4594ce68f9a2e13f984beeeeb65d756c85b4a4279058289e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9aeab4c91eeef4594ce68f9a2e13f984beeeeb65d756c85b4a4279058289e7a", kill_on_drop: false }` [INFO] [stdout] b9aeab4c91eeef4594ce68f9a2e13f984beeeeb65d756c85b4a4279058289e7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24ed796c1a7655204752f528172a02efb288facffaf023d7d5ae8c41180ccae [INFO] running `Command { std: "docker" "start" "-a" "b24ed796c1a7655204752f528172a02efb288facffaf023d7d5ae8c41180ccae", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling khronos_api v1.0.0 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Compiling gl_generator v0.5.2 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Checking sdl2 v0.29.0 [INFO] [stderr] Compiling gl v0.6.1 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Checking 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: 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: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: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: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: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: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: 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: `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: `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: `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_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: `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: `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: `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: 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: 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: 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: 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] = 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/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 `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] = note: `#[warn(dead_code)]` on by default [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 `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_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: 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: 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: 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: 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: 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: 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] [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] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "b24ed796c1a7655204752f528172a02efb288facffaf023d7d5ae8c41180ccae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24ed796c1a7655204752f528172a02efb288facffaf023d7d5ae8c41180ccae", kill_on_drop: false }` [INFO] [stdout] b24ed796c1a7655204752f528172a02efb288facffaf023d7d5ae8c41180ccae [INFO] checking mattecker/RustBoy against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattecker%2FRustBoy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattecker/RustBoy on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "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-5-tc2/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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b7359732e3a18bde6a5fb015fc396c38581ff13676d2a3790793b7a440b60a5 [INFO] running `Command { std: "docker" "start" "-a" "2b7359732e3a18bde6a5fb015fc396c38581ff13676d2a3790793b7a440b60a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b7359732e3a18bde6a5fb015fc396c38581ff13676d2a3790793b7a440b60a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b7359732e3a18bde6a5fb015fc396c38581ff13676d2a3790793b7a440b60a5", kill_on_drop: false }` [INFO] [stdout] 2b7359732e3a18bde6a5fb015fc396c38581ff13676d2a3790793b7a440b60a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc826cea560bc093a2c729c34c3c91f9c073d00489dcd607757bb3af5e1aadb8 [INFO] running `Command { std: "docker" "start" "-a" "cc826cea560bc093a2c729c34c3c91f9c073d00489dcd607757bb3af5e1aadb8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Compiling khronos_api v1.0.0 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stdout] error[E0365]: extern crate `core` is private and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-0.7.0/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use core as __core; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 1 | pub // Copyright 2014 The Rust Project Developers. See the COPYRIGHT [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0365]: extern crate `core` is private and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-0.7.0/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use core as __core; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 1 | pub // Copyright 2014 The Rust Project Developers. See the COPYRIGHT [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflags` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bitflags` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cc826cea560bc093a2c729c34c3c91f9c073d00489dcd607757bb3af5e1aadb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc826cea560bc093a2c729c34c3c91f9c073d00489dcd607757bb3af5e1aadb8", kill_on_drop: false }` [INFO] [stdout] cc826cea560bc093a2c729c34c3c91f9c073d00489dcd607757bb3af5e1aadb8