[INFO] cloning repository https://github.com/boylede/nesse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boylede/nesse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Fnesse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Fnesse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 096736e6c9bfa1d3e09a2397e964217f4ba02a8e [INFO] testing boylede/nesse against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboylede%2Fnesse" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boylede/nesse on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/boylede/nesse [INFO] finished tweaking git repo https://github.com/boylede/nesse [INFO] tweaked toml for git repo https://github.com/boylede/nesse written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/boylede/nesse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-9/source/nesse_emu/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-9/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded select v0.4.3 [INFO] [stderr] Downloaded enum_dispatch v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dfc1a0b523c12dd8ad0f364c343cfc7c81ff9526eea9e3ce3e4043ad1f730fa [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" "4dfc1a0b523c12dd8ad0f364c343cfc7c81ff9526eea9e3ce3e4043ad1f730fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dfc1a0b523c12dd8ad0f364c343cfc7c81ff9526eea9e3ce3e4043ad1f730fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dfc1a0b523c12dd8ad0f364c343cfc7c81ff9526eea9e3ce3e4043ad1f730fa", kill_on_drop: false }` [INFO] [stdout] 4dfc1a0b523c12dd8ad0f364c343cfc7c81ff9526eea9e3ce3e4043ad1f730fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bfcd0b1cf0b85447a0a1778fa98f16b8826b2aec523ace01f74ee1399d2b9e10 [INFO] running `Command { std: "docker" "start" "-a" "bfcd0b1cf0b85447a0a1778fa98f16b8826b2aec523ace01f74ee1399d2b9e10", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/nesse_emu/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling nesse_common v0.1.0 (/opt/rustwide/workdir/nesse_common) [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling codegen v0.1.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling enum_dispatch v0.3.6 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling nesse_emu v0.1.0 (/opt/rustwide/workdir/nesse_emu) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> nesse_emu/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nesse_emu/src/lib.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | peripherals: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - peripherals: Option>, [INFO] [stdout] 48 + peripherals: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nesse_emu/src/lib.rs:102:49 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn with_peripheral(mut self, p: &'a mut NesPeripheral) -> Nes<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn with_peripheral(mut self, p: &'a mut NesPeripheral) -> Nes<'a> { [INFO] [stdout] 102 + pub fn with_peripheral(mut self, p: &'a mut dyn NesPeripheral) -> Nes<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nesse_emu/src/lib.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn add_peripheral(&mut self, p: &'a mut NesPeripheral) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 - pub fn add_peripheral(&mut self, p: &'a mut NesPeripheral) { [INFO] [stdout] 109 + pub fn add_peripheral(&mut self, p: &'a mut dyn NesPeripheral) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nesse_emu/src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn step(&mut self) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 296 | instruction.cycles as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 296 | (instruction.cycles as u64).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nesse_emu/src/lib.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn run_until_nop(&mut self) -> u64 { [INFO] [stdout] | --- expected `u64` because of return type [INFO] [stdout] ... [INFO] [stdout] 306 | total [INFO] [stdout] | ^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 306 | total.try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for struct `Nes2c02` in the current scope [INFO] [stdout] --> nesse_emu/src/lib.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | self.ppu.set(address, value); [INFO] [stdout] | ^^^ method not found in `Nes2c02` [INFO] [stdout] ... [INFO] [stdout] 765 | pub struct Nes2c02; [INFO] [stdout] | ------------------- method `set` not found for this [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 335 | Pin::new(&mut self.ppu).set(address, value); [INFO] [stdout] | +++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Nes2c02` in the current scope [INFO] [stdout] --> nesse_emu/src/lib.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | self.ppu.get(address) [INFO] [stdout] | ^^^ method not found in `Nes2c02` [INFO] [stdout] ... [INFO] [stdout] 765 | pub struct Nes2c02; [INFO] [stdout] | ------------------- method `get` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AddressableMemory` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nesse_emu` due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bfcd0b1cf0b85447a0a1778fa98f16b8826b2aec523ace01f74ee1399d2b9e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfcd0b1cf0b85447a0a1778fa98f16b8826b2aec523ace01f74ee1399d2b9e10", kill_on_drop: false }` [INFO] [stdout] bfcd0b1cf0b85447a0a1778fa98f16b8826b2aec523ace01f74ee1399d2b9e10