[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 try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrizzsh%2Fgameboy" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chrizzsh/gameboy on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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-12/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tar v0.4.33 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] [stderr] Downloaded minifb v0.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7634b7a5784cbdf93b115939008f951e5df15760094ccbf632e88079b871f5ad [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" "7634b7a5784cbdf93b115939008f951e5df15760094ccbf632e88079b871f5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7634b7a5784cbdf93b115939008f951e5df15760094ccbf632e88079b871f5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7634b7a5784cbdf93b115939008f951e5df15760094ccbf632e88079b871f5ad", kill_on_drop: false }` [INFO] [stdout] 7634b7a5784cbdf93b115939008f951e5df15760094ccbf632e88079b871f5ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4643e381a8143491c2cd4b8b2cd6d0a3c4b269de352f5124d4c3a0714765035f [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" "4643e381a8143491c2cd4b8b2cd6d0a3c4b269de352f5124d4c3a0714765035f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking xcursor 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] Compiling clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.3 [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 `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 `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 `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 `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 `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: 16 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "4643e381a8143491c2cd4b8b2cd6d0a3c4b269de352f5124d4c3a0714765035f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4643e381a8143491c2cd4b8b2cd6d0a3c4b269de352f5124d4c3a0714765035f", kill_on_drop: false }` [INFO] [stdout] 4643e381a8143491c2cd4b8b2cd6d0a3c4b269de352f5124d4c3a0714765035f