[INFO] cloning repository https://github.com/jlippitt/snailemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlippitt/snailemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlippitt%2Fsnailemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlippitt%2Fsnailemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87bc45e404d7812983ba1257230f81155a8f611e [INFO] checking jlippitt/snailemu against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlippitt%2Fsnailemu" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlippitt/snailemu 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/jlippitt/snailemu [INFO] finished tweaking git repo https://github.com/jlippitt/snailemu [INFO] tweaked toml for git repo https://github.com/jlippitt/snailemu written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/jlippitt/snailemu 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 2f05e3d9f2db8ac89f3c7ab68a2e4c327a5e5e0bd372fa33b5c8059ab9ebce43 [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" "2f05e3d9f2db8ac89f3c7ab68a2e4c327a5e5e0bd372fa33b5c8059ab9ebce43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f05e3d9f2db8ac89f3c7ab68a2e4c327a5e5e0bd372fa33b5c8059ab9ebce43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f05e3d9f2db8ac89f3c7ab68a2e4c327a5e5e0bd372fa33b5c8059ab9ebce43", kill_on_drop: false }` [INFO] [stdout] 2f05e3d9f2db8ac89f3c7ab68a2e4c327a5e5e0bd372fa33b5c8059ab9ebce43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 010df908119f4bf8f53db0d5f3b3c0bec53487bafa968cf311006637918e0bb3 [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" "010df908119f4bf8f53db0d5f3b3c0bec53487bafa968cf311006637918e0bb3", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking sdl2 v0.29.1 [INFO] [stderr] Checking snailemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hardware/joypad.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags! { [INFO] [stdout] 14 | | pub flags ButtonState: u16 { [INFO] [stdout] 15 | | const B = 0x8000, [INFO] [stdout] 16 | | const Y = 0x4000, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/hardware/joypad.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags! { [INFO] [stdout] 14 | | pub flags ButtonState: u16 { [INFO] [stdout] 15 | | const B = 0x8000, [INFO] [stdout] 16 | | const Y = 0x4000, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/hardware/registers.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | flags CpuAction: u8 { [INFO] [stdout] 27 | | const NMI = 0x80, [INFO] [stdout] 28 | | const IRQ = 0x40, [INFO] [stdout] 29 | | const DMA = 0x20 [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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/hardware/registers.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | flags CpuAction: u8 { [INFO] [stdout] 27 | | const NMI = 0x80, [INFO] [stdout] 28 | | const IRQ = 0x40, [INFO] [stdout] 29 | | const DMA = 0x20 [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/hardware.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | bus: &'a mut HardwareBus, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn HardwareBus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/hardware.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | let (bus, offset, cycles): (&mut HardwareBus, usize, u64) = if bank & 0x40 != 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn HardwareBus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/hardware.rs:290:29 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn new(bus: &'a mut HardwareBus, offset: usize, cycles: u64) -> MemoryLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn HardwareBus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/ppu/background_mode.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | type ModeFn = Fn(&Ppu, usize, usize, ScreenLayer) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ppu, usize, usize, ScreenLayer) -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/hardware/ppu/mode_7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hardware/joypad.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags! { [INFO] [stdout] 14 | | pub flags ButtonState: u16 { [INFO] [stdout] 15 | | const B = 0x8000, [INFO] [stdout] 16 | | const Y = 0x4000, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/hardware/joypad.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags! { [INFO] [stdout] 14 | | pub flags ButtonState: u16 { [INFO] [stdout] 15 | | const B = 0x8000, [INFO] [stdout] 16 | | const Y = 0x4000, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [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/hardware/registers.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | flags CpuAction: u8 { [INFO] [stdout] 27 | | const NMI = 0x80, [INFO] [stdout] 28 | | const IRQ = 0x40, [INFO] [stdout] 29 | | const DMA = 0x20 [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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/hardware/registers.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / bitflags! { [INFO] [stdout] 26 | | flags CpuAction: u8 { [INFO] [stdout] 27 | | const NMI = 0x80, [INFO] [stdout] 28 | | const IRQ = 0x40, [INFO] [stdout] 29 | | const DMA = 0x20 [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/hardware.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | bus: &'a mut HardwareBus, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn HardwareBus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/hardware.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | let (bus, offset, cycles): (&mut HardwareBus, usize, u64) = if bank & 0x40 != 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn HardwareBus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/hardware.rs:290:29 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn new(bus: &'a mut HardwareBus, offset: usize, cycles: u64) -> MemoryLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn HardwareBus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hardware/ppu/background_mode.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | type ModeFn = Fn(&Ppu, usize, usize, ScreenLayer) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ppu, usize, usize, ScreenLayer) -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/hardware/ppu/mode_7.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/cpu.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | op_code @ _ => panic!("Unrecognised op code: {:02X}", op_code) [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/cpu/cpu.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | op_code @ _ => panic!("Unrecognised op code: {:02X}", op_code) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hardware` [INFO] [stdout] --> src/cpu/cpu.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn hardware(&self) -> &Hardware { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `joypad` [INFO] [stdout] --> src/hardware/hardware.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn joypad(&self) -> &Joypad { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `background_mode` [INFO] [stdout] --> src/hardware/ppu/ppu.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn background_mode(&self) -> &BackgroundMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interlace` [INFO] [stdout] --> src/hardware/screen.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Interlace(InterlaceFrame) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Even` [INFO] [stdout] --> src/hardware/screen.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Even, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Odd` [INFO] [stdout] --> src/hardware/screen.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Odd [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hardware` [INFO] [stdout] --> src/cpu/cpu.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn hardware(&self) -> &Hardware { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `joypad` [INFO] [stdout] --> src/hardware/hardware.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn joypad(&self) -> &Joypad { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `background_mode` [INFO] [stdout] --> src/hardware/ppu/ppu.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn background_mode(&self) -> &BackgroundMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interlace` [INFO] [stdout] --> src/hardware/screen.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Interlace(InterlaceFrame) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Even` [INFO] [stdout] --> src/hardware/screen.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Even, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Odd` [INFO] [stdout] --> src/hardware/screen.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Odd [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "010df908119f4bf8f53db0d5f3b3c0bec53487bafa968cf311006637918e0bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010df908119f4bf8f53db0d5f3b3c0bec53487bafa968cf311006637918e0bb3", kill_on_drop: false }` [INFO] [stdout] 010df908119f4bf8f53db0d5f3b3c0bec53487bafa968cf311006637918e0bb3