[INFO] cloning repository https://github.com/npdawson/rustboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/npdawson/rustboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpdawson%2Frustboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpdawson%2Frustboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d2d5de67799a4924e34be4cfa08c2b7f666bd03 [INFO] checking npdawson/rustboy against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpdawson%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/npdawson/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/npdawson/rustboy [INFO] finished tweaking git repo https://github.com/npdawson/rustboy [INFO] tweaked toml for git repo https://github.com/npdawson/rustboy written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/npdawson/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] Downloading crates ... [INFO] [stderr] Downloaded num-iter v0.1.32 [INFO] [stderr] Downloaded num v0.1.35 [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] [stderr] Downloaded num-integer v0.1.32 [INFO] [stderr] Downloaded rand v0.3.14 [INFO] [stderr] Downloaded num-traits v0.1.35 [INFO] [stderr] Downloaded libc v0.2.16 [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] [stderr] Downloaded lazy_static v0.2.1 [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] 7b4ba95d5a00ca1c2952d0a953b6296ab4bef171b7b6991f60ac6d81fa0115cc [INFO] running `Command { std: "docker" "start" "-a" "7b4ba95d5a00ca1c2952d0a953b6296ab4bef171b7b6991f60ac6d81fa0115cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4ba95d5a00ca1c2952d0a953b6296ab4bef171b7b6991f60ac6d81fa0115cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4ba95d5a00ca1c2952d0a953b6296ab4bef171b7b6991f60ac6d81fa0115cc", kill_on_drop: false }` [INFO] [stdout] 7b4ba95d5a00ca1c2952d0a953b6296ab4bef171b7b6991f60ac6d81fa0115cc [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] 7731214dcba2d9f483460bfbd1b1b028b69e4aa774c33eccbf44eb8a772651dc [INFO] running `Command { std: "docker" "start" "-a" "7731214dcba2d9f483460bfbd1b1b028b69e4aa774c33eccbf44eb8a772651dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.35 [INFO] [stderr] Checking libc v0.2.16 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.35 [INFO] [stderr] Checking sdl2 v0.25.0 [INFO] [stderr] Checking rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/dmg/cpu/cpu.rs:648:40 [INFO] [stdout] | [INFO] [stdout] 648 | let addr = self.read_reg16(HL);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/dmg/cpu/cpu.rs:664:40 [INFO] [stdout] | [INFO] [stdout] 664 | let addr = self.read_reg16(HL);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FF_C` should have an upper camel case name [INFO] [stdout] --> src/dmg/cpu/opcode.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | FF_C, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `FfC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::cpu::Cpu` [INFO] [stdout] --> src/dmg/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/debugger/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dmg::cpu::Instruction` [INFO] [stdout] --> src/debugger/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dmg::cpu::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dmg::cpu::Opcode::*` [INFO] [stdout] --> src/debugger/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use dmg::cpu::Opcode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dmg::mem_map::Addr::*` [INFO] [stdout] --> src/debugger/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use dmg::mem_map::Addr::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/dmg/cpu/cpu.rs:648:40 [INFO] [stdout] | [INFO] [stdout] 648 | let addr = self.read_reg16(HL);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/dmg/cpu/cpu.rs:664:40 [INFO] [stdout] | [INFO] [stdout] 664 | let addr = self.read_reg16(HL);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FF_C` should have an upper camel case name [INFO] [stdout] --> src/dmg/cpu/opcode.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | FF_C, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `FfC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::cpu::Cpu` [INFO] [stdout] --> src/dmg/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::cpu::Cpu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/debugger/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dmg::cpu::Instruction` [INFO] [stdout] --> src/debugger/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dmg::cpu::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dmg::cpu::Opcode::*` [INFO] [stdout] --> src/debugger/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use dmg::cpu::Opcode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dmg::mem_map::Addr::*` [INFO] [stdout] --> src/debugger/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use dmg::mem_map::Addr::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dmg/cpu/cpu.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut value = match op { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/dmg/cpu/cpu.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | let cycles = self.execute(instr, interconnect); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dmg/cpu/cpu.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut value = match op { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/dmg/cpu/cpu.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | let cycles = self.execute(instr, interconnect); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dmg/cpu/instruction.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | _ => unreachable!() [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dmg/cpu/instruction.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | _ => unreachable!() [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dmg/interconnect.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | Addr::Rom(offset) => panic!("Write word to MBC not supported"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dmg/interconnect.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | Addr::Rom(offset) => panic!("Write word to MBC not supported"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dmg/interconnect.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | Addr::Vram(offset) => panic!("dma from vram not implemented"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/dmg/interconnect.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | Addr::Vram(offset) => panic!("dma from vram not implemented"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/debugger/mod.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let addr = mem_map::map_addr(current_pc); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/debugger/mod.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let addr = mem_map::map_addr(current_pc); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pitch` [INFO] [stdout] --> src/main.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | texture.with_lock(None, |buffer: &mut [u8], pitch: usize| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pitch` [INFO] [stdout] --> src/main.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | texture.with_lock(None, |buffer: &mut [u8], pitch: usize| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dma_buffer` is never read [INFO] [stdout] --> src/dmg/interconnect.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interconnect { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | dma_buffer: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cgb_flag`, `sgb_flag`, and `rom_size` are never read [INFO] [stdout] --> src/dmg/cart.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 168 | title: Box<[u8]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 169 | cgb_flag: CgbFlag, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | sgb_flag: SgbFlag, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 171 | cart_type: Mbc, [INFO] [stdout] 172 | rom_size: RomSize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timer_cycle_count` is never read [INFO] [stdout] --> src/dmg/timer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | timer_cycle_count: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Timer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dma_buffer` is never read [INFO] [stdout] --> src/dmg/interconnect.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interconnect { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | dma_buffer: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cgb_flag`, `sgb_flag`, and `rom_size` are never read [INFO] [stdout] --> src/dmg/cart.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 168 | title: Box<[u8]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 169 | cgb_flag: CgbFlag, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | sgb_flag: SgbFlag, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 171 | cart_type: Mbc, [INFO] [stdout] 172 | rom_size: RomSize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timer_cycle_count` is never read [INFO] [stdout] --> src/dmg/timer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | timer_cycle_count: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Timer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | renderer.copy(&texture, None, None); [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] 93 | let _ = renderer.copy(&texture, None, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | renderer.copy(&texture, None, None); [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] 93 | let _ = renderer.copy(&texture, None, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.6.0, nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "7731214dcba2d9f483460bfbd1b1b028b69e4aa774c33eccbf44eb8a772651dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7731214dcba2d9f483460bfbd1b1b028b69e4aa774c33eccbf44eb8a772651dc", kill_on_drop: false }` [INFO] [stdout] 7731214dcba2d9f483460bfbd1b1b028b69e4aa774c33eccbf44eb8a772651dc [INFO] checking npdawson/rustboy against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpdawson%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/npdawson/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/npdawson/rustboy [INFO] finished tweaking git repo https://github.com/npdawson/rustboy [INFO] tweaked toml for git repo https://github.com/npdawson/rustboy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/npdawson/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] 7ef3288838847956ca9a98eec835f64ed7b28eb4f45aced050f861e2a9c0a3f9 [INFO] running `Command { std: "docker" "start" "-a" "7ef3288838847956ca9a98eec835f64ed7b28eb4f45aced050f861e2a9c0a3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ef3288838847956ca9a98eec835f64ed7b28eb4f45aced050f861e2a9c0a3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef3288838847956ca9a98eec835f64ed7b28eb4f45aced050f861e2a9c0a3f9", kill_on_drop: false }` [INFO] [stdout] 7ef3288838847956ca9a98eec835f64ed7b28eb4f45aced050f861e2a9c0a3f9 [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] 517365b225d5b08fb84a75b6e20a26ba94470fb2f8db688199db681d0138f32d [INFO] running `Command { std: "docker" "start" "-a" "517365b225d5b08fb84a75b6e20a26ba94470fb2f8db688199db681d0138f32d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.35 [INFO] [stderr] Checking libc v0.2.16 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking rand v0.3.14 [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.35/src/lib.rs:212:54 [INFO] [stdout] | [INFO] [stdout] 212 | (true, Ok(exp)) => base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 225 | 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.35/src/lib.rs:213:60 [INFO] [stdout] | [INFO] [stdout] 213 | (false, Ok(exp)) => 1.0 / base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 225 | 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: 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" "517365b225d5b08fb84a75b6e20a26ba94470fb2f8db688199db681d0138f32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517365b225d5b08fb84a75b6e20a26ba94470fb2f8db688199db681d0138f32d", kill_on_drop: false }` [INFO] [stdout] 517365b225d5b08fb84a75b6e20a26ba94470fb2f8db688199db681d0138f32d