[INFO] cloning repository https://github.com/sindreij/rust-gb-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sindreij/rust-gb-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsindreij%2Frust-gb-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsindreij%2Frust-gb-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9596dfeb2a88f55546a19bbdfcde7e42dcd85922 [INFO] checking sindreij/rust-gb-emu against master#4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 for 92191_revert [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsindreij%2Frust-gb-emu" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sindreij/rust-gb-emu on toolchain 4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sindreij/rust-gb-emu [INFO] finished tweaking git repo https://github.com/sindreij/rust-gb-emu [INFO] tweaked toml for git repo https://github.com/sindreij/rust-gb-emu written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/sindreij/rust-gb-emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "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 takeable-option v0.4.0 [INFO] [stderr] Downloaded glium v0.25.1 [INFO] [stderr] Downloaded glutin v0.21.1 [INFO] [stderr] Downloaded rustyline v5.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c87808e18c4c43a924c27c4ca0badd9464076629b32976fa10108f9980359064 [INFO] running `Command { std: "docker" "start" "-a" "c87808e18c4c43a924c27c4ca0badd9464076629b32976fa10108f9980359064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c87808e18c4c43a924c27c4ca0badd9464076629b32976fa10108f9980359064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87808e18c4c43a924c27c4ca0badd9464076629b32976fa10108f9980359064", kill_on_drop: false }` [INFO] [stdout] c87808e18c4c43a924c27c4ca0badd9464076629b32976fa10108f9980359064 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aea60b74159e08cf8dfea645965af7e39af93c149bea97fa99ec296671ebd03 [INFO] running `Command { std: "docker" "start" "-a" "9aea60b74159e08cf8dfea645965af7e39af93c149bea97fa99ec296671ebd03", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking ctrlc v3.1.3 [INFO] [stderr] Checking rustyline v5.0.4 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.1 [INFO] [stderr] Checking gbemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/instructions.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | inst @ 0x40...0x7f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/instructions.rs:303:24 [INFO] [stdout] | [INFO] [stdout] 303 | inst @ 0x80...0xbf => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | 0x0000...0xfeff => self.write_ram(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 0xff00...0xffff => self.write_io_register(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::Mmu` [INFO] [stdout] --> src/ppu.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{error::Error, mem::Mmu}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/instructions.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | inst @ 0x40...0x7f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/display.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | thread::sleep_ms(30); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/instructions.rs:303:24 [INFO] [stdout] | [INFO] [stdout] 303 | inst @ 0x80...0xbf => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | 0x0000...0xfeff => self.write_ram(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 0xff00...0xffff => self.write_io_register(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::Mmu` [INFO] [stdout] --> src/ppu.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{error::Error, mem::Mmu}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn main_() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn main_() -> Result<(), Box> { [INFO] [stdout] 40 + fn main_() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | fn debug(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - fn debug(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] 50 + fn debug(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | fn run(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn run(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] 63 + fn run(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | fn game_loop(cpu: &mut Cpu, mmu: &mut Mmu) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn game_loop(cpu: &mut Cpu, mmu: &mut Mmu) -> Result<(), Box> { [INFO] [stdout] 86 + fn game_loop(cpu: &mut Cpu, mmu: &mut Mmu) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | fn disassemble_bootrom() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn disassemble_bootrom() -> Result<(), Box> { [INFO] [stdout] 106 + fn disassemble_bootrom() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/display.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | thread::sleep_ms(30); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn main_() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn main_() -> Result<(), Box> { [INFO] [stdout] 40 + fn main_() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | fn debug(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - fn debug(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] 50 + fn debug(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | fn run(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn run(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] 63 + fn run(rom_file: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | fn game_loop(cpu: &mut Cpu, mmu: &mut Mmu) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn game_loop(cpu: &mut Cpu, mmu: &mut Mmu) -> Result<(), Box> { [INFO] [stdout] 86 + fn game_loop(cpu: &mut Cpu, mmu: &mut Mmu) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | fn disassemble_bootrom() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn disassemble_bootrom() -> Result<(), Box> { [INFO] [stdout] 106 + fn disassemble_bootrom() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gbemu` due to 3 previous errors; 11 warnings emitted [INFO] [stdout] error[E0063]: missing field `ppu` in initializer of `Mmu` [INFO] [stdout] --> src/mem.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | Mmu { mem } [INFO] [stdout] | ^^^ missing `ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `display_thread` [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (display_thread, display) = display::start_thread(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/display.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let image: Vec = vec![ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let (inst, delta) = Instruction::parse(0, &input); [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------------------- this expression has type `Result<(instructions::Instruction, u16), error::Error>` [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(instructions::Instruction, u16), error::Error>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut ppu = Ppu::new(display); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut ppu = Ppu::new(Arc::new(Mutex::new(vec![]))); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `display` [INFO] [stdout] --> src/ppu.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | display: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/ppu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | buffer: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_line` [INFO] [stdout] --> src/ppu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | current_line: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_pixel` [INFO] [stdout] --> src/ppu.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | next_pixel: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | mmu.ppu.step(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9aea60b74159e08cf8dfea645965af7e39af93c149bea97fa99ec296671ebd03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aea60b74159e08cf8dfea645965af7e39af93c149bea97fa99ec296671ebd03", kill_on_drop: false }` [INFO] [stdout] 9aea60b74159e08cf8dfea645965af7e39af93c149bea97fa99ec296671ebd03