[INFO] cloning repository https://github.com/kregoslup/r_nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kregoslup/r_nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkregoslup%2Fr_nes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkregoslup%2Fr_nes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86f11e857eca463f4587774ce4e87536a04974fc [INFO] checking kregoslup/r_nes against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkregoslup%2Fr_nes" "/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/kregoslup/r_nes on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kregoslup/r_nes [INFO] finished tweaking git repo https://github.com/kregoslup/r_nes [INFO] tweaked toml for git repo https://github.com/kregoslup/r_nes written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/kregoslup/r_nes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9273b004586c4105fbd1fca39d36962c99c457b2db33d429f3bdccd795bd4358 [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" "9273b004586c4105fbd1fca39d36962c99c457b2db33d429f3bdccd795bd4358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9273b004586c4105fbd1fca39d36962c99c457b2db33d429f3bdccd795bd4358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9273b004586c4105fbd1fca39d36962c99c457b2db33d429f3bdccd795bd4358", kill_on_drop: false }` [INFO] [stdout] 9273b004586c4105fbd1fca39d36962c99c457b2db33d429f3bdccd795bd4358 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c27ba925d20291d3e895373eb336626101bb2887aa39f240d1e528518dafbeff [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" "c27ba925d20291d3e895373eb336626101bb2887aa39f240d1e528518dafbeff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking r_nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Implied` [INFO] [stdout] --> src/cpu.rs:2:173 [INFO] [stdout] | [INFO] [stdout] 2 | ...d, Absolute, AbsoluteIndexed, Accumulator, Indirect, Relative, Implied}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddressingMode` [INFO] [stdout] --> src/cpu.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::addressing::{Addressing, AddressingMode, AddressingRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/cpu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/cpu.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 83 | if self.overflow_occurred(lhs, rhs, (result as 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 assigned value [INFO] [stdout] --> src/cpu.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let indirect_address = (self.fetch(self.program_counter) as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Implied` [INFO] [stdout] --> src/cpu.rs:2:173 [INFO] [stdout] | [INFO] [stdout] 2 | ...d, Absolute, AbsoluteIndexed, Accumulator, Indirect, Relative, Implied}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddressingMode` [INFO] [stdout] --> src/cpu.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::addressing::{Addressing, AddressingMode, AddressingRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/cpu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/cpu.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 83 | if self.overflow_occurred(lhs, rhs, (result as 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 assigned value [INFO] [stdout] --> src/cpu.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let indirect_address = (self.fetch(self.program_counter) as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::addressing::Addressing` [INFO] [stdout] --> src/op_code.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::addressing::Addressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/bus.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bus.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/bus.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dirs::home_dir` [INFO] [stdout] --> src/bus.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dirs::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/addressing.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Formatter` [INFO] [stdout] --> src/flags.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use bitflags::_core::fmt::{Formatter, Error}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `combine_nibbles` [INFO] [stdout] --> src/cartridge.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util::{combine_nibbles, nth_bit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cartridge` [INFO] [stdout] --> src/emulator.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::cartridge::{Cartridge, CartridgeLoader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/cpu.rs:1278:36 [INFO] [stdout] | [INFO] [stdout] 1278 | let stored_acc = cpu.fetch(((cpu.stack_pointer + 1) as u16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::addressing::Addressing` [INFO] [stdout] --> src/op_code.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::addressing::Addressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/op_code.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/bus.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bus.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/bus.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dirs::home_dir` [INFO] [stdout] --> src/bus.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dirs::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/addressing.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Formatter` [INFO] [stdout] --> src/flags.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use bitflags::_core::fmt::{Formatter, Error}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `combine_nibbles` [INFO] [stdout] --> src/cartridge.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util::{combine_nibbles, nth_bit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cartridge` [INFO] [stdout] --> src/emulator.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::cartridge::{Cartridge, CartridgeLoader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_left` found for mutable reference `&mut Ppu` in the current scope [INFO] [stdout] --> src/ppu.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | let left_plane: [u8; 16] = self.get_left(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut Ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_right` found for mutable reference `&mut Ppu` in the current scope [INFO] [stdout] --> src/ppu.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | let right_plane: [u8; 16] = self.get_right(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take a single 2-tuple as argument, but it takes 2 distinct arguments [INFO] [stdout] --> src/ppu.rs:68:52 [INFO] [stdout] | [INFO] [stdout] 68 | return left_plane.iter().zip(&right_plane).map(|a, b| a + b).collect(); [INFO] [stdout] | ^^^ ------ takes 2 distinct arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes a single 2-tuple as argument [INFO] [stdout] | [INFO] [stdout] help: change the closure to accept a tuple instead of individual arguments [INFO] [stdout] | [INFO] [stdout] 68 | return left_plane.iter().zip(&right_plane).map(|(a, b)| a + b).collect(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/emulator.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn emulate(path: Path) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 12 | pub fn emulate(path: &Path) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tick` found for struct `Cpu` in the current scope [INFO] [stdout] --> src/emulator.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | cpu.tick(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Cpu::tick` [INFO] [stdout] | [INFO] [stdout] ::: src/cpu.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Cpu { [INFO] [stdout] | -------------- method `tick` not found for this [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `Cpu` [INFO] [stdout] --> src/cpu.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tick() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tick` found for struct `Ppu` in the current scope [INFO] [stdout] --> src/emulator.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ppu.tick(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Ppu::tick` [INFO] [stdout] | [INFO] [stdout] ::: src/ppu.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ppu { [INFO] [stdout] | -------------- method `tick` not found for this [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `Ppu` [INFO] [stdout] --> src/ppu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn tick() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0593, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `r_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[E0599]: no method named `get_left` found for mutable reference `&mut Ppu` in the current scope [INFO] [stdout] --> src/ppu.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | let left_plane: [u8; 16] = self.get_left(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut Ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_right` found for mutable reference `&mut Ppu` in the current scope [INFO] [stdout] --> src/ppu.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | let right_plane: [u8; 16] = self.get_right(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take a single 2-tuple as argument, but it takes 2 distinct arguments [INFO] [stdout] --> src/ppu.rs:68:52 [INFO] [stdout] | [INFO] [stdout] 68 | return left_plane.iter().zip(&right_plane).map(|a, b| a + b).collect(); [INFO] [stdout] | ^^^ ------ takes 2 distinct arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes a single 2-tuple as argument [INFO] [stdout] | [INFO] [stdout] help: change the closure to accept a tuple instead of individual arguments [INFO] [stdout] | [INFO] [stdout] 68 | return left_plane.iter().zip(&right_plane).map(|(a, b)| a + b).collect(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/emulator.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn emulate(path: Path) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 12 | pub fn emulate(path: &Path) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tick` found for struct `cpu::Cpu` in the current scope [INFO] [stdout] --> src/emulator.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | cpu.tick(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `cpu::Cpu::tick` [INFO] [stdout] | [INFO] [stdout] ::: src/cpu.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Cpu { [INFO] [stdout] | -------------- method `tick` not found for this [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `cpu::Cpu` [INFO] [stdout] --> src/cpu.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tick() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tick` found for struct `Ppu` in the current scope [INFO] [stdout] --> src/emulator.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ppu.tick(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Ppu::tick` [INFO] [stdout] | [INFO] [stdout] ::: src/ppu.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ppu { [INFO] [stdout] | -------------- method `tick` not found for this [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `Ppu` [INFO] [stdout] --> src/ppu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn tick() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0593, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c27ba925d20291d3e895373eb336626101bb2887aa39f240d1e528518dafbeff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27ba925d20291d3e895373eb336626101bb2887aa39f240d1e528518dafbeff", kill_on_drop: false }` [INFO] [stdout] c27ba925d20291d3e895373eb336626101bb2887aa39f240d1e528518dafbeff