[INFO] cloning repository https://github.com/DidgeridooMH/rnes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DidgeridooMH/rnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDidgeridooMH%2Frnes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDidgeridooMH%2Frnes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e144ec67deefc62f6a1f12353325e824471c11f
[INFO] checking DidgeridooMH/rnes against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDidgeridooMH%2Frnes" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DidgeridooMH/rnes
[INFO] finished tweaking git repo https://github.com/DidgeridooMH/rnes
[INFO] tweaked toml for git repo https://github.com/DidgeridooMH/rnes written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DidgeridooMH/rnes on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DidgeridooMH/rnes already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc01a87a15b1b9710998647cb6848093dd319766c9e5d18f29372636e7dfa788
[INFO] running `Command { std: "docker" "start" "-a" "fc01a87a15b1b9710998647cb6848093dd319766c9e5d18f29372636e7dfa788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc01a87a15b1b9710998647cb6848093dd319766c9e5d18f29372636e7dfa788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc01a87a15b1b9710998647cb6848093dd319766c9e5d18f29372636e7dfa788", kill_on_drop: false }`
[INFO] [stdout] fc01a87a15b1b9710998647cb6848093dd319766c9e5d18f29372636e7dfa788
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f49245c52f05ed121c9f238e6ee7d24a6d05d37b18278dc7600b9834a85eeee5
[INFO] running `Command { std: "docker" "start" "-a" "f49245c52f05ed121c9f238e6ee7d24a6d05d37b18278dc7600b9834a85eeee5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling xml-rs v0.8.23
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking libloading v0.8.6
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]     Checking allocator-api2 v0.2.20
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling cmake v0.1.52
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking fdeflate v0.3.6
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]     Checking gpu-alloc-types v0.2.0
[INFO] [stderr]     Checking xcursor v0.3.8
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking hexf-parse v0.2.1
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]     Checking unicode-xid v0.2.6
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking gpu-alloc v0.5.4
[INFO] [stderr]     Checking png v0.17.14
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking wgpu-types v0.16.1
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking profiling v1.0.16
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking owned_ttf_parser v0.25.0
[INFO] [stderr]     Checking ab_glyph v0.2.29
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling bytemuck_derive v1.8.0
[INFO] [stderr]     Checking inotify v0.10.2
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]     Checking clap_lex v0.7.3
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling gilrs v0.10.10
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]     Checking clap_builder v4.5.21
[INFO] [stderr]     Checking gilrs-core v0.5.15
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking naga v0.12.3
[INFO] [stderr]     Checking bytemuck v1.20.0
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking tokio v1.41.1
[INFO] [stderr]     Checking clap v4.5.21
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking wgpu-hal v0.16.2
[INFO] [stderr]     Checking wgpu-core v0.16.1
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking wgpu v0.16.3
[INFO] [stderr]     Checking rnes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0053]: method `read_byte` has an incompatible type for trait
[INFO] [stdout]   --> src/core/bus/tests.rs:8:18
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn read_byte(&self, _address: u16) -> u8 {
[INFO] [stdout]    |                  ^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/core/bus.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn read_byte(&mut self, address: u16) -> u8;
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: expected signature `fn(&mut AddressableMock, _) -> _`
[INFO] [stdout]               found signature `fn(&AddressableMock, _) -> _`
[INFO] [stdout] help: change the self-receiver type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn read_byte(&mut self, _address: u16) -> u8 {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `read_byte` has an incompatible type for trait
[INFO] [stdout]   --> src/core/bus/tests.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn read_byte(&self, address: u16) -> u8 {
[INFO] [stdout]    |                  ^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/core/bus.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn read_byte(&mut self, address: u16) -> u8;
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: expected signature `fn(&mut MultiAddressableMock, _) -> _`
[INFO] [stdout]               found signature `fn(&MultiAddressableMock, _) -> _`
[INFO] [stdout] help: change the self-receiver type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn read_byte(&mut self, address: u16) -> u8 {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `read_byte` has an incompatible type for trait
[INFO] [stdout]   --> src/core/cpu/control/tests.rs:8:18
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn read_byte(&self, address: u16) -> u8 {
[INFO] [stdout]    |                  ^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/core/bus.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn read_byte(&mut self, address: u16) -> u8;
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout]    = note: expected signature `fn(&mut VectorMock, _) -> _`
[INFO] [stdout]               found signature `fn(&VectorMock, _) -> _`
[INFO] [stdout] help: change the self-receiver type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn read_byte(&mut self, address: u16) -> u8 {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/window/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct WindowUniform {
[INFO] [stdout]    |        ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/window/mod.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / #[repr(C)]
[INFO] [stdout] 18 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 19 | | struct WindowUniform {
[INFO] [stdout] 20 | |     region_aspect: f32,
[INFO] [stdout] 21 | |     window_aspect: f32,
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/window/vertex.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Vertex {
[INFO] [stdout]   |            ^^^^^^ field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]  --> src/window/vertex.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / #[repr(C)]
[INFO] [stdout] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 3 | | pub struct Vertex {
[INFO] [stdout] 4 | |     position: [f32; 3],
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `cpu` is private
[INFO] [stdout]  --> tests/integation_test.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rnes::core::{cpu::CPU, Addressable, Bus};
[INFO] [stdout]   |                  ^^^ private module
[INFO] [stdout]   |
[INFO] [stdout] note: the module `cpu` is defined here
[INFO] [stdout]  --> /opt/rustwide/workdir/src/core/mod.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod cpu;
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rnes` (test "integation_test") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]   --> src/core/cpu/control/tests.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let pc_result = bus.read_word(0xFEu16).unwrap();
[INFO] [stdout]    |                     ^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]   --> src/core/cpu/control/tests.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let p_result = bus.read_byte(0xFDu16).unwrap();
[INFO] [stdout]    |                    ^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]   --> src/core/cpu/control/tests.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let result = bus.borrow().read_byte(0xFFu16).unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/control/tests.rs:370:18
[INFO] [stdout]     |
[INFO] [stdout] 370 |     let result = bus.borrow().read_word(0xFEu16).unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/control/tests.rs:534:18
[INFO] [stdout]     |
[INFO] [stdout] 534 |     let result = bus.borrow().read_byte(0x8u16).unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/control/tests.rs:549:18
[INFO] [stdout]     |
[INFO] [stdout] 549 |     let result = bus.borrow().read_byte(0xAu16).unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/control/tests.rs:563:18
[INFO] [stdout]     |
[INFO] [stdout] 563 |     let result = bus.borrow().read_byte(0x701u16).unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, memory::InternalRam>` as mutable
[INFO] [stdout]  --> src/core/cpu/memory/tests.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let result = mem.borrow().read_byte(0u16);
[INFO] [stdout]   |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]   |
[INFO] [stdout]   = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, memory::InternalRam>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, memory::InternalRam>` as mutable
[INFO] [stdout]   --> src/core/cpu/memory/tests.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let result = mem.borrow().read_byte((CPU_INTERNAL_RAM_SIZE - 1) as u16);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, memory::InternalRam>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, memory::InternalRam>` as mutable
[INFO] [stdout]   --> src/core/cpu/memory/tests.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let result = mem.borrow().read_byte(CPU_INTERNAL_RAM_SIZE as u16);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, memory::InternalRam>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, memory::InternalRam>` as mutable
[INFO] [stdout]   --> src/core/cpu/memory/tests.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let result = mem.borrow().read_byte(0u16);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, memory::InternalRam>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, memory::InternalRam>` as mutable
[INFO] [stdout]   --> src/core/cpu/memory/tests.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let result = mem.borrow().read_byte((CPU_INTERNAL_RAM_SIZE - 1) as u16);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, memory::InternalRam>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, memory::InternalRam>` as mutable
[INFO] [stdout]   --> src/core/cpu/memory/tests.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let result = mem.borrow().read_byte(0u16);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, memory::InternalRam>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:236:15
[INFO] [stdout]     |
[INFO] [stdout] 236 |     let res = bus.borrow().read_byte(0x500).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:256:15
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let res = bus.borrow().read_byte(0x500).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:457:15
[INFO] [stdout]     |
[INFO] [stdout] 457 |     let res = bus.borrow().read_byte(5).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:476:15
[INFO] [stdout]     |
[INFO] [stdout] 476 |     let res = bus.borrow().read_byte(5).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:495:15
[INFO] [stdout]     |
[INFO] [stdout] 495 |     let res = bus.borrow().read_byte(5).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:553:15
[INFO] [stdout]     |
[INFO] [stdout] 553 |     let res = bus.borrow().read_byte(5).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:572:15
[INFO] [stdout]     |
[INFO] [stdout] 572 |     let res = bus.borrow().read_byte(5).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/rwm/tests.rs:591:15
[INFO] [stdout]     |
[INFO] [stdout] 591 |     let res = bus.borrow().read_byte(5).unwrap();
[INFO] [stdout]     |               ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, bus::Bus>` as mutable
[INFO] [stdout]    --> src/core/cpu/tests.rs:252:18
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let result = bus.borrow().read_word(0xFEu16).unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, bus::Bus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rnes` (lib test) due to 25 previous errors
[INFO] running `Command { std: "docker" "inspect" "f49245c52f05ed121c9f238e6ee7d24a6d05d37b18278dc7600b9834a85eeee5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f49245c52f05ed121c9f238e6ee7d24a6d05d37b18278dc7600b9834a85eeee5", kill_on_drop: false }`
[INFO] [stdout] f49245c52f05ed121c9f238e6ee7d24a6d05d37b18278dc7600b9834a85eeee5
