[INFO] cloning repository https://github.com/Ace314159/GBC-Emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ace314159/GBC-Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAce314159%2FGBC-Emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAce314159%2FGBC-Emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d8a9697d6c77466bc1a891b00321726f355b4276
[INFO] checking Ace314159/GBC-Emulator against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAce314159%2FGBC-Emulator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ace314159/GBC-Emulator
[INFO] finished tweaking git repo https://github.com/Ace314159/GBC-Emulator
[INFO] tweaked toml for git repo https://github.com/Ace314159/GBC-Emulator written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ace314159/GBC-Emulator on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ace314159/GBC-Emulator 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gl v0.14.0
[INFO] [stderr]   Downloaded xml-rs v0.8.0
[INFO] [stderr]   Downloaded sdl2 v0.33.0
[INFO] [stderr]   Downloaded libc v0.2.67
[INFO] [stderr]   Downloaded sdl2-sys v0.33.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8976a4c573ce49860ff916401c4dd6e114596573dc952a6bf689f9ca9ca162d6
[INFO] running `Command { std: "docker" "start" "-a" "8976a4c573ce49860ff916401c4dd6e114596573dc952a6bf689f9ca9ca162d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8976a4c573ce49860ff916401c4dd6e114596573dc952a6bf689f9ca9ca162d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8976a4c573ce49860ff916401c4dd6e114596573dc952a6bf689f9ca9ca162d6", kill_on_drop: false }`
[INFO] [stdout] 8976a4c573ce49860ff916401c4dd6e114596573dc952a6bf689f9ca9ca162d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 105a0d505910512857cd3b581e5c0a821555983085fbbce7631c358376313056
[INFO] running `Command { std: "docker" "start" "-a" "105a0d505910512857cd3b581e5c0a821555983085fbbce7631c358376313056", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling sdl2 v0.33.0
[INFO] [stderr]    Compiling sdl2-sys v0.33.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking gbc-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]   --> src/gbc/cpu/instructions.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |             0x7F => self.regs.a = self.regs.a,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]   --> src/gbc/cpu/instructions.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |             0x40 => self.regs.b = self.regs.b,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |             0x49 => self.regs.c = self.regs.c,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:112:21
[INFO] [stdout]     |
[INFO] [stdout] 112 |             0x52 => self.regs.d = self.regs.d,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |             0x5B => self.regs.e = self.regs.e,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |             0x64 => self.regs.h = self.regs.h,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |             0x6D => self.regs.l = self.regs.l,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `p` is never read
[INFO] [stdout]   --> src/gbc/io/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct IO {
[INFO] [stdout]    |            -- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub p: bool,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/gbc/io/mod.rs:198:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |             let rom_a = (*rom)[..0x100].as_mut_ptr() as *mut [u8; 0x100];
[INFO] [stdout]     |                         ^^---^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this raw pointer has type `*mut [u8; 2304]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [u8; 2304]`
[INFO] [stdout]    --> src/gbc/io/mod.rs:198:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |             let rom_a = (*rom)[..0x100].as_mut_ptr() as *mut [u8; 0x100];
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     = note: `#[deny(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 198 |             let rom_a = (&mut (*rom))[..0x100].as_mut_ptr() as *mut [u8; 0x100];
[INFO] [stdout]     |                         +++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/gbc/io/mod.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let rom_b = (*rom)[0x200..0x900].as_mut_ptr() as *mut [u8; 0x700];
[INFO] [stdout]     |                         ^^---^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this raw pointer has type `*mut [u8; 2304]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [u8; 2304]`
[INFO] [stdout]    --> src/gbc/io/mod.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let rom_b = (*rom)[0x200..0x900].as_mut_ptr() as *mut [u8; 0x700];
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let rom_b = (&mut (*rom))[0x200..0x900].as_mut_ptr() as *mut [u8; 0x700];
[INFO] [stdout]     |                         +++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]   --> src/gbc/cpu/instructions.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |             0x7F => self.regs.a = self.regs.a,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gbc-emulator` (lib test) due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]   --> src/gbc/cpu/instructions.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |             0x40 => self.regs.b = self.regs.b,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |             0x49 => self.regs.c = self.regs.c,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:112:21
[INFO] [stdout]     |
[INFO] [stdout] 112 |             0x52 => self.regs.d = self.regs.d,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |             0x5B => self.regs.e = self.regs.e,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |             0x64 => self.regs.h = self.regs.h,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: useless assignment of field of type `u8` to itself
[INFO] [stdout]    --> src/gbc/cpu/instructions.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |             0x6D => self.regs.l = self.regs.l,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `p` is never read
[INFO] [stdout]   --> src/gbc/io/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct IO {
[INFO] [stdout]    |            -- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub p: bool,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/gbc/io/mod.rs:198:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |             let rom_a = (*rom)[..0x100].as_mut_ptr() as *mut [u8; 0x100];
[INFO] [stdout]     |                         ^^---^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this raw pointer has type `*mut [u8; 2304]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [u8; 2304]`
[INFO] [stdout]    --> src/gbc/io/mod.rs:198:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |             let rom_a = (*rom)[..0x100].as_mut_ptr() as *mut [u8; 0x100];
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     = note: `#[deny(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 198 |             let rom_a = (&mut (*rom))[..0x100].as_mut_ptr() as *mut [u8; 0x100];
[INFO] [stdout]     |                         +++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/gbc/io/mod.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let rom_b = (*rom)[0x200..0x900].as_mut_ptr() as *mut [u8; 0x700];
[INFO] [stdout]     |                         ^^---^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this raw pointer has type `*mut [u8; 2304]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [u8; 2304]`
[INFO] [stdout]    --> src/gbc/io/mod.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let rom_b = (*rom)[0x200..0x900].as_mut_ptr() as *mut [u8; 0x700];
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let rom_b = (&mut (*rom))[0x200..0x900].as_mut_ptr() as *mut [u8; 0x700];
[INFO] [stdout]     |                         +++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gbc-emulator` (lib) due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "105a0d505910512857cd3b581e5c0a821555983085fbbce7631c358376313056", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "105a0d505910512857cd3b581e5c0a821555983085fbbce7631c358376313056", kill_on_drop: false }`
[INFO] [stdout] 105a0d505910512857cd3b581e5c0a821555983085fbbce7631c358376313056
