[INFO] fetching crate memlib 0.1.3...
[INFO] checking memlib-0.1.3 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate memlib 0.1.3 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate memlib 0.1.3 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-6-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dataview v1.0.1
[INFO] [stderr]   Downloaded derive_pod v0.1.2
[INFO] [stderr]   Downloaded auto_impl v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40dd471ad4d821816ff048986a7b6d1ce00a1d906c928748b084a5822dbac42a
[INFO] running `Command { std: "docker" "start" "-a" "40dd471ad4d821816ff048986a7b6d1ce00a1d906c928748b084a5822dbac42a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40dd471ad4d821816ff048986a7b6d1ce00a1d906c928748b084a5822dbac42a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40dd471ad4d821816ff048986a7b6d1ce00a1d906c928748b084a5822dbac42a", kill_on_drop: false }`
[INFO] [stdout] 40dd471ad4d821816ff048986a7b6d1ce00a1d906c928748b084a5822dbac42a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30f91d6e4c75bf449ea412b1f4a4d954826c0b4c8dcdc291fb56d32f62a2a7ab
[INFO] running `Command { std: "docker" "start" "-a" "30f91d6e4c75bf449ea412b1f4a4d954826c0b4c8dcdc291fb56d32f62a2a7ab", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling derive_pod v0.1.2
[INFO] [stderr]     Checking dataview v1.0.1
[INFO] [stderr]    Compiling quote v1.0.18
[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: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/slice_impl.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             &mut TEST_BUF
[INFO] [stdout]    |             ^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: this will be a hard error in the 2024 edition
[INFO] [stdout]    = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: 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]    |                                                     ^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the method `len` exists on the type `Vec<u8>`
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:2202:5
[INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/cmp.rs:1188: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]    |                                                        ^^^^^^^^^^^^^^
[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] help: there is a method `read_volatile` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/ptr/const_ptr.rs:1271:5
[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" "30f91d6e4c75bf449ea412b1f4a4d954826c0b4c8dcdc291fb56d32f62a2a7ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30f91d6e4c75bf449ea412b1f4a4d954826c0b4c8dcdc291fb56d32f62a2a7ab", kill_on_drop: false }`
[INFO] [stdout] 30f91d6e4c75bf449ea412b1f4a4d954826c0b4c8dcdc291fb56d32f62a2a7ab
