[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] 51161afc6b4f53e9fb7b94f23f83afbbf25e83a6 [INFO] checking ltriant/nes against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fnes" "/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/ltriant/nes on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64e218d960c94f201eae653b340c3b2ee22ec274a65db52df94397541faea1ab [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" "64e218d960c94f201eae653b340c3b2ee22ec274a65db52df94397541faea1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64e218d960c94f201eae653b340c3b2ee22ec274a65db52df94397541faea1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e218d960c94f201eae653b340c3b2ee22ec274a65db52df94397541faea1ab", kill_on_drop: false }` [INFO] [stdout] 64e218d960c94f201eae653b340c3b2ee22ec274a65db52df94397541faea1ab [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=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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ef30ddb01393bdf207798b3fdda2c2d378a183b2cd94bfb15ac0e787a538dfc [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" "5ef30ddb01393bdf207798b3fdda2c2d378a183b2cd94bfb15ac0e787a538dfc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking termcolor v1.0.2 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NESMemory` [INFO] [stdout] --> src/cpu.rs:948:19 [INFO] [stdout] | [INFO] [stdout] 948 | 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] 948 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 940 | 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:965:19 [INFO] [stdout] | [INFO] [stdout] 965 | 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] 965 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 940 | 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:983:19 [INFO] [stdout] | [INFO] [stdout] 983 | 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] 983 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 940 | 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:1008:19 [INFO] [stdout] | [INFO] [stdout] 1008 | 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] 1008 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 940 | 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:1027:19 [INFO] [stdout] | [INFO] [stdout] 1027 | 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] 1027 | let mem = Memory::new_nes_mem(ppu, ctrl); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 940 | 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:946:19 [INFO] [stdout] | [INFO] [stdout] 946 | 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:963:19 [INFO] [stdout] | [INFO] [stdout] 963 | 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:981:19 [INFO] [stdout] | [INFO] [stdout] 981 | 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:988:28 [INFO] [stdout] | [INFO] [stdout] 988 | 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:992:28 [INFO] [stdout] | [INFO] [stdout] 992 | 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:993:28 [INFO] [stdout] | [INFO] [stdout] 993 | 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:1006:19 [INFO] [stdout] | [INFO] [stdout] 1006 | 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:1025:19 [INFO] [stdout] | [INFO] [stdout] 1025 | 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:1033:17 [INFO] [stdout] | [INFO] [stdout] 1033 | 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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `std::result::Result<{integer}, _>` [INFO] [stdout] = note: this error originates in a macro (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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5ef30ddb01393bdf207798b3fdda2c2d378a183b2cd94bfb15ac0e787a538dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef30ddb01393bdf207798b3fdda2c2d378a183b2cd94bfb15ac0e787a538dfc", kill_on_drop: false }` [INFO] [stdout] 5ef30ddb01393bdf207798b3fdda2c2d378a183b2cd94bfb15ac0e787a538dfc