[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] building DidgeridooMH/rnes against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDidgeridooMH%2Frnes" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DidgeridooMH/rnes on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-tc1/source/Cargo.toml
[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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2 v0.37.0
[INFO] [stderr]   Downloaded sdl2-sys v0.37.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5893780c7be875d02043a97dde9d5c724bb795565eb647acc3e2fe3bc25eef50
[INFO] running `Command { std: "docker" "start" "-a" "5893780c7be875d02043a97dde9d5c724bb795565eb647acc3e2fe3bc25eef50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5893780c7be875d02043a97dde9d5c724bb795565eb647acc3e2fe3bc25eef50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5893780c7be875d02043a97dde9d5c724bb795565eb647acc3e2fe3bc25eef50", kill_on_drop: false }`
[INFO] [stdout] 5893780c7be875d02043a97dde9d5c724bb795565eb647acc3e2fe3bc25eef50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77bc57612ed4e7e7fdee9ceb505d2fd9f24964b4cdf5d77642825059bfb5f875
[INFO] running `Command { std: "docker" "start" "-a" "77bc57612ed4e7e7fdee9ceb505d2fd9f24964b4cdf5d77642825059bfb5f875", 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]    Compiling xml-rs v0.8.23
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.20
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling xcursor v0.3.8
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling png v0.17.14
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling cmake v0.1.52
[INFO] [stderr]    Compiling gpu-alloc v0.5.4
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling wgpu-types v0.16.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling gilrs v0.10.10
[INFO] [stderr]    Compiling clap_lex v0.7.3
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling clap_builder v4.5.21
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling inotify v0.10.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling gilrs-core v0.5.15
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling ab_glyph v0.2.29
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling bytemuck_derive v1.8.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling naga v0.12.3
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling clap v4.5.21
[INFO] [stderr]    Compiling bytemuck v1.20.0
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling wgpu-hal v0.16.2
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling wgpu-core v0.16.1
[INFO] [stderr]    Compiling wgpu v0.16.3
[INFO] [stderr]    Compiling rnes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s
[INFO] running `Command { std: "docker" "inspect" "77bc57612ed4e7e7fdee9ceb505d2fd9f24964b4cdf5d77642825059bfb5f875", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77bc57612ed4e7e7fdee9ceb505d2fd9f24964b4cdf5d77642825059bfb5f875", kill_on_drop: false }`
[INFO] [stdout] 77bc57612ed4e7e7fdee9ceb505d2fd9f24964b4cdf5d77642825059bfb5f875
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83d08d3a9fde8357851b62eadbaa15f2879578a9044f4eb5a8f0b584c605c702
[INFO] running `Command { std: "docker" "start" "-a" "83d08d3a9fde8357851b62eadbaa15f2879578a9044f4eb5a8f0b584c605c702", kill_on_drop: false }`
[INFO] [stderr]    Compiling rnes v0.1.0 (/opt/rustwide/workdir)
[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[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] 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" "83d08d3a9fde8357851b62eadbaa15f2879578a9044f4eb5a8f0b584c605c702", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83d08d3a9fde8357851b62eadbaa15f2879578a9044f4eb5a8f0b584c605c702", kill_on_drop: false }`
[INFO] [stdout] 83d08d3a9fde8357851b62eadbaa15f2879578a9044f4eb5a8f0b584c605c702
