[INFO] fetching crate memlib 0.1.3...
[INFO] checking memlib-0.1.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate memlib 0.1.3 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate memlib 0.1.3 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate memlib 0.1.3
[INFO] finished tweaking crates.io crate memlib 0.1.3
[INFO] tweaked toml for crates.io crate memlib 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate memlib 0.1.3 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dataview v1.0.1
[INFO] [stderr]   Downloaded derive_pod v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e1da9dede0d3d1615ecf0beb98b091cdfcba995b37f0e6c4b01630a14bb1e78a
[INFO] running `Command { std: "docker" "start" "-a" "e1da9dede0d3d1615ecf0beb98b091cdfcba995b37f0e6c4b01630a14bb1e78a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e1da9dede0d3d1615ecf0beb98b091cdfcba995b37f0e6c4b01630a14bb1e78a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1da9dede0d3d1615ecf0beb98b091cdfcba995b37f0e6c4b01630a14bb1e78a", kill_on_drop: false }`
[INFO] [stdout] e1da9dede0d3d1615ecf0beb98b091cdfcba995b37f0e6c4b01630a14bb1e78a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f9403fb3672551d4aec05be5d6915d7b973d82cac5507f662679733a9be4aef8
[INFO] running `Command { std: "docker" "start" "-a" "f9403fb3672551d4aec05be5d6915d7b973d82cac5507f662679733a9be4aef8", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling derive_pod v0.1.2
[INFO] [stderr]     Checking dataview v1.0.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling auto_impl v0.5.0
[INFO] [stderr]     Checking memlib v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `slice_impl::*`
[INFO] [stdout]   --> src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub use slice_impl::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::*`
[INFO] [stdout]   --> src/slice_impl.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use crate::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice_impl::*`
[INFO] [stdout]   --> src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub use slice_impl::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/slice_impl.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             &mut TEST_BUF
[INFO] [stdout]    |             ^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 82 |             addr_of_mut!(TEST_BUF)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read`
[INFO] [stdout]   --> src/slice_impl.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn use_read(read: impl MemoryRead) {}
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_read`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]   --> src/slice_impl.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn use_write(write: impl MemoryWrite) {}
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `readwrite`
[INFO] [stdout]   --> src/slice_impl.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn use_readwrite(readwrite: impl MemoryRead + MemoryWrite) {}
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readwrite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `MemoryReadExt` is imported redundantly
[INFO] [stdout]   --> examples/memory.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | use memlib::{MemoryRead, MemoryReadExt, MemoryWrite, MemoryWriteExt};
[INFO] [stdout]    |                          ------------- the item `MemoryReadExt` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 56 |     use memlib::MemoryReadExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for struct `RefCell` in the current scope
[INFO] [stdout]   --> examples/memory.rs:34:53
[INFO] [stdout]    |
[INFO] [stdout] 34 |         if address as usize + buffer.len() > self.0.len() {
[INFO] [stdout]    |                                                     ^^^ method not found in `RefCell<Vec<u8>>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `len` exists on the type `Vec<u8>`
[INFO] [stdout]   --> /rustc/5518eaa946291f00471af8b254b2a1715f234882/library/alloc/src/vec/mod.rs:2144:5
[INFO] [stdout] help: use `.borrow()` to borrow the `Vec<u8>`, panicking if a mutable borrow exists
[INFO] [stdout]    |
[INFO] [stdout] 34 |         if address as usize + buffer.len() > self.0.borrow().len() {
[INFO] [stdout]    |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_volatile` found for raw pointer `*const u8` in the current scope
[INFO] [stdout]   --> examples/memory.rs:92:56
[INFO] [stdout]    |
[INFO] [stdout] 92 |             (*self.0).as_ptr().offset(offset as isize).write_volatile(value)
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_volatile`
[INFO] [stdout]    |
[INFO] [stdout]    = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]    = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MemoryReadExt`
[INFO] [stdout]  --> examples/memory.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use memlib::{MemoryRead, MemoryReadExt, MemoryWrite, MemoryWriteExt};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memlib` (example "memory") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f9403fb3672551d4aec05be5d6915d7b973d82cac5507f662679733a9be4aef8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9403fb3672551d4aec05be5d6915d7b973d82cac5507f662679733a9be4aef8", kill_on_drop: false }`
[INFO] [stdout] f9403fb3672551d4aec05be5d6915d7b973d82cac5507f662679733a9be4aef8
[INFO] checking memlib-0.1.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate memlib 0.1.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate memlib 0.1.3 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate memlib 0.1.3
[INFO] finished tweaking crates.io crate memlib 0.1.3
[INFO] tweaked toml for crates.io crate memlib 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate memlib 0.1.3 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b8486248155a14e1b3f54e4ceb0058ed2d1524b95041b7a7c20c05456db2a4e
[INFO] running `Command { std: "docker" "start" "-a" "2b8486248155a14e1b3f54e4ceb0058ed2d1524b95041b7a7c20c05456db2a4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b8486248155a14e1b3f54e4ceb0058ed2d1524b95041b7a7c20c05456db2a4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b8486248155a14e1b3f54e4ceb0058ed2d1524b95041b7a7c20c05456db2a4e", kill_on_drop: false }`
[INFO] [stdout] 2b8486248155a14e1b3f54e4ceb0058ed2d1524b95041b7a7c20c05456db2a4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b22e64707aa3c73fb022b6bb8f971682500bf1263a4dd685c220e2c5400385b2
[INFO] running `Command { std: "docker" "start" "-a" "b22e64707aa3c73fb022b6bb8f971682500bf1263a4dd685c220e2c5400385b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling derive_pod v0.1.2
[INFO] [stderr]     Checking dataview v1.0.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling auto_impl v0.5.0
[INFO] [stderr]     Checking memlib v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `slice_impl::*`
[INFO] [stdout]   --> src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub use slice_impl::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::*`
[INFO] [stdout]   --> src/slice_impl.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use crate::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice_impl::*`
[INFO] [stdout]   --> src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub use slice_impl::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]   --> src/slice_impl.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             &mut TEST_BUF
[INFO] [stdout]    |             ^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 82 |             addr_of_mut!(TEST_BUF)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read`
[INFO] [stdout]   --> src/slice_impl.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn use_read(read: impl MemoryRead) {}
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_read`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]   --> src/slice_impl.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn use_write(write: impl MemoryWrite) {}
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `readwrite`
[INFO] [stdout]   --> src/slice_impl.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn use_readwrite(readwrite: impl MemoryRead + MemoryWrite) {}
[INFO] [stdout]    |                      ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readwrite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/slice_impl.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut buffer = [0u8; 10];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `MemoryReadExt` is imported redundantly
[INFO] [stdout]   --> examples/memory.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | use memlib::{MemoryRead, MemoryReadExt, MemoryWrite, MemoryWriteExt};
[INFO] [stdout]    |                          ------------- the item `MemoryReadExt` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 56 |     use memlib::MemoryReadExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for struct `RefCell` in the current scope
[INFO] [stdout]   --> examples/memory.rs:34:53
[INFO] [stdout]    |
[INFO] [stdout] 34 |         if address as usize + buffer.len() > self.0.len() {
[INFO] [stdout]    |                                                     ^^^ method not found in `RefCell<Vec<u8>>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `len` exists on the type `Vec<u8>`
[INFO] [stdout]   --> /rustc/7622c0f807a4e13c4db886a1681bf343795692df/library/alloc/src/vec/mod.rs:2144:5
[INFO] [stdout] help: use `.borrow()` to borrow the `Vec<u8>`, panicking if a mutable borrow exists
[INFO] [stdout]    |
[INFO] [stdout] 34 |         if address as usize + buffer.len() > self.0.borrow().len() {
[INFO] [stdout]    |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_volatile` found for raw pointer `*const u8` in the current scope
[INFO] [stdout]   --> examples/memory.rs:92:56
[INFO] [stdout]    |
[INFO] [stdout] 92 |             (*self.0).as_ptr().offset(offset as isize).write_volatile(value)
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^ help: there is a method with a similar name: `read_volatile`
[INFO] [stdout]    |
[INFO] [stdout]    = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]    = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MemoryReadExt`
[INFO] [stdout]  --> examples/memory.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use memlib::{MemoryRead, MemoryReadExt, MemoryWrite, MemoryWriteExt};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memlib` (example "memory") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b22e64707aa3c73fb022b6bb8f971682500bf1263a4dd685c220e2c5400385b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b22e64707aa3c73fb022b6bb8f971682500bf1263a4dd685c220e2c5400385b2", kill_on_drop: false }`
[INFO] [stdout] b22e64707aa3c73fb022b6bb8f971682500bf1263a4dd685c220e2c5400385b2
