[INFO] cloning repository https://github.com/rysndavjd/simple_alloc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rysndavjd/simple_alloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frysndavjd%2Fsimple_alloc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frysndavjd%2Fsimple_alloc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da937a6be9108662e4e31ba3638b6746e0ed3c8e
[INFO] checking rysndavjd/simple_alloc against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frysndavjd%2Fsimple_alloc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rysndavjd/simple_alloc
[INFO] finished tweaking git repo https://github.com/rysndavjd/simple_alloc
[INFO] tweaked toml for git repo https://github.com/rysndavjd/simple_alloc written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rysndavjd/simple_alloc on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rysndavjd/simple_alloc 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d89650dc61f750c0c0799e3ccaeee5314132e4af87563550d3840eb9aebffc33
[INFO] running `Command { std: "docker" "start" "-a" "d89650dc61f750c0c0799e3ccaeee5314132e4af87563550d3840eb9aebffc33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d89650dc61f750c0c0799e3ccaeee5314132e4af87563550d3840eb9aebffc33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d89650dc61f750c0c0799e3ccaeee5314132e4af87563550d3840eb9aebffc33", kill_on_drop: false }`
[INFO] [stdout] d89650dc61f750c0c0799e3ccaeee5314132e4af87563550d3840eb9aebffc33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5462115069bc85782788b9cc4b8c2708b8e37bc914e678a2f98830042d2024a2
[INFO] running `Command { std: "docker" "start" "-a" "5462115069bc85782788b9cc4b8c2708b8e37bc914e678a2f98830042d2024a2", kill_on_drop: false }`
[INFO] [stderr]     Checking spin v0.10.0
[INFO] [stderr]     Checking simple_alloc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/ralloc/buddy.rs:232:31
[INFO] [stdout]     |
[INFO] [stdout] 232 |     fn deallocate_page(&self, ptr: NonNull<u8>, nr_pages: usize) {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nr_pages`
[INFO] [stdout]    --> src/ralloc/buddy.rs:232:49
[INFO] [stdout]     |
[INFO] [stdout] 232 |     fn deallocate_page(&self, ptr: NonNull<u8>, nr_pages: usize) {
[INFO] [stdout]     |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_pages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/ralloc.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocatorError> {
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]   --> src/ralloc.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |     unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/ralloc.rs:91:51
[INFO] [stdout]    |
[INFO] [stdout] 91 |     unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) {
[INFO] [stdout]    |                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEAP_NOT_POWER_TWO` is never used
[INFO] [stdout]   --> src/common.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const HEAP_NOT_POWER_TWO: &str = "Heap not a power of 2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Alignment` is never constructed
[INFO] [stdout]   --> src/common.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum AllocatorError {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     Alignment(Layout),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]   --> src/ralloc.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const PAGE_SIZE: usize = 4096;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SHIFT` is never used
[INFO] [stdout]   --> src/ralloc.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PAGE_SHIFT: usize = 12;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SizeClass` is never used
[INFO] [stdout]   --> src/ralloc.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum SizeClass {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `NR_BINNED` is never used
[INFO] [stdout]   --> src/ralloc.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl SizeClass {
[INFO] [stdout]    | -------------- associated constant in this implementation
[INFO] [stdout] 27 |     /// Number of classes that has a bin for allocations
[INFO] [stdout] 28 |     const NR_BINNED: usize = 8;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AllocClass` is never used
[INFO] [stdout]   --> src/ralloc.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum AllocClass {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pages_needed` is never used
[INFO] [stdout]   --> src/ralloc.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl AllocClass {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 38 |     fn pages_needed(size: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FreeSlot` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct FreeSlot {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FreePage` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct FreePage {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bin` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct Bin {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ralloc` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct Ralloc<const NR_ORDER: usize> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `allocate` and `deallocate` are never used
[INFO] [stdout]   --> src/ralloc.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl<const NR_ORDER: usize> Ralloc<NR_ORDER> {
[INFO] [stdout]    | -------------------------------------------- methods in this implementation
[INFO] [stdout] 87 |     fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocatorError> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BuddyError` is never used
[INFO] [stdout]  --> src/ralloc/buddy.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum BuddyError {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunk` is never constructed
[INFO] [stdout]   --> src/ralloc/buddy.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Chunk {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start_addr`, `end_addr`, and `buddy_addr` are never used
[INFO] [stdout]   --> src/ralloc/buddy.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Chunk {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 23 |     const fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn start_addr(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn end_addr(&self, order: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn buddy_addr(&self, order: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunks` is never constructed
[INFO] [stdout]   --> src/ralloc/buddy.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Chunks {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/ralloc/buddy.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Chunks {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 48 |     const fn new() -> Chunks {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn push(&mut self, mut chunk: NonNull<Chunk>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn pop(&mut self) -> Option<NonNull<Chunk>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Buddy` is never constructed
[INFO] [stdout]   --> src/ralloc/buddy.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct Buddy<const NR_ORDER: usize> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `size_align_pages`, `add_area`, `split_down`, `combine_up`, `allocate_page`, and `deallocate_page` are never used
[INFO] [stdout]    --> src/ralloc/buddy.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl<const NR_ORDER: usize> Buddy<NR_ORDER> {
[INFO] [stdout]     | ------------------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn size_align_pages(layout: Layout) -> Result<usize, BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn add_area(&mut self, addr: NonNull<u8>, order: usize) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn split_down(&mut self, source_order: usize) -> Result<(), BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     fn combine_up(&mut self, source_order: usize) -> Result<(), BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     fn allocate_page(&mut self, nr_pages: usize) -> Result<NonNull<[u8]>, BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     fn deallocate_page(&self, ptr: NonNull<u8>, nr_pages: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/ralloc/buddy.rs:232:31
[INFO] [stdout]     |
[INFO] [stdout] 232 |     fn deallocate_page(&self, ptr: NonNull<u8>, nr_pages: usize) {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nr_pages`
[INFO] [stdout]    --> src/ralloc/buddy.rs:232:49
[INFO] [stdout]     |
[INFO] [stdout] 232 |     fn deallocate_page(&self, ptr: NonNull<u8>, nr_pages: usize) {
[INFO] [stdout]     |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_pages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/ralloc.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocatorError> {
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]   --> src/ralloc.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |     unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/ralloc.rs:91:51
[INFO] [stdout]    |
[INFO] [stdout] 91 |     unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) {
[INFO] [stdout]    |                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEAP_NOT_POWER_TWO` is never used
[INFO] [stdout]   --> src/common.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const HEAP_NOT_POWER_TWO: &str = "Heap not a power of 2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Alignment` is never constructed
[INFO] [stdout]   --> src/common.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum AllocatorError {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     Alignment(Layout),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]   --> src/ralloc.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const PAGE_SIZE: usize = 4096;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SHIFT` is never used
[INFO] [stdout]   --> src/ralloc.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PAGE_SHIFT: usize = 12;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SizeClass` is never used
[INFO] [stdout]   --> src/ralloc.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum SizeClass {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `NR_BINNED` is never used
[INFO] [stdout]   --> src/ralloc.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl SizeClass {
[INFO] [stdout]    | -------------- associated constant in this implementation
[INFO] [stdout] 27 |     /// Number of classes that has a bin for allocations
[INFO] [stdout] 28 |     const NR_BINNED: usize = 8;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AllocClass` is never used
[INFO] [stdout]   --> src/ralloc.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum AllocClass {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pages_needed` is never used
[INFO] [stdout]   --> src/ralloc.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl AllocClass {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 38 |     fn pages_needed(size: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FreeSlot` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct FreeSlot {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FreePage` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct FreePage {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bin` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct Bin {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ralloc` is never constructed
[INFO] [stdout]   --> src/ralloc.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct Ralloc<const NR_ORDER: usize> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `allocate` and `deallocate` are never used
[INFO] [stdout]   --> src/ralloc.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl<const NR_ORDER: usize> Ralloc<NR_ORDER> {
[INFO] [stdout]    | -------------------------------------------- methods in this implementation
[INFO] [stdout] 87 |     fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocatorError> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BuddyError` is never used
[INFO] [stdout]  --> src/ralloc/buddy.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum BuddyError {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunk` is never constructed
[INFO] [stdout]   --> src/ralloc/buddy.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Chunk {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `start_addr`, `end_addr`, and `buddy_addr` are never used
[INFO] [stdout]   --> src/ralloc/buddy.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Chunk {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 23 |     const fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn start_addr(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn end_addr(&self, order: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn buddy_addr(&self, order: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Chunks` is never constructed
[INFO] [stdout]   --> src/ralloc/buddy.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Chunks {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/ralloc/buddy.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Chunks {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 48 |     const fn new() -> Chunks {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn push(&mut self, mut chunk: NonNull<Chunk>) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn pop(&mut self) -> Option<NonNull<Chunk>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Buddy` is never constructed
[INFO] [stdout]   --> src/ralloc/buddy.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct Buddy<const NR_ORDER: usize> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `size_align_pages`, `add_area`, `split_down`, `combine_up`, `allocate_page`, and `deallocate_page` are never used
[INFO] [stdout]    --> src/ralloc/buddy.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl<const NR_ORDER: usize> Buddy<NR_ORDER> {
[INFO] [stdout]     | ------------------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn size_align_pages(layout: Layout) -> Result<usize, BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn add_area(&mut self, addr: NonNull<u8>, order: usize) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn split_down(&mut self, source_order: usize) -> Result<(), BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     fn combine_up(&mut self, source_order: usize) -> Result<(), BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     fn allocate_page(&mut self, nr_pages: usize) -> Result<NonNull<[u8]>, BuddyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     fn deallocate_page(&self, ptr: NonNull<u8>, nr_pages: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] running `Command { std: "docker" "inspect" "5462115069bc85782788b9cc4b8c2708b8e37bc914e678a2f98830042d2024a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5462115069bc85782788b9cc4b8c2708b8e37bc914e678a2f98830042d2024a2", kill_on_drop: false }`
[INFO] [stdout] 5462115069bc85782788b9cc4b8c2708b8e37bc914e678a2f98830042d2024a2
