[INFO] cloning repository https://github.com/ryancinsight/RSNMalloc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryancinsight/RSNMalloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancinsight%2FRSNMalloc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancinsight%2FRSNMalloc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4ba249c290663beeced18c509ad3652efa9f68d
[INFO] testing ryancinsight/RSNMalloc against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancinsight%2FRSNMalloc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  42% (1332/3166)
Updating files:  43% (1362/3166)
Updating files:  44% (1394/3166)
Updating files:  45% (1425/3166)
Updating files:  46% (1457/3166)
Updating files:  47% (1489/3166)
Updating files:  47% (1500/3166)
Updating files:  48% (1520/3166)
Updating files:  49% (1552/3166)
Updating files:  50% (1583/3166)
Updating files:  51% (1615/3166)
Updating files:  52% (1647/3166)
Updating files:  53% (1678/3166)
Updating files:  54% (1710/3166)
Updating files:  55% (1742/3166)
Updating files:  56% (1773/3166)
Updating files:  57% (1805/3166)
Updating files:  57% (1815/3166)
Updating files:  58% (1837/3166)
Updating files:  59% (1868/3166)
Updating files:  60% (1900/3166)
Updating files:  61% (1932/3166)
Updating files:  62% (1963/3166)
Updating files:  63% (1995/3166)
Updating files:  64% (2027/3166)
Updating files:  65% (2058/3166)
Updating files:  66% (2090/3166)
Updating files:  67% (2122/3166)
Updating files:  68% (2153/3166)
Updating files:  69% (2185/3166)
Updating files:  70% (2217/3166)
Updating files:  71% (2248/3166)
Updating files:  72% (2280/3166)
Updating files:  73% (2312/3166)
Updating files:  74% (2343/3166)
Updating files:  75% (2375/3166)
Updating files:  76% (2407/3166)
Updating files:  77% (2438/3166)
Updating files:  78% (2470/3166)
Updating files:  79% (2502/3166)
Updating files:  80% (2533/3166)
Updating files:  81% (2565/3166)
Updating files:  82% (2597/3166)
Updating files:  83% (2628/3166)
Updating files:  84% (2660/3166)
Updating files:  85% (2692/3166)
Updating files:  86% (2723/3166)
Updating files:  87% (2755/3166)
Updating files:  88% (2787/3166)
Updating files:  88% (2816/3166)
Updating files:  89% (2818/3166)
Updating files:  90% (2850/3166)
Updating files:  91% (2882/3166)
Updating files:  92% (2913/3166)
Updating files:  93% (2945/3166)
Updating files:  94% (2977/3166)
Updating files:  95% (3008/3166)
Updating files:  96% (3040/3166)
Updating files:  97% (3072/3166)
Updating files:  98% (3103/3166)
Updating files:  99% (3135/3166)
Updating files: 100% (3166/3166)
Updating files: 100% (3166/3166), done.
[INFO] started tweaking git repo https://github.com/ryancinsight/RSNMalloc
[INFO] finished tweaking git repo https://github.com/ryancinsight/RSNMalloc
[INFO] tweaked toml for git repo https://github.com/ryancinsight/RSNMalloc written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ryancinsight/RSNMalloc on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ryancinsight/RSNMalloc 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-log-macros v0.2.16
[INFO] [stderr]   Downloaded test-log v0.2.16
[INFO] [stderr]   Downloaded sysconf v0.3.4
[INFO] [stderr]   Downloaded cc v1.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d86b3f53f0ae940158ec5b5ea3396432be22c46c519b302b10b932fb6293f9d
[INFO] running `Command { std: "docker" "start" "-a" "8d86b3f53f0ae940158ec5b5ea3396432be22c46c519b302b10b932fb6293f9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d86b3f53f0ae940158ec5b5ea3396432be22c46c519b302b10b932fb6293f9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d86b3f53f0ae940158ec5b5ea3396432be22c46c519b302b10b932fb6293f9d", kill_on_drop: false }`
[INFO] [stdout] 8d86b3f53f0ae940158ec5b5ea3396432be22c46c519b302b10b932fb6293f9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd37c2caefa39663c0be4b98be2033811fb7353999bd0428a67001678fa01bce
[INFO] running `Command { std: "docker" "start" "-a" "fd37c2caefa39663c0be4b98be2033811fb7353999bd0428a67001678fa01bce", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.99
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling wasm-bindgen v0.2.99
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.99
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.99
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.99
[INFO] [stderr]    Compiling js-sys v0.3.76
[INFO] [stderr]    Compiling web-sys v0.3.76
[INFO] [stderr]    Compiling basic_allocator v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `mremap`
[INFO] [stdout]   --> src/mmap/mod.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use platform::{mmap, munmap,mremap};
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/allocators/heap_grower.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |               return DEFAULT_PAGE_SIZE;
[INFO] [stdout]    |               ------------------------ any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 76 | /         {
[INFO] [stdout] 77 | |             // Low-level Unix page size detection
[INFO] [stdout] 78 | |             unsafe {
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |         }
[INFO] [stdout]    | |_________^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `page_size` is never read
[INFO] [stdout]   --> src/allocators/heap_grower.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 let mut page_size: usize = 0;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocks`
[INFO] [stdout]    --> src/blocklist/block_list.rs:103:36
[INFO] [stdout]     |
[INFO] [stdout] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_size`
[INFO] [stdout]    --> src/blocklist/block_list.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let min_size = size.wrapping_add(HEADER_SIZE);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/blocklist/block_list.rs:321:30
[INFO] [stdout]     |
[INFO] [stdout] 321 |             let first_size = unsafe { first.header_view().size.load(core::sync::atomic::Ordering::Relaxed) };
[INFO] [stdout]     |                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:53:34
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `BATCH_SIZE`, `CACHE_LINE_SIZE`, and `process_batch` are never used
[INFO] [stdout]    --> src/blocklist/block_list.rs:92:11
[INFO] [stdout]     |
[INFO] [stdout] 90  | impl BlockList {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 91  |     // Cache line size optimization
[INFO] [stdout] 92  |     const BATCH_SIZE: usize = 8;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 93  |     const CACHE_LINE_SIZE: usize = 64;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `BATCH_SIZE` is never used
[INFO] [stdout]   --> src/blocklist/free_block.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl FreeBlock {
[INFO] [stdout]    | -------------- associated constant in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     const BATCH_SIZE: usize = 8;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYS_MREMAP` is never used
[INFO] [stdout]   --> src/mmap/constants.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub(crate) const SYS_MREMAP: i64 = 25;
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MREMAP_MAYMOVE` is never used
[INFO] [stdout]   --> src/mmap/constants.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub const MREMAP_MAYMOVE: u64 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MREMAP_FIXED` is never used
[INFO] [stdout]   --> src/mmap/constants.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const MREMAP_FIXED: u64 = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/mod.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub unsafe fn mremap(
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `syscall_mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/unix/syscall.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub(crate) unsafe fn syscall_mremap(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/unix/linux.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) unsafe fn mremap(
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wasm_mmap` is never used
[INFO] [stdout]  --> src/mmap/platform/wasm/mod.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) unsafe fn wasm_mmap(
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wasm_munmap` is never used
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub(crate) unsafe fn mremap(
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/allocators/generic_allocator.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<G> {
[INFO] [stdout]    |                           ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<'_, G> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/allocators/generic_allocator.rs:68:34
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<G> {
[INFO] [stdout]    |                                  ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<'_, G> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/block_list.rs:142:25
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         block.replace_next(first);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         let _ = block.replace_next(first);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/block_list.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     block.replace_next(next_block);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     let _ = block.replace_next(next_block);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/blocklist/block_list.rs:227:17
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn iter(&self) -> BlockIter {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn iter(&self) -> BlockIter<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/free_block.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 | /             self.next_mut()
[INFO] [stdout] 194 | |                 .expect("Just set next, should exist")
[INFO] [stdout] 195 | |                 .replace_next(next_next_block);
[INFO] [stdout]     | |______________________________________________^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let _ = self.next_mut()
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<u8>` will be dropped
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let buffer = vec![0u8; len].as_mut_ptr();
[INFO] [stdout]    |                      -------------- ^^^^^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      this `Vec<u8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<u8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `Vec<u8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `Vec<u8>` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.76s
[INFO] running `Command { std: "docker" "inspect" "fd37c2caefa39663c0be4b98be2033811fb7353999bd0428a67001678fa01bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd37c2caefa39663c0be4b98be2033811fb7353999bd0428a67001678fa01bce", kill_on_drop: false }`
[INFO] [stdout] fd37c2caefa39663c0be4b98be2033811fb7353999bd0428a67001678fa01bce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67559e87eab5b88b0e9b7381a8815d73e99f2587f784b50eacc4b8dd8112e088
[INFO] running `Command { std: "docker" "start" "-a" "67559e87eab5b88b0e9b7381a8815d73e99f2587f784b50eacc4b8dd8112e088", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling test-log-macros v0.2.16
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.99
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling env_logger v0.11.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.99
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling test-log v0.2.16
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.99
[INFO] [stderr]    Compiling wasm-bindgen v0.2.99
[INFO] [stderr]    Compiling js-sys v0.3.76
[INFO] [stderr]    Compiling web-sys v0.3.76
[INFO] [stderr]    Compiling basic_allocator v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `mremap`
[INFO] [stdout]   --> src/mmap/mod.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use platform::{mmap, munmap,mremap};
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/allocators/heap_grower.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |               return DEFAULT_PAGE_SIZE;
[INFO] [stdout]    |               ------------------------ any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 76 | /         {
[INFO] [stdout] 77 | |             // Low-level Unix page size detection
[INFO] [stdout] 78 | |             unsafe {
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |         }
[INFO] [stdout]    | |_________^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `page_size` is never read
[INFO] [stdout]   --> src/allocators/heap_grower.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 let mut page_size: usize = 0;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocks`
[INFO] [stdout]    --> src/blocklist/block_list.rs:103:36
[INFO] [stdout]     |
[INFO] [stdout] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_size`
[INFO] [stdout]    --> src/blocklist/block_list.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let min_size = size.wrapping_add(HEADER_SIZE);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/blocklist/block_list.rs:321:30
[INFO] [stdout]     |
[INFO] [stdout] 321 |             let first_size = unsafe { first.header_view().size.load(core::sync::atomic::Ordering::Relaxed) };
[INFO] [stdout]     |                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:53:34
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `BATCH_SIZE`, `CACHE_LINE_SIZE`, and `process_batch` are never used
[INFO] [stdout]    --> src/blocklist/block_list.rs:92:11
[INFO] [stdout]     |
[INFO] [stdout] 90  | impl BlockList {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 91  |     // Cache line size optimization
[INFO] [stdout] 92  |     const BATCH_SIZE: usize = 8;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 93  |     const CACHE_LINE_SIZE: usize = 64;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `BATCH_SIZE` is never used
[INFO] [stdout]   --> src/blocklist/free_block.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl FreeBlock {
[INFO] [stdout]    | -------------- associated constant in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     const BATCH_SIZE: usize = 8;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYS_MREMAP` is never used
[INFO] [stdout]   --> src/mmap/constants.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub(crate) const SYS_MREMAP: i64 = 25;
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MREMAP_MAYMOVE` is never used
[INFO] [stdout]   --> src/mmap/constants.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub const MREMAP_MAYMOVE: u64 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MREMAP_FIXED` is never used
[INFO] [stdout]   --> src/mmap/constants.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const MREMAP_FIXED: u64 = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/mod.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub unsafe fn mremap(
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `syscall_mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/unix/syscall.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub(crate) unsafe fn syscall_mremap(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/unix/linux.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) unsafe fn mremap(
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wasm_mmap` is never used
[INFO] [stdout]  --> src/mmap/platform/wasm/mod.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) unsafe fn wasm_mmap(
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wasm_munmap` is never used
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub(crate) unsafe fn mremap(
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/allocators/generic_allocator.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<G> {
[INFO] [stdout]    |                           ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<'_, G> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/allocators/generic_allocator.rs:68:34
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<G> {
[INFO] [stdout]    |                                  ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<'_, G> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/block_list.rs:142:25
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         block.replace_next(first);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         let _ = block.replace_next(first);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/block_list.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     block.replace_next(next_block);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     let _ = block.replace_next(next_block);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/blocklist/block_list.rs:227:17
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn iter(&self) -> BlockIter {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn iter(&self) -> BlockIter<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/free_block.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 | /             self.next_mut()
[INFO] [stdout] 194 | |                 .expect("Just set next, should exist")
[INFO] [stdout] 195 | |                 .replace_next(next_next_block);
[INFO] [stdout]     | |______________________________________________^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let _ = self.next_mut()
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<u8>` will be dropped
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let buffer = vec![0u8; len].as_mut_ptr();
[INFO] [stdout]    |                      -------------- ^^^^^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      this `Vec<u8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<u8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `Vec<u8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `Vec<u8>` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mremap`
[INFO] [stdout]   --> src/mmap/mod.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use platform::{mmap, munmap,mremap};
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/allocators/heap_grower.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |               return DEFAULT_PAGE_SIZE;
[INFO] [stdout]    |               ------------------------ any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 76 | /         {
[INFO] [stdout] 77 | |             // Low-level Unix page size detection
[INFO] [stdout] 78 | |             unsafe {
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |         }
[INFO] [stdout]    | |_________^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `page_size` is never read
[INFO] [stdout]   --> src/allocators/heap_grower.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 let mut page_size: usize = 0;
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocks`
[INFO] [stdout]    --> src/blocklist/block_list.rs:103:36
[INFO] [stdout]     |
[INFO] [stdout] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_size`
[INFO] [stdout]    --> src/blocklist/block_list.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let min_size = size.wrapping_add(HEADER_SIZE);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/blocklist/block_list.rs:321:30
[INFO] [stdout]     |
[INFO] [stdout] 321 |             let first_size = unsafe { first.header_view().size.load(core::sync::atomic::Ordering::Relaxed) };
[INFO] [stdout]     |                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:53:34
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `BATCH_SIZE`, `CACHE_LINE_SIZE`, and `process_batch` are never used
[INFO] [stdout]    --> src/blocklist/block_list.rs:92:11
[INFO] [stdout]     |
[INFO] [stdout] 90  | impl BlockList {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 91  |     // Cache line size optimization
[INFO] [stdout] 92  |     const BATCH_SIZE: usize = 8;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 93  |     const CACHE_LINE_SIZE: usize = 64;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `BATCH_SIZE` is never used
[INFO] [stdout]   --> src/blocklist/free_block.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl FreeBlock {
[INFO] [stdout]    | -------------- associated constant in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     const BATCH_SIZE: usize = 8;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MREMAP_FIXED` is never used
[INFO] [stdout]   --> src/mmap/constants.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub const MREMAP_FIXED: u64 = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wasm_mmap` is never used
[INFO] [stdout]  --> src/mmap/platform/wasm/mod.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) unsafe fn wasm_mmap(
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wasm_munmap` is never used
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mremap` is never used
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub(crate) unsafe fn mremap(
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/allocators/generic_allocator.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<G> {
[INFO] [stdout]    |                           ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<'_, G> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/allocators/generic_allocator.rs:68:34
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<G> {
[INFO] [stdout]    |                                  ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<'_, G> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/block_list.rs:142:25
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         block.replace_next(first);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |                         let _ = block.replace_next(first);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/block_list.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     block.replace_next(next_block);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     let _ = block.replace_next(next_block);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/blocklist/block_list.rs:227:17
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn iter(&self) -> BlockIter {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub fn iter(&self) -> BlockIter<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stdout]    --> src/blocklist/free_block.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 | /             self.next_mut()
[INFO] [stdout] 194 | |                 .expect("Just set next, should exist")
[INFO] [stdout] 195 | |                 .replace_next(next_next_block);
[INFO] [stdout]     | |______________________________________________^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let _ = self.next_mut()
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<u8>` will be dropped
[INFO] [stdout]   --> src/mmap/platform/wasm/mod.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let buffer = vec![0u8; len].as_mut_ptr();
[INFO] [stdout]    |                      -------------- ^^^^^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      this `Vec<u8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<u8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `Vec<u8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `Vec<u8>` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "67559e87eab5b88b0e9b7381a8815d73e99f2587f784b50eacc4b8dd8112e088", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67559e87eab5b88b0e9b7381a8815d73e99f2587f784b50eacc4b8dd8112e088", kill_on_drop: false }`
[INFO] [stdout] 67559e87eab5b88b0e9b7381a8815d73e99f2587f784b50eacc4b8dd8112e088
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bd97963eacbb9a746c44ad61d4090aa9361159db31c819e1f0722a3896c2d9f9
[INFO] running `Command { std: "docker" "start" "-a" "bd97963eacbb9a746c44ad61d4090aa9361159db31c819e1f0722a3896c2d9f9", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `mremap`
[INFO] [stderr]   --> src/mmap/mod.rs:11:33
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub use platform::{mmap, munmap,mremap};
[INFO] [stderr]    |                                 ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/allocators/heap_grower.rs:76:9
[INFO] [stderr]    |
[INFO] [stderr] 40 |               return DEFAULT_PAGE_SIZE;
[INFO] [stderr]    |               ------------------------ any code following this expression is unreachable
[INFO] [stderr] ...
[INFO] [stderr] 76 | /         {
[INFO] [stderr] 77 | |             // Low-level Unix page size detection
[INFO] [stderr] 78 | |             unsafe {
[INFO] [stderr] ...  |
[INFO] [stderr] 93 | |         }
[INFO] [stderr]    | |_________^ unreachable statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `page_size` is never read
[INFO] [stderr]   --> src/allocators/heap_grower.rs:80:25
[INFO] [stderr]    |
[INFO] [stderr] 80 |                 let mut page_size: usize = 0;
[INFO] [stderr]    |                         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `blocks`
[INFO] [stderr]    --> src/blocklist/block_list.rs:103:36
[INFO] [stderr]     |
[INFO] [stderr] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stderr]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `min_size`
[INFO] [stderr]    --> src/blocklist/block_list.rs:317:13
[INFO] [stderr]     |
[INFO] [stderr] 317 |         let min_size = size.wrapping_add(HEADER_SIZE);
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> src/blocklist/block_list.rs:321:30
[INFO] [stderr]     |
[INFO] [stderr] 321 |             let first_size = unsafe { first.header_view().size.load(core::sync::atomic::Ordering::Relaxed) };
[INFO] [stderr]     |                              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/mmap/platform/wasm/mod.rs:53:34
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stderr]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `BATCH_SIZE`, `CACHE_LINE_SIZE`, and `process_batch` are never used
[INFO] [stderr]    --> src/blocklist/block_list.rs:92:11
[INFO] [stderr]     |
[INFO] [stderr] 90  | impl BlockList {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] 91  |     // Cache line size optimization
[INFO] [stderr] 92  |     const BATCH_SIZE: usize = 8;
[INFO] [stderr]     |           ^^^^^^^^^^
[INFO] [stderr] 93  |     const CACHE_LINE_SIZE: usize = 64;
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     unsafe fn process_batch(&self, blocks: &[FreeBlock]) -> Option<NonNull<FreeBlock>> {
[INFO] [stderr]     |               ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `BATCH_SIZE` is never used
[INFO] [stderr]   --> src/blocklist/free_block.rs:34:11
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl FreeBlock {
[INFO] [stderr]    | -------------- associated constant in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 34 |     const BATCH_SIZE: usize = 8;
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `SYS_MREMAP` is never used
[INFO] [stderr]   --> src/mmap/constants.rs:28:18
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub(crate) const SYS_MREMAP: i64 = 25;
[INFO] [stderr]    |                  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MREMAP_MAYMOVE` is never used
[INFO] [stderr]   --> src/mmap/constants.rs:32:11
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub const MREMAP_MAYMOVE: u64 = 1;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MREMAP_FIXED` is never used
[INFO] [stderr]   --> src/mmap/constants.rs:39:11
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub const MREMAP_FIXED: u64 = 2;
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `mremap` is never used
[INFO] [stderr]   --> src/mmap/platform/mod.rs:32:15
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub unsafe fn mremap(
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `syscall_mremap` is never used
[INFO] [stderr]   --> src/mmap/platform/unix/syscall.rs:66:22
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub(crate) unsafe fn syscall_mremap(
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `mremap` is never used
[INFO] [stderr]   --> src/mmap/platform/unix/linux.rs:22:22
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub(crate) unsafe fn mremap(
[INFO] [stderr]    |                      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `wasm_mmap` is never used
[INFO] [stderr]  --> src/mmap/platform/wasm/mod.rs:7:22
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub(crate) unsafe fn wasm_mmap(
[INFO] [stderr]   |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `wasm_munmap` is never used
[INFO] [stderr]   --> src/mmap/platform/wasm/mod.rs:53:22
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub(crate) unsafe fn wasm_munmap(addr: *mut u8, _len: usize) -> Result<(), MmapError> {
[INFO] [stderr]    |                      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `mremap` is never used
[INFO] [stderr]   --> src/mmap/platform/wasm/mod.rs:58:22
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub(crate) unsafe fn mremap(
[INFO] [stderr]    |                      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/allocators/generic_allocator.rs:58:27
[INFO] [stderr]    |
[INFO] [stderr] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<G> {
[INFO] [stderr]    |                           ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stderr]    |                           |
[INFO] [stderr]    |                           this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 58 |     pub unsafe fn get_raw(&self) -> AllocGuard<'_, G> {
[INFO] [stderr]    |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/allocators/generic_allocator.rs:68:34
[INFO] [stderr]    |
[INFO] [stderr] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<G> {
[INFO] [stderr]    |                                  ^^^^^     ------------- the lifetime gets resolved as `'_`
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 68 |     unsafe fn ensure_initialized(&self) -> AllocGuard<'_, G> {
[INFO] [stderr]    |                                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stderr]    --> src/blocklist/block_list.rs:142:25
[INFO] [stderr]     |
[INFO] [stderr] 142 |                         block.replace_next(first);
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 142 |                         let _ = block.replace_next(first);
[INFO] [stderr]     |                         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stderr]    --> src/blocklist/block_list.rs:190:21
[INFO] [stderr]     |
[INFO] [stderr] 190 |                     block.replace_next(next_block);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 190 |                     let _ = block.replace_next(next_block);
[INFO] [stderr]     |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/blocklist/block_list.rs:227:17
[INFO] [stderr]     |
[INFO] [stderr] 227 |     pub fn iter(&self) -> BlockIter {
[INFO] [stderr]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 227 |     pub fn iter(&self) -> BlockIter<'_> {
[INFO] [stderr]     |                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `FreeBlock::replace_next` that must be used
[INFO] [stderr]    --> src/blocklist/free_block.rs:193:13
[INFO] [stderr]     |
[INFO] [stderr] 193 | /             self.next_mut()
[INFO] [stderr] 194 | |                 .expect("Just set next, should exist")
[INFO] [stderr] 195 | |                 .replace_next(next_next_block);
[INFO] [stderr]     | |______________________________________________^
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 193 |             let _ = self.next_mut()
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: a dangling pointer will be produced because the temporary `Vec<u8>` will be dropped
[INFO] [stderr]   --> src/mmap/platform/wasm/mod.rs:35:37
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let buffer = vec![0u8; len].as_mut_ptr();
[INFO] [stderr]    |                      -------------- ^^^^^^^^^^ this pointer will immediately be invalid
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      this `Vec<u8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<u8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: you must make sure that the variable you bind the `Vec<u8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr`
[INFO] [stderr]    = help: in particular, if this pointer is returned from the current function, binding the `Vec<u8>` inside the function will not suffice
[INFO] [stderr]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `basic_allocator` (lib) generated 25 warnings (run `cargo fix --lib -p basic_allocator` to apply 1 suggestion)
[INFO] [stderr] warning: `basic_allocator` (lib test) generated 20 warnings (20 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/basic_allocator-ebc26261123a3a0b)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/basic_allocator-ebc26261123a3a0b` (signal: 11, SIGSEGV: invalid memory reference)
[INFO] [stdout] test allocators::raw_alloc::tests::test_size_rounding ... 
[INFO] running `Command { std: "docker" "inspect" "bd97963eacbb9a746c44ad61d4090aa9361159db31c819e1f0722a3896c2d9f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd97963eacbb9a746c44ad61d4090aa9361159db31c819e1f0722a3896c2d9f9", kill_on_drop: false }`
[INFO] [stdout] bd97963eacbb9a746c44ad61d4090aa9361159db31c819e1f0722a3896c2d9f9
