[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#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattecker%2FRustBoy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattecker/RustBoy on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-0-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" "+2e6fc425411280c658d852813de01c5157255088" "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 lazy_static v0.2.4 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55b549e6aaf8d4a14d9f1560175fae0b1cfae75b10ff090c8067ce92081d14bd [INFO] running `Command { std: "docker" "start" "-a" "55b549e6aaf8d4a14d9f1560175fae0b1cfae75b10ff090c8067ce92081d14bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b549e6aaf8d4a14d9f1560175fae0b1cfae75b10ff090c8067ce92081d14bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b549e6aaf8d4a14d9f1560175fae0b1cfae75b10ff090c8067ce92081d14bd", kill_on_drop: false }` [INFO] [stdout] 55b549e6aaf8d4a14d9f1560175fae0b1cfae75b10ff090c8067ce92081d14bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80afb567a4c5e58e73a0cd23ccd556c60fe1871a174a4c77ca61c033d3587f8c [INFO] running `Command { std: "docker" "start" "-a" "80afb567a4c5e58e73a0cd23ccd556c60fe1871a174a4c77ca61c033d3587f8c", 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: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: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: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: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: 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 `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 `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: 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 `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 `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 2.44s [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" "80afb567a4c5e58e73a0cd23ccd556c60fe1871a174a4c77ca61c033d3587f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80afb567a4c5e58e73a0cd23ccd556c60fe1871a174a4c77ca61c033d3587f8c", kill_on_drop: false }` [INFO] [stdout] 80afb567a4c5e58e73a0cd23ccd556c60fe1871a174a4c77ca61c033d3587f8c [INFO] checking mattecker/RustBoy against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattecker%2FRustBoy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattecker/RustBoy on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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-0-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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b3deead09abb46bd714615cd4b720c25e9d653a0a8bda1e24fe4c1c80dda8cb [INFO] running `Command { std: "docker" "start" "-a" "0b3deead09abb46bd714615cd4b720c25e9d653a0a8bda1e24fe4c1c80dda8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b3deead09abb46bd714615cd4b720c25e9d653a0a8bda1e24fe4c1c80dda8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b3deead09abb46bd714615cd4b720c25e9d653a0a8bda1e24fe4c1c80dda8cb", kill_on_drop: false }` [INFO] [stdout] 0b3deead09abb46bd714615cd4b720c25e9d653a0a8bda1e24fe4c1c80dda8cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddc8e2e6c0e46c300ea626e7d33262800bdbe1689cfae17d51db7173c2bc1d45 [INFO] running `Command { std: "docker" "start" "-a" "ddc8e2e6c0e46c300ea626e7d33262800bdbe1689cfae17d51db7173c2bc1d45", 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 log v0.3.7 [INFO] [stderr] Compiling khronos_api v1.0.0 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.1.37/src/lib.rs:229:54 [INFO] [stdout] | [INFO] [stdout] 229 | (true, Ok(exp)) => base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 242 | float_trait_impl!(Num for f32 f64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `float_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.1.37/src/lib.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | (false, Ok(exp)) => 1.0 / base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 242 | float_trait_impl!(Num for f32 f64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `float_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.3.15 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-traits` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ddc8e2e6c0e46c300ea626e7d33262800bdbe1689cfae17d51db7173c2bc1d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc8e2e6c0e46c300ea626e7d33262800bdbe1689cfae17d51db7173c2bc1d45", kill_on_drop: false }` [INFO] [stdout] ddc8e2e6c0e46c300ea626e7d33262800bdbe1689cfae17d51db7173c2bc1d45