[INFO] cloning repository https://github.com/douglascorrea/gbrustemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/douglascorrea/gbrustemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouglascorrea%2Fgbrustemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouglascorrea%2Fgbrustemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c30059b5bf9585a07644e058c1542fee9846c26b [INFO] checking douglascorrea/gbrustemu/c30059b5bf9585a07644e058c1542fee9846c26b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouglascorrea%2Fgbrustemu" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/douglascorrea/gbrustemu on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/douglascorrea/gbrustemu [INFO] finished tweaking git repo https://github.com/douglascorrea/gbrustemu [INFO] tweaked toml for git repo https://github.com/douglascorrea/gbrustemu written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/douglascorrea/gbrustemu 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded pkg-config v0.3.15 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded minifb v0.12.0 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded orbclient v0.3.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9652cf9627a5529c3758673a4987e45b56b7e502a156517885a199dc28433138 [INFO] running `Command { std: "docker" "start" "-a" "9652cf9627a5529c3758673a4987e45b56b7e502a156517885a199dc28433138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9652cf9627a5529c3758673a4987e45b56b7e502a156517885a199dc28433138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9652cf9627a5529c3758673a4987e45b56b7e502a156517885a199dc28433138", kill_on_drop: false }` [INFO] [stdout] 9652cf9627a5529c3758673a4987e45b56b7e502a156517885a199dc28433138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91ef934314c4d7294e47fe0bd0aeb6992ab50574088a92f39c1ce12fb6e70f92 [INFO] running `Command { std: "docker" "start" "-a" "91ef934314c4d7294e47fe0bd0aeb6992ab50574088a92f39c1ce12fb6e70f92", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling minifb v0.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking gbrustemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../ROMS/DMG_ROM.bin`: No such file or directory (os error 2) [INFO] [stdout] --> src/mmu.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | boot_rom: *include_bytes!("../ROMS/DMG_ROM.bin"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../ROMS/DMG_ROM.bin`: No such file or directory (os error 2) [INFO] [stdout] --> src/mmu.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | boot_rom: *include_bytes!("../ROMS/DMG_ROM.bin"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/mmu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/mmu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/mmu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/mmu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 371 | 0x81 => Instruction::AddAc, [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 372 | 0x81 => Instruction::AddAc, [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 371 | 0x81 => Instruction::AddAc, [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] 372 | 0x81 => Instruction::AddAc, [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb_d16` [INFO] [stdout] --> src/cpu.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let cb_d16: u16 = (cb_n2 << 8) | cb_n1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cb_d16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb_d16` [INFO] [stdout] --> src/cpu.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let cb_d16: u16 = (cb_n2 << 8) | cb_n1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cb_d16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ly` [INFO] [stdout] --> src/cpu.rs:1313:21 [INFO] [stdout] | [INFO] [stdout] 1313 | let ly = mmu.read_byte(0xFF44); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ly` [INFO] [stdout] --> src/cpu.rs:1313:21 [INFO] [stdout] | [INFO] [stdout] 1313 | let ly = mmu.read_byte(0xFF44); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gbrustemu` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gbrustemu` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "91ef934314c4d7294e47fe0bd0aeb6992ab50574088a92f39c1ce12fb6e70f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ef934314c4d7294e47fe0bd0aeb6992ab50574088a92f39c1ce12fb6e70f92", kill_on_drop: false }` [INFO] [stdout] 91ef934314c4d7294e47fe0bd0aeb6992ab50574088a92f39c1ce12fb6e70f92