[INFO] cloning repository https://github.com/ltriant/nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ltriant/nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0abdb6a0175f5b0670333634fd6d5f81e933cef2 [INFO] testing ltriant/nes against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fnes" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ltriant/nes on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ltriant/nes [INFO] finished tweaking git repo https://github.com/ltriant/nes [INFO] tweaked toml for git repo https://github.com/ltriant/nes written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ltriant/nes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4082ddfbaa5a3e4117ab7a3929d67f074503a183cb1e7634bce4cb282f6d2ed [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" "c4082ddfbaa5a3e4117ab7a3929d67f074503a183cb1e7634bce4cb282f6d2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4082ddfbaa5a3e4117ab7a3929d67f074503a183cb1e7634bce4cb282f6d2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4082ddfbaa5a3e4117ab7a3929d67f074503a183cb1e7634bce4cb282f6d2ed", kill_on_drop: false }` [INFO] [stdout] c4082ddfbaa5a3e4117ab7a3929d67f074503a183cb1e7634bce4cb282f6d2ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c815a9ae192c4d00883237f28ec2e58e87b6abfbdf674d01d77dc515e8afae95 [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" "c815a9ae192c4d00883237f28ec2e58e87b6abfbdf674d01d77dc515e8afae95", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling termcolor v1.0.2 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.45s [INFO] running `Command { std: "docker" "inspect" "c815a9ae192c4d00883237f28ec2e58e87b6abfbdf674d01d77dc515e8afae95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c815a9ae192c4d00883237f28ec2e58e87b6abfbdf674d01d77dc515e8afae95", kill_on_drop: false }` [INFO] [stdout] c815a9ae192c4d00883237f28ec2e58e87b6abfbdf674d01d77dc515e8afae95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 161db01a148d7b3091d91f1564d529f16311892128f31f9fd3f02419385ffd15 [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" "161db01a148d7b3091d91f1564d529f16311892128f31f9fd3f02419385ffd15", kill_on_drop: false }` [INFO] [stderr] Compiling nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory` [INFO] [stdout] --> src/cpu.rs:956:19 [INFO] [stdout] | [INFO] [stdout] 956 | let mem = NESMemory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Memory { [INFO] [stdout] | ---------------- similarly named trait `Memory` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 956 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 948 | use crate::mem::NESMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory` [INFO] [stdout] --> src/cpu.rs:973:19 [INFO] [stdout] | [INFO] [stdout] 973 | let mem = NESMemory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Memory { [INFO] [stdout] | ---------------- similarly named trait `Memory` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 973 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 948 | use crate::mem::NESMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory` [INFO] [stdout] --> src/cpu.rs:991:19 [INFO] [stdout] | [INFO] [stdout] 991 | let mem = NESMemory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Memory { [INFO] [stdout] | ---------------- similarly named trait `Memory` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 991 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 948 | use crate::mem::NESMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory` [INFO] [stdout] --> src/cpu.rs:1016:19 [INFO] [stdout] | [INFO] [stdout] 1016 | let mem = NESMemory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Memory { [INFO] [stdout] | ---------------- similarly named trait `Memory` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1016 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 948 | use crate::mem::NESMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory` [INFO] [stdout] --> src/cpu.rs:1035:19 [INFO] [stdout] | [INFO] [stdout] 1035 | let mem = NESMemory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mem.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Memory { [INFO] [stdout] | ---------------- similarly named trait `Memory` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1035 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 948 | use crate::mem::NESMemory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cpu.rs:954:19 [INFO] [stdout] | [INFO] [stdout] 954 | let ppu = PPU::new_nes_ppu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ppu.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new_nes_ppu(cartridge: Rc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cpu.rs:971:19 [INFO] [stdout] | [INFO] [stdout] 971 | let ppu = PPU::new_nes_ppu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ppu.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new_nes_ppu(cartridge: Rc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cpu.rs:989:19 [INFO] [stdout] | [INFO] [stdout] 989 | let ppu = PPU::new_nes_ppu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ppu.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new_nes_ppu(cartridge: Rc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ram` on type `Box<(dyn mem::Memory + 'static)>` [INFO] [stdout] --> src/cpu.rs:996:28 [INFO] [stdout] | [INFO] [stdout] 996 | assert_eq!(cpu.mem.ram[0x0100 + (cpu.sp as usize) + 1], 0xff); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ram` on type `Box<(dyn mem::Memory + 'static)>` [INFO] [stdout] --> src/cpu.rs:1000:28 [INFO] [stdout] | [INFO] [stdout] 1000 | assert_eq!(cpu.mem.ram[0x100 + (cpu.sp as usize) + 1], 0xad); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ram` on type `Box<(dyn mem::Memory + 'static)>` [INFO] [stdout] --> src/cpu.rs:1001:28 [INFO] [stdout] | [INFO] [stdout] 1001 | assert_eq!(cpu.mem.ram[0x100 + (cpu.sp as usize) + 2], 0xde); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cpu.rs:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | let ppu = PPU::new_nes_ppu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ppu.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new_nes_ppu(cartridge: Rc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/cpu.rs:1033:19 [INFO] [stdout] | [INFO] [stdout] 1033 | let ppu = PPU::new_nes_ppu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ppu.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new_nes_ppu(cartridge: Rc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `Box<(dyn mem::Memory + 'static)>` in the current scope [INFO] [stdout] --> src/cpu.rs:1041:17 [INFO] [stdout] | [INFO] [stdout] 1041 | cpu.mem.load_rom(&rom); [INFO] [stdout] | ^^^^^^^^ method not found in `Box<(dyn mem::Memory + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/mem.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let ppu = PPU::new_nes_ppu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ppu.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new_nes_ppu(cartridge: Rc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/mem.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let mut mem = NESMemory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ --- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mem.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new_nes_mem(ppu: Rc>, [INFO] [stdout] | ^^^^^^^^^^^ --------------------- [INFO] [stdout] 113 | apu: Rc>, [INFO] [stdout] | --------------------- [INFO] [stdout] 114 | controller: Rc>) [INFO] [stdout] | ----------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(mem.read(0x1000), Ok(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(mem.write(0x1000, 5), Ok(5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(mem.read(0x1000), Ok(5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `mem::NESMemory` in the current scope [INFO] [stdout] --> src/mem.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NESMemory { [INFO] [stdout] | -------------------- method `load_rom` not found for this [INFO] [stdout] ... [INFO] [stdout] 142 | mem.load_rom(&vec![0; 0x8000]); [INFO] [stdout] | ^^^^^^^^ method not found in `mem::NESMemory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(mem.read(0x8000), Ok(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(mem.read(0x8001), Ok(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(mem.read(0xffff), Ok(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/mem.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | let ppu = PPU::new_nes_ppu(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/ppu.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn new_nes_ppu(cartridge: Rc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/mem.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let mut mem = NESMemory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ --- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mem.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new_nes_mem(ppu: Rc>, [INFO] [stdout] | ^^^^^^^^^^^ --------------------- [INFO] [stdout] 113 | apu: Rc>, [INFO] [stdout] | --------------------- [INFO] [stdout] 114 | controller: Rc>) [INFO] [stdout] | ----------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `mem::NESMemory` in the current scope [INFO] [stdout] --> src/mem.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NESMemory { [INFO] [stdout] | -------------------- method `load_rom` not found for this [INFO] [stdout] ... [INFO] [stdout] 153 | mem.load_rom(&vec![0; 0x8000]); [INFO] [stdout] | ^^^^^^^^ method not found in `mem::NESMemory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(mem.read(0x8000), Ok(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(mem.read(0xffff), Ok(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_rom` found for struct `mem::NESMemory` in the current scope [INFO] [stdout] --> src/mem.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NESMemory { [INFO] [stdout] | -------------------- method `load_rom` not found for this [INFO] [stdout] ... [INFO] [stdout] 156 | mem.load_rom(&vec![1; 0x8000]); [INFO] [stdout] | ^^^^^^^^ method not found in `mem::NESMemory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(mem.read(0x8000), Ok(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mem.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(mem.read(0xffff), Ok(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Result<{integer}, _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nes` due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "161db01a148d7b3091d91f1564d529f16311892128f31f9fd3f02419385ffd15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161db01a148d7b3091d91f1564d529f16311892128f31f9fd3f02419385ffd15", kill_on_drop: false }` [INFO] [stdout] 161db01a148d7b3091d91f1564d529f16311892128f31f9fd3f02419385ffd15