[INFO] cloning repository https://github.com/cafeclimber/GadgetNES [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cafeclimber/GadgetNES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcafeclimber%2FGadgetNES", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcafeclimber%2FGadgetNES'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 683b6e29ed51b65db4afad1d131ef0797a0e9799 [INFO] testing cafeclimber/GadgetNES against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcafeclimber%2FGadgetNES" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cafeclimber/GadgetNES on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cafeclimber/GadgetNES [INFO] finished tweaking git repo https://github.com/cafeclimber/GadgetNES [INFO] tweaked toml for git repo https://github.com/cafeclimber/GadgetNES written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/cafeclimber/GadgetNES already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 num-traits v0.2.2 [INFO] [stderr] Downloaded atty v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 065a0f76055b630eadb91c096841b11b703e9cab386777e8aa23891bbf9c48fb [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" "065a0f76055b630eadb91c096841b11b703e9cab386777e8aa23891bbf9c48fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065a0f76055b630eadb91c096841b11b703e9cab386777e8aa23891bbf9c48fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065a0f76055b630eadb91c096841b11b703e9cab386777e8aa23891bbf9c48fb", kill_on_drop: false }` [INFO] [stdout] 065a0f76055b630eadb91c096841b11b703e9cab386777e8aa23891bbf9c48fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1abe645ca2a9d0ad4787d7371ac72dad5af34654d0166514f281793e5d83c517 [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" "1abe645ca2a9d0ad4787d7371ac72dad5af34654d0166514f281793e5d83c517", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling gadget_nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::PixelFormatEnum::RGB24` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2::pixels::PixelFormatEnum::RGB24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextureCreator`, `Texture` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::render::{Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | #[derive(Default)] [INFO] [stdout] 27 | | struct ProcessorFlags: u8 { [INFO] [stdout] 28 | | const CARRY = 0b00000001; [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | #[derive(Default)] [INFO] [stdout] 27 | | struct ProcessorFlags: u8 { [INFO] [stdout] 28 | | const CARRY = 0b00000001; [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | #[derive(Default)] [INFO] [stdout] 27 | | struct ProcessorFlags: u8 { [INFO] [stdout] 28 | | const CARRY = 0b00000001; [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:260:16 [INFO] [stdout] | [INFO] [stdout] 260 | 0x0...0x07FF => self.ram[addr as usize], [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 2015) 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/cpu.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | 0x0800...0x1FFF => self.ram[(addr % 0x0800) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/cpu.rs:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | 0x2000...0xFFFF => interconnect.read_byte(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/cpu.rs:274:16 [INFO] [stdout] | [INFO] [stdout] 274 | 0x0...0x07FF => self.ram[addr as usize] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/cpu.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | 0x0800...0x1FFF => self.ram[(addr % 0x0800) as usize] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/cpu.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | 0x2000...0xFFFF => interconnect.write_byte(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | 0x2000...0x2007 => unimplemented!(), // PPU registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | 0x2008...0x3FFF => unimplemented!(), // PPU register mirrors [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | 0x4000...0x4017 => unimplemented!(), // APU registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4018...0x401F => panic!("These registers are disabled during normal operation"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | 0x4020...0xFFFF => self.cart.prg_read(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | 0x2000...0x2007 => unimplemented!(), // PPU registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | 0x2008...0x3FFF => unimplemented!(), // PPU register mirrors [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | 0x4000...0x4017 => unimplemented!(), // APU registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | 0x4018...0x401F => panic!("These registers are disabled during normal operation"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/interconnect.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | 0x4020...0xFFFF => self.cart.prg_write(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/nes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::sdl2::Sdl` [INFO] [stdout] --> src/nes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::sdl2::Sdl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/nes.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn step(&mut self) -> (u8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub fn step(&mut self) -> (u8) { [INFO] [stdout] 70 + pub fn step(&mut self) -> u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/nes.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (opcode) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - (opcode) [INFO] [stdout] 73 + opcode [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | #[derive(Default)] [INFO] [stdout] 41 | | struct PpuCtrl: u8 { [INFO] [stdout] 42 | | const NAMETABLE = 0b00000011; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | #[derive(Default)] [INFO] [stdout] 41 | | struct PpuCtrl: u8 { [INFO] [stdout] 42 | | const NAMETABLE = 0b00000011; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / bitflags! { [INFO] [stdout] 40 | | #[derive(Default)] [INFO] [stdout] 41 | | struct PpuCtrl: u8 { [INFO] [stdout] 42 | | const NAMETABLE = 0b00000011; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / bitflags! { [INFO] [stdout] 53 | | #[derive(Default)] [INFO] [stdout] 54 | | struct PpuMask: u8 { [INFO] [stdout] 55 | | const GREYSCALE = 0b00000001; [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / bitflags! { [INFO] [stdout] 53 | | #[derive(Default)] [INFO] [stdout] 54 | | struct PpuMask: u8 { [INFO] [stdout] 55 | | const GREYSCALE = 0b00000001; [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / bitflags! { [INFO] [stdout] 53 | | #[derive(Default)] [INFO] [stdout] 54 | | struct PpuMask: u8 { [INFO] [stdout] 55 | | const GREYSCALE = 0b00000001; [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / bitflags! { [INFO] [stdout] 67 | | #[derive(Default)] [INFO] [stdout] 68 | | struct PpuStatus: u8 { [INFO] [stdout] 69 | | const LAST_WRITTEN_BITS = 0b00011111; [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / bitflags! { [INFO] [stdout] 67 | | #[derive(Default)] [INFO] [stdout] 68 | | struct PpuStatus: u8 { [INFO] [stdout] 69 | | const LAST_WRITTEN_BITS = 0b00011111; [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ppu.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / bitflags! { [INFO] [stdout] 67 | | #[derive(Default)] [INFO] [stdout] 68 | | struct PpuStatus: u8 { [INFO] [stdout] 69 | | const LAST_WRITTEN_BITS = 0b00011111; [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | mapper: 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - mapper: Box, [INFO] [stdout] 7 + mapper: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/nes.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | self.interconnect.ppu.step(&mut self.interconnect.cart, self.cpu.cycles()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u8`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 72 | self.interconnect.ppu.step(&mut self.interconnect.cart, self.cpu.cycles().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gadget_nes` due to 2 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1abe645ca2a9d0ad4787d7371ac72dad5af34654d0166514f281793e5d83c517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abe645ca2a9d0ad4787d7371ac72dad5af34654d0166514f281793e5d83c517", kill_on_drop: false }` [INFO] [stdout] 1abe645ca2a9d0ad4787d7371ac72dad5af34654d0166514f281793e5d83c517