[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] checking dllen/rust-memalloc-impl against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdllen%2Frust-memalloc-impl" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dllen/rust-memalloc-impl on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e58003b65c6ba216612b93268cb2962c1a8315849914ba88475f89fda0fa7610 [INFO] running `Command { std: "docker" "start" "-a" "e58003b65c6ba216612b93268cb2962c1a8315849914ba88475f89fda0fa7610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e58003b65c6ba216612b93268cb2962c1a8315849914ba88475f89fda0fa7610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58003b65c6ba216612b93268cb2962c1a8315849914ba88475f89fda0fa7610", kill_on_drop: false }` [INFO] [stdout] e58003b65c6ba216612b93268cb2962c1a8315849914ba88475f89fda0fa7610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37d5b89b2bfc2608d8e3f39563ac9ce6863cfddb9ed4678a0a0f5eba9c7e1c55 [INFO] running `Command { std: "docker" "start" "-a" "37d5b89b2bfc2608d8e3f39563ac9ce6863cfddb9ed4678a0a0f5eba9c7e1c55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking 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)]` 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)]` 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)]` 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)]` 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: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)]` on by default [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::>(); [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: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: 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] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking 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)]` 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 import: `BenchmarkId` [INFO] [stdout] --> benches/allocator_benchmark.rs:4:72 [INFO] [stdout] | [INFO] [stdout] 4 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::NonNull` [INFO] [stdout] --> benches/allocator_benchmark.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::NonNull; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryPool` [INFO] [stdout] --> benches/allocator_benchmark.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | use rust_memalloc_impl::{SimpleAllocator, AdvancedAllocator, MemoryPool}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlobalAlloc` [INFO] [stdout] --> benches/allocator_benchmark.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::{GlobalAlloc, Layout}; [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)]` 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: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)]` on by default [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::>(); [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: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: 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)]` 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 11.46s [INFO] running `Command { std: "docker" "inspect" "37d5b89b2bfc2608d8e3f39563ac9ce6863cfddb9ed4678a0a0f5eba9c7e1c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d5b89b2bfc2608d8e3f39563ac9ce6863cfddb9ed4678a0a0f5eba9c7e1c55", kill_on_drop: false }` [INFO] [stdout] 37d5b89b2bfc2608d8e3f39563ac9ce6863cfddb9ed4678a0a0f5eba9c7e1c55