[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86f11e857eca463f4587774ce4e87536a04974fc [INFO] testing kregoslup/r_nes against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkregoslup%2Fr_nes" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kregoslup/r_nes on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-10/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9e36fb76ecb795c8bc56af06ab4d9fb2b56d4effbb7898c9004a5f493cea972 [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" "d9e36fb76ecb795c8bc56af06ab4d9fb2b56d4effbb7898c9004a5f493cea972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9e36fb76ecb795c8bc56af06ab4d9fb2b56d4effbb7898c9004a5f493cea972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e36fb76ecb795c8bc56af06ab4d9fb2b56d4effbb7898c9004a5f493cea972", kill_on_drop: false }` [INFO] [stdout] d9e36fb76ecb795c8bc56af06ab4d9fb2b56d4effbb7898c9004a5f493cea972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3b0d8aef3d09fd2d28b3e236371586e49e40212329b66de7c1c8a045411e821 [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" "b3b0d8aef3d09fd2d28b3e236371586e49e40212329b66de7c1c8a045411e821", kill_on_drop: false }` [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling 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 | use crate::addressing::AddressingMode::{IndexedIndirect, ZeroPage, Immediate, IndirectIndexed, ZeroPageIndexed, 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] error[E0599]: no method named `get_left` found for mutable reference `&mut ppu::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::Ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_right` found for mutable reference `&mut ppu::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::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] | ^^^^ borrow the `Path` instead [INFO] [stdout] | [INFO] [stdout] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `std::path::Path` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [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::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::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::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] running `Command { std: "docker" "inspect" "b3b0d8aef3d09fd2d28b3e236371586e49e40212329b66de7c1c8a045411e821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b0d8aef3d09fd2d28b3e236371586e49e40212329b66de7c1c8a045411e821", kill_on_drop: false }` [INFO] [stdout] b3b0d8aef3d09fd2d28b3e236371586e49e40212329b66de7c1c8a045411e821