[INFO] fetching crate memlib 0.1.3...
[INFO] checking memlib-0.1.3 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[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 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive_pod v0.1.2
[INFO] [stderr]   Downloaded auto_impl v0.5.0
[INFO] [stderr]   Downloaded dataview v1.0.1
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 953655d3c47995bb041f90c4953ae927b9cd1823bbbd8e5b130e7dbfb9d194b3
[INFO] running `Command { std: "docker" "start" "-a" "953655d3c47995bb041f90c4953ae927b9cd1823bbbd8e5b130e7dbfb9d194b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "953655d3c47995bb041f90c4953ae927b9cd1823bbbd8e5b130e7dbfb9d194b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "953655d3c47995bb041f90c4953ae927b9cd1823bbbd8e5b130e7dbfb9d194b3", kill_on_drop: false }`
[INFO] [stdout] 953655d3c47995bb041f90c4953ae927b9cd1823bbbd8e5b130e7dbfb9d194b3
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a754593d2af056bc818684cba31a953a81cfa4899645ed5dd4cbe1f1c0b3079
[INFO] running `Command { std: "docker" "start" "-a" "4a754593d2af056bc818684cba31a953a81cfa4899645ed5dd4cbe1f1c0b3079", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling derive_pod v0.1.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking dataview v1.0.1
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[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: `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: 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: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(associated_type_bounds)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(associated_type_bounds)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[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: 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 82 |             &raw mut TEST_BUF
[INFO] [stdout]    |             ~~~~~~~~
[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/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/vec/mod.rs:2677:5
[INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/cmp.rs:1353: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] help: there is a method `read_volatile` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/ptr/const_ptr.rs:1274: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]   = note: `#[warn(unused_imports)]` on by default
[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 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4a754593d2af056bc818684cba31a953a81cfa4899645ed5dd4cbe1f1c0b3079", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a754593d2af056bc818684cba31a953a81cfa4899645ed5dd4cbe1f1c0b3079", kill_on_drop: false }`
[INFO] [stdout] 4a754593d2af056bc818684cba31a953a81cfa4899645ed5dd4cbe1f1c0b3079
