[INFO] cloning repository https://github.com/48kaiying/crusty_gc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/48kaiying/crusty_gc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F48kaiying%2Fcrusty_gc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F48kaiying%2Fcrusty_gc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f88b6085e9e587f0508c554e693fd8f0b94fbc0b
[INFO] checking 48kaiying/crusty_gc against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F48kaiying%2Fcrusty_gc" "/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/48kaiying/crusty_gc
[INFO] finished tweaking git repo https://github.com/48kaiying/crusty_gc
[INFO] tweaked toml for git repo https://github.com/48kaiying/crusty_gc written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/48kaiying/crusty_gc on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/48kaiying/crusty_gc 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 898c27f44a10a62a2690a45c31de18786733a98c541d29c4c6815c05cd31ce69
[INFO] running `Command { std: "docker" "start" "-a" "898c27f44a10a62a2690a45c31de18786733a98c541d29c4c6815c05cd31ce69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "898c27f44a10a62a2690a45c31de18786733a98c541d29c4c6815c05cd31ce69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "898c27f44a10a62a2690a45c31de18786733a98c541d29c4c6815c05cd31ce69", kill_on_drop: false }`
[INFO] [stdout] 898c27f44a10a62a2690a45c31de18786733a98c541d29c4c6815c05cd31ce69
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 943b9fab10877d25ca96053d631624ccb116da09ebd6c0e0b479b18703cb7aa5
[INFO] running `Command { std: "docker" "start" "-a" "943b9fab10877d25ca96053d631624ccb116da09ebd6c0e0b479b18703cb7aa5", kill_on_drop: false }`
[INFO] [stderr]     Checking hello_cargo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ffi::CStr`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::CStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout]  --> src/allocator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout]  --> src/allocator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout]  --> src/allocator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CStr`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::CStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error`
[INFO] [stdout]  --> src/allocator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `used` is never read
[INFO] [stdout]   --> src/allocator.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Block {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     used: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `num_used` and `num_free` are never read
[INFO] [stdout]   --> src/allocator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Allocator {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 28 |     num_used: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 29 |     num_free: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print_pointer_set` is never used
[INFO] [stdout]    --> src/allocator.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 74  | impl Allocator {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn print_pointer_set(hs: &HashSet<*mut u8>, msg: &'static str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `size`, `request_size`, `used`, and `payload` are never read
[INFO] [stdout]   --> src/allocator.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Block {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 17 |     // header size = 24
[INFO] [stdout] 18 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |     request_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 20 |     used: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     payload: *mut u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `num_used` and `num_free` are never read
[INFO] [stdout]   --> src/allocator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Allocator {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 28 |     num_used: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 29 |     num_free: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_block_size` is never used
[INFO] [stdout]   --> src/allocator.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_block_size(size: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_aligned_as_eight` is never used
[INFO] [stdout]   --> src/allocator.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn is_aligned_as_eight(addr: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `align_as_eight` is never used
[INFO] [stdout]   --> src/allocator.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn align_as_eight(addr: usize, round_down: bool) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/allocator.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout] 74  | impl Allocator {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 75  |     // pub fn new(etext: *const u8, end: *const u8) -> Allocator {
[INFO] [stdout] 76  |     pub fn new() -> Allocator {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 86  |     fn malloc(&mut self, size: usize) -> *mut u8 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn free_verbose(&mut self, ptr: *mut u8) -> (usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn free(&mut self, ptr: *mut u8) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn inspect_blocks(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn print_heap_graph(&self, hg: &HashMap<*mut u8, HashSet<*mut u8>>, msg: &'static str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn print_pointer_set(hs: &HashSet<*mut u8>, msg: &'static str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn create_heap_graph(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn scan_region(
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 330 |     pub fn sweep_root_mem(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 384 |     pub fn graph_DFS(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub fn find_mem_leaks(&mut self, hg: &HashMap<*mut u8, HashSet<*mut u8>>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `malloc` is never used
[INFO] [stdout]    --> src/allocator.rs:463:8
[INFO] [stdout]     |
[INFO] [stdout] 463 | pub fn malloc(size: usize) -> *mut u8 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free` is never used
[INFO] [stdout]    --> src/allocator.rs:472:8
[INFO] [stdout]     |
[INFO] [stdout] 472 | pub fn free(ptr: *mut u8) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `garbage_collect` is never used
[INFO] [stdout]    --> src/allocator.rs:480:8
[INFO] [stdout]     |
[INFO] [stdout] 480 | pub fn garbage_collect(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `alloc_clean` is never used
[INFO] [stdout]    --> src/allocator.rs:493:8
[INFO] [stdout]     |
[INFO] [stdout] 493 | pub fn alloc_clean() {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `alloc_init` is never used
[INFO] [stdout]    --> src/allocator.rs:501:8
[INFO] [stdout]     |
[INFO] [stdout] 501 | pub fn alloc_init() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `List` is never constructed
[INFO] [stdout]  --> src/tests.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct List {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/tests.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/tests.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl List {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn push(&mut self, elem: i32) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn pop(&mut self) -> Option<i32> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/allocator.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         Box::from_raw(ptr);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `graph_DFS` should have a snake case name
[INFO] [stdout]    --> src/allocator.rs:384:12
[INFO] [stdout]     |
[INFO] [stdout] 384 |     pub fn graph_DFS(
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `graph_dfs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `size`, `request_size`, `used`, and `payload` are never read
[INFO] [stdout]   --> src/allocator.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Block {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 17 |     // header size = 24
[INFO] [stdout] 18 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |     request_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 20 |     used: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     payload: *mut u8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `num_used` and `num_free` are never read
[INFO] [stdout]   --> src/allocator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Allocator {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 28 |     num_used: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 29 |     num_free: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_block_size` is never used
[INFO] [stdout]   --> src/allocator.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_block_size(size: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_aligned_as_eight` is never used
[INFO] [stdout]   --> src/allocator.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn is_aligned_as_eight(addr: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `align_as_eight` is never used
[INFO] [stdout]   --> src/allocator.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn align_as_eight(addr: usize, round_down: bool) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/allocator.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout] 74  | impl Allocator {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 75  |     // pub fn new(etext: *const u8, end: *const u8) -> Allocator {
[INFO] [stdout] 76  |     pub fn new() -> Allocator {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 86  |     fn malloc(&mut self, size: usize) -> *mut u8 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn free_verbose(&mut self, ptr: *mut u8) -> (usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn free(&mut self, ptr: *mut u8) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn inspect_blocks(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn print_heap_graph(&self, hg: &HashMap<*mut u8, HashSet<*mut u8>>, msg: &'static str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn print_pointer_set(hs: &HashSet<*mut u8>, msg: &'static str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn create_heap_graph(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn scan_region(
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 330 |     pub fn sweep_root_mem(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 384 |     pub fn graph_DFS(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub fn find_mem_leaks(&mut self, hg: &HashMap<*mut u8, HashSet<*mut u8>>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `malloc` is never used
[INFO] [stdout]    --> src/allocator.rs:463:8
[INFO] [stdout]     |
[INFO] [stdout] 463 | pub fn malloc(size: usize) -> *mut u8 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `free` is never used
[INFO] [stdout]    --> src/allocator.rs:472:8
[INFO] [stdout]     |
[INFO] [stdout] 472 | pub fn free(ptr: *mut u8) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `garbage_collect` is never used
[INFO] [stdout]    --> src/allocator.rs:480:8
[INFO] [stdout]     |
[INFO] [stdout] 480 | pub fn garbage_collect(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `alloc_clean` is never used
[INFO] [stdout]    --> src/allocator.rs:493:8
[INFO] [stdout]     |
[INFO] [stdout] 493 | pub fn alloc_clean() {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `alloc_init` is never used
[INFO] [stdout]    --> src/allocator.rs:501:8
[INFO] [stdout]     |
[INFO] [stdout] 501 | pub fn alloc_init() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/allocator.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         Box::from_raw(ptr);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `graph_DFS` should have a snake case name
[INFO] [stdout]    --> src/allocator.rs:384:12
[INFO] [stdout]     |
[INFO] [stdout] 384 |     pub fn graph_DFS(
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `graph_dfs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `used` is never read
[INFO] [stdout]   --> src/allocator.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Block {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     used: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `num_used` and `num_free` are never read
[INFO] [stdout]   --> src/allocator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Allocator {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 28 |     num_used: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 29 |     num_free: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print_pointer_set` is never used
[INFO] [stdout]    --> src/allocator.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 74  | impl Allocator {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn print_pointer_set(hs: &HashSet<*mut u8>, msg: &'static str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/allocator.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         Box::from_raw(ptr);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `graph_DFS` should have a snake case name
[INFO] [stdout]    --> src/allocator.rs:384:12
[INFO] [stdout]     |
[INFO] [stdout] 384 |     pub fn graph_DFS(
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `graph_dfs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/allocator.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         Box::from_raw(ptr);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `graph_DFS` should have a snake case name
[INFO] [stdout]    --> src/allocator.rs:384:12
[INFO] [stdout]     |
[INFO] [stdout] 384 |     pub fn graph_DFS(
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `graph_dfs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] running `Command { std: "docker" "inspect" "943b9fab10877d25ca96053d631624ccb116da09ebd6c0e0b479b18703cb7aa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "943b9fab10877d25ca96053d631624ccb116da09ebd6c0e0b479b18703cb7aa5", kill_on_drop: false }`
[INFO] [stdout] 943b9fab10877d25ca96053d631624ccb116da09ebd6c0e0b479b18703cb7aa5
