[INFO] cloning repository https://github.com/Chrizzsh/gameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chrizzsh/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrizzsh%2Fgameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrizzsh%2Fgameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b019abe22dc89c9dad78a67d399d0188b18f7f6 [INFO] checking Chrizzsh/gameboy against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrizzsh%2Fgameboy" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chrizzsh/gameboy on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Chrizzsh/gameboy [INFO] finished tweaking git repo https://github.com/Chrizzsh/gameboy [INFO] tweaked toml for git repo https://github.com/Chrizzsh/gameboy written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Chrizzsh/gameboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a690c5027403d70d1312db4083db4cbe13858c1ae8b827e03bece5b516f58504 [INFO] running `Command { std: "docker" "start" "-a" "a690c5027403d70d1312db4083db4cbe13858c1ae8b827e03bece5b516f58504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a690c5027403d70d1312db4083db4cbe13858c1ae8b827e03bece5b516f58504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a690c5027403d70d1312db4083db4cbe13858c1ae8b827e03bece5b516f58504", kill_on_drop: false }` [INFO] [stdout] a690c5027403d70d1312db4083db4cbe13858c1ae8b827e03bece5b516f58504 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b89f5ddb3d40c129935f01119b5d13738360c8c809deb6150a0cbb9cd658d87b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b89f5ddb3d40c129935f01119b5d13738360c8c809deb6150a0cbb9cd658d87b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking gb-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `h00` should have an upper camel case name [INFO] [stdout] --> src/main.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | h00, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H00` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h10` should have an upper camel case name [INFO] [stdout] --> src/main.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | h10, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h20` should have an upper camel case name [INFO] [stdout] --> src/main.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | h20, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h30` should have an upper camel case name [INFO] [stdout] --> src/main.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | h30, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H30` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h08` should have an upper camel case name [INFO] [stdout] --> src/main.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | h08, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H08` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h18` should have an upper camel case name [INFO] [stdout] --> src/main.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | h18, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h28` should have an upper camel case name [INFO] [stdout] --> src/main.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | h28, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H28` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h38` should have an upper camel case name [INFO] [stdout] --> src/main.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | h38, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H38` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h00` should have an upper camel case name [INFO] [stdout] --> src/main.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | h00, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H00` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h10` should have an upper camel case name [INFO] [stdout] --> src/main.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | h10, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h20` should have an upper camel case name [INFO] [stdout] --> src/main.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | h20, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h30` should have an upper camel case name [INFO] [stdout] --> src/main.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | h30, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H30` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h08` should have an upper camel case name [INFO] [stdout] --> src/main.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | h08, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H08` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h18` should have an upper camel case name [INFO] [stdout] --> src/main.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | h18, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H18` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h28` should have an upper camel case name [INFO] [stdout] --> src/main.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | h28, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H28` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `h38` should have an upper camel case name [INFO] [stdout] --> src/main.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | h38, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `H38` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | 0x78 => Some(Instruction::LD(LoadType::Byte(LoadByteTarget::A, LoadByteSource::B))), [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/main.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | 0xFF => Some(Instruction::RST(RSTVec::h38)), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | _ => None // TODO add all prefix instructions [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | 0x78 => Some(Instruction::LD(LoadType::Byte(LoadByteTarget::A, LoadByteSource::B))), [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/main.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | 0xFF => Some(Instruction::RST(RSTVec::h38)), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | _ => None // TODO add all prefix instructions [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1762:9 [INFO] [stdout] | [INFO] [stdout] 1762 | let mut cpu = CPU::new(); [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: field is never read: `ime` [INFO] [stdout] --> src/main.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | ime: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LCDC` should have a snake case name [INFO] [stdout] --> src/main.rs:1059:13 [INFO] [stdout] | [INFO] [stdout] 1059 | let LCDC = self.bus.read_byte(0xFF40); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `lcdc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1762:9 [INFO] [stdout] | [INFO] [stdout] 1762 | let mut cpu = CPU::new(); [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: field is never read: `ime` [INFO] [stdout] --> src/main.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | ime: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LCDC` should have a snake case name [INFO] [stdout] --> src/main.rs:1059:13 [INFO] [stdout] | [INFO] [stdout] 1059 | let LCDC = self.bus.read_byte(0xFF40); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `lcdc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/main.rs:1456:13 [INFO] [stdout] | [INFO] [stdout] 1456 | self.pc.wrapping_add(relative_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1740:13 [INFO] [stdout] | [INFO] [stdout] 1740 | window.update_with_buffer(&window_buffer, WIDTH, HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/main.rs:1456:13 [INFO] [stdout] | [INFO] [stdout] 1456 | self.pc.wrapping_add(relative_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1740:13 [INFO] [stdout] | [INFO] [stdout] 1740 | window.update_with_buffer(&window_buffer, WIDTH, HEIGHT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "b89f5ddb3d40c129935f01119b5d13738360c8c809deb6150a0cbb9cd658d87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89f5ddb3d40c129935f01119b5d13738360c8c809deb6150a0cbb9cd658d87b", kill_on_drop: false }` [INFO] [stdout] b89f5ddb3d40c129935f01119b5d13738360c8c809deb6150a0cbb9cd658d87b