[INFO] cloning repository https://github.com/dllen/rust-memalloc-impl
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dllen/rust-memalloc-impl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdllen%2Frust-memalloc-impl", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdllen%2Frust-memalloc-impl'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a4db2bdd3fc8b33e11eacb4fcb6f33fd0c4fd50
[INFO] testing dllen/rust-memalloc-impl against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdllen%2Frust-memalloc-impl" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dllen/rust-memalloc-impl
[INFO] finished tweaking git repo https://github.com/dllen/rust-memalloc-impl
[INFO] tweaked toml for git repo https://github.com/dllen/rust-memalloc-impl written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dllen/rust-memalloc-impl on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dllen/rust-memalloc-impl 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.5.35
[INFO] [stderr]   Downloaded zerocopy v0.8.24
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.24
[INFO] [stderr]   Downloaded clap_builder v4.5.35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d0959d23ee47dc46f0945fd5862f7c1e5f95f32528755913361dc9c534cfe5a6
[INFO] running `Command { std: "docker" "start" "-a" "d0959d23ee47dc46f0945fd5862f7c1e5f95f32528755913361dc9c534cfe5a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0959d23ee47dc46f0945fd5862f7c1e5f95f32528755913361dc9c534cfe5a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0959d23ee47dc46f0945fd5862f7c1e5f95f32528755913361dc9c534cfe5a6", kill_on_drop: false }`
[INFO] [stdout] d0959d23ee47dc46f0945fd5862f7c1e5f95f32528755913361dc9c534cfe5a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92fe54a26257da2e614d635b2ec6ddfae90d8f4b20c6ae1891893cadd1817d9f
[INFO] running `Command { std: "docker" "start" "-a" "92fe54a26257da2e614d635b2ec6ddfae90d8f4b20c6ae1891893cadd1817d9f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rust-memalloc-impl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> src/memory_pool.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aligned_size`
[INFO] [stdout]   --> src/memory_pool.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let aligned_size = (size + 7) & !7;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aligned_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allocated` is never read
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct MemoryBlock {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     allocated: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MemoryBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `adjust_size_for_alignment` and `is_managed_by_allocator` are never used
[INFO] [stdout]    --> src/advanced_allocator.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl AdvancedAllocator {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     fn adjust_size_for_alignment(size: usize, align: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     unsafe fn is_managed_by_allocator(&self, ptr: *mut u8, size_class: usize) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr2`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let ptr2 = allocator.alloc(200);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut allocator = rust_memalloc_impl::AdvancedAllocator::new(); // 1MB
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr3`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let ptr3 = allocator.alloc(Layout::from_size_align(300, 8).unwrap());
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr4`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let ptr4 = allocator.alloc(Layout::from_size_align(150, 8).unwrap());
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024); // 1MB
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block2`
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let block2 = pool.get_block(128);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_blocks`
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let new_blocks = (0..5).map(|_| adv_pool.get_block(64).unwrap()).collect::<Vec<_>>();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_blocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024 * 10); // 10MB
[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/main.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024); // 1MB
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.96s
[INFO] running `Command { std: "docker" "inspect" "92fe54a26257da2e614d635b2ec6ddfae90d8f4b20c6ae1891893cadd1817d9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92fe54a26257da2e614d635b2ec6ddfae90d8f4b20c6ae1891893cadd1817d9f", kill_on_drop: false }`
[INFO] [stdout] 92fe54a26257da2e614d635b2ec6ddfae90d8f4b20c6ae1891893cadd1817d9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 185a4b0c10d23daa94ef428e9be5c29b69782d20369755a751f4010228418e77
[INFO] running `Command { std: "docker" "start" "-a" "185a4b0c10d23daa94ef428e9be5c29b69782d20369755a751f4010228418e77", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling clap_builder v4.5.35
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling rust-memalloc-impl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> src/memory_pool.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aligned_size`
[INFO] [stdout]   --> src/memory_pool.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let aligned_size = (size + 7) & !7;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aligned_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allocated` is never read
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct MemoryBlock {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     allocated: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MemoryBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `adjust_size_for_alignment` and `is_managed_by_allocator` are never used
[INFO] [stdout]    --> src/advanced_allocator.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl AdvancedAllocator {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     fn adjust_size_for_alignment(size: usize, align: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     unsafe fn is_managed_by_allocator(&self, ptr: *mut u8, size_class: usize) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> src/memory_pool.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr2`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let ptr2 = allocator.alloc(200);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut allocator = rust_memalloc_impl::AdvancedAllocator::new(); // 1MB
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr3`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let ptr3 = allocator.alloc(Layout::from_size_align(300, 8).unwrap());
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr4`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let ptr4 = allocator.alloc(Layout::from_size_align(150, 8).unwrap());
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024); // 1MB
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block2`
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let block2 = pool.get_block(128);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_blocks`
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let new_blocks = (0..5).map(|_| adv_pool.get_block(64).unwrap()).collect::<Vec<_>>();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_blocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024 * 10); // 10MB
[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/main.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024); // 1MB
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aligned_size`
[INFO] [stdout]   --> src/memory_pool.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let aligned_size = (size + 7) & !7;
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aligned_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr2`
[INFO] [stdout]    --> src/lib.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let ptr2 = allocator.alloc(200);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block2`
[INFO] [stdout]    --> src/lib.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let block2 = pool.get_block(128);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allocated` is never read
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct MemoryBlock {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     allocated: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MemoryBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `adjust_size_for_alignment` and `is_managed_by_allocator` are never used
[INFO] [stdout]    --> src/advanced_allocator.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl AdvancedAllocator {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     fn adjust_size_for_alignment(size: usize, align: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     unsafe fn is_managed_by_allocator(&self, ptr: *mut u8, size_class: usize) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 25.89s
[INFO] running `Command { std: "docker" "inspect" "185a4b0c10d23daa94ef428e9be5c29b69782d20369755a751f4010228418e77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "185a4b0c10d23daa94ef428e9be5c29b69782d20369755a751f4010228418e77", kill_on_drop: false }`
[INFO] [stdout] 185a4b0c10d23daa94ef428e9be5c29b69782d20369755a751f4010228418e77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 210f7f3756b2175545b82e9d08adb76574f9bf6fdc83cee1f819f6e1539c318a
[INFO] running `Command { std: "docker" "start" "-a" "210f7f3756b2175545b82e9d08adb76574f9bf6fdc83cee1f819f6e1539c318a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Arc`
[INFO] [stderr]  --> src/memory_pool.rs:1:17
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::{Arc, Mutex};
[INFO] [stderr]   |                 ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]  --> src/lib.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::cell::RefCell;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt`
[INFO] [stderr]   --> src/lib.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::fmt;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `aligned_size`
[INFO] [stderr]   --> src/memory_pool.rs:77:13
[INFO] [stderr]    |
[INFO] [stderr] 77 |         let aligned_size = (size + 7) & !7;
[INFO] [stderr]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aligned_size`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `allocated` is never read
[INFO] [stderr]   --> src/lib.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct MemoryBlock {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 26 |     allocated: bool,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MemoryBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `adjust_size_for_alignment` and `is_managed_by_allocator` are never used
[INFO] [stderr]    --> src/advanced_allocator.rs:160:8
[INFO] [stderr]     |
[INFO] [stderr] 112 | impl AdvancedAllocator {
[INFO] [stderr]     | ---------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 160 |     fn adjust_size_for_alignment(size: usize, align: usize) -> usize {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 171 |     unsafe fn is_managed_by_allocator(&self, ptr: *mut u8, size_class: usize) -> bool {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-memalloc-impl` (lib) generated 6 warnings (run `cargo fix --lib -p rust-memalloc-impl` to apply 4 suggestions)
[INFO] [stderr] warning: unused variable: `ptr2`
[INFO] [stderr]    --> src/lib.rs:250:13
[INFO] [stderr]     |
[INFO] [stderr] 250 |         let ptr2 = allocator.alloc(200);
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `block2`
[INFO] [stderr]    --> src/lib.rs:277:13
[INFO] [stderr]     |
[INFO] [stderr] 277 |         let block2 = pool.get_block(128);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ptr2`
[INFO] [stderr]   --> src/main.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let ptr2 = allocator.alloc(200);
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr2`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:43:9
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let mut allocator = rust_memalloc_impl::AdvancedAllocator::new(); // 1MB
[INFO] [stderr]    |         ----^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ptr3`
[INFO] [stderr]   --> src/main.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |     let ptr3 = allocator.alloc(Layout::from_size_align(300, 8).unwrap());
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ptr4`
[INFO] [stderr]   --> src/main.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 |     let ptr4 = allocator.alloc(Layout::from_size_align(150, 8).unwrap());
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_ptr4`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 |     let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024); // 1MB
[INFO] [stderr]    |         ----^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `block2`
[INFO] [stderr]   --> src/main.rs:79:9
[INFO] [stderr]    |
[INFO] [stderr] 79 |     let block2 = pool.get_block(128);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_block2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `new_blocks`
[INFO] [stderr]   --> src/main.rs:99:9
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let new_blocks = (0..5).map(|_| adv_pool.get_block(64).unwrap()).collect::<Vec<_>>();
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_blocks`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:139:13
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024 * 10); // 10MB
[INFO] [stderr]     |             ----^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:243:9
[INFO] [stderr]     |
[INFO] [stderr] 243 |     let mut adv_pool = rust_memalloc_impl::AdvancedMemoryPool::new(1024 * 1024); // 1MB
[INFO] [stderr]     |         ----^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-memalloc-impl` (lib test) generated 8 warnings (6 duplicates) (run `cargo fix --lib -p rust-memalloc-impl --tests` to apply 2 suggestions)
[INFO] [stderr] warning: `rust-memalloc-impl` (bin "rust-memalloc-impl" test) generated 9 warnings (run `cargo fix --bin "rust-memalloc-impl" -p rust-memalloc-impl --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_memalloc_impl-42174f94bc46f85d)
[INFO] [stdout] running 8 tests
[INFO] [stderr] free(): double free detected in tcache 2
[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/rust_memalloc_impl-42174f94bc46f85d` (signal: 6, SIGABRT: process abort signal)
[INFO] running `Command { std: "docker" "inspect" "210f7f3756b2175545b82e9d08adb76574f9bf6fdc83cee1f819f6e1539c318a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "210f7f3756b2175545b82e9d08adb76574f9bf6fdc83cee1f819f6e1539c318a", kill_on_drop: false }`
[INFO] [stdout] 210f7f3756b2175545b82e9d08adb76574f9bf6fdc83cee1f819f6e1539c318a
