[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] checking cafeclimber/GadgetNES against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcafeclimber%2FGadgetNES" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cafeclimber/GadgetNES on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f78218d8543ba632240a0bf4e35bccd02c9fc6b5a1c7b7afdeca5897a1c7cc10 [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" "f78218d8543ba632240a0bf4e35bccd02c9fc6b5a1c7b7afdeca5897a1c7cc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f78218d8543ba632240a0bf4e35bccd02c9fc6b5a1c7b7afdeca5897a1c7cc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f78218d8543ba632240a0bf4e35bccd02c9fc6b5a1c7b7afdeca5897a1c7cc10", kill_on_drop: false }` [INFO] [stdout] f78218d8543ba632240a0bf4e35bccd02c9fc6b5a1c7b7afdeca5897a1c7cc10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3f52602f653b1de6df7a37ef95a1add30e16dc164e05d32a4511c95c3d8fe70 [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" "a3f52602f653b1de6df7a37ef95a1add30e16dc164e05d32a4511c95c3d8fe70", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking gadget_nes v0.1.0 (/opt/rustwide/workdir) [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 a macro (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 a macro (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 a macro (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 a macro (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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | mapper: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Mapper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] [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] [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] [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] [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] [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] [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 a macro (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/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] [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] [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] [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] [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] [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] [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] [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] [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] [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] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^ help: remove these parentheses [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | mapper: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Mapper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^ help: remove these parentheses [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 an `usize` to `u8` and panic if the converted value wouldn'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[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 an `usize` to `u8` and panic if the converted value wouldn'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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "a3f52602f653b1de6df7a37ef95a1add30e16dc164e05d32a4511c95c3d8fe70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f52602f653b1de6df7a37ef95a1add30e16dc164e05d32a4511c95c3d8fe70", kill_on_drop: false }` [INFO] [stdout] a3f52602f653b1de6df7a37ef95a1add30e16dc164e05d32a4511c95c3d8fe70