[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 try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F48kaiying%2Fcrusty_gc" "/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/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/48kaiying/crusty_gc on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a651909ae67883d2c9eaf3234d26b04c125fa0992b68af5ac9e8da64ea6eee1 [INFO] running `Command { std: "docker" "start" "-a" "9a651909ae67883d2c9eaf3234d26b04c125fa0992b68af5ac9e8da64ea6eee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a651909ae67883d2c9eaf3234d26b04c125fa0992b68af5ac9e8da64ea6eee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a651909ae67883d2c9eaf3234d26b04c125fa0992b68af5ac9e8da64ea6eee1", kill_on_drop: false }` [INFO] [stdout] 9a651909ae67883d2c9eaf3234d26b04c125fa0992b68af5ac9e8da64ea6eee1 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d2c1dc50058c447cc5de5360fc8f9db363a67ec065b88f4e04061faf25363e1 [INFO] running `Command { std: "docker" "start" "-a" "3d2c1dc50058c447cc5de5360fc8f9db363a67ec065b88f4e04061faf25363e1", kill_on_drop: false }` [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: struct `Block` is never constructed [INFO] [stdout] --> src/allocator.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocator` is never constructed [INFO] [stdout] --> src/allocator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Allocator { [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::::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)]` (part of `#[warn(unused)]`) 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: struct `Block` is never constructed [INFO] [stdout] --> src/allocator.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocator` is never constructed [INFO] [stdout] --> src/allocator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Allocator { [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 { [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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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::::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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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::::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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "3d2c1dc50058c447cc5de5360fc8f9db363a67ec065b88f4e04061faf25363e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d2c1dc50058c447cc5de5360fc8f9db363a67ec065b88f4e04061faf25363e1", kill_on_drop: false }` [INFO] [stdout] 3d2c1dc50058c447cc5de5360fc8f9db363a67ec065b88f4e04061faf25363e1