[INFO] cloning repository https://github.com/mattdarc/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattdarc/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattdarc%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattdarc%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a28bc8b3b5480ee18505f384f3daf3b7d5aa34d [INFO] building mattdarc/rlox against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattdarc%2Frlox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattdarc/rlox on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattdarc/rlox [INFO] finished tweaking git repo https://github.com/mattdarc/rlox [INFO] tweaked toml for git repo https://github.com/mattdarc/rlox written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mattdarc/rlox 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a99ce284c5465eaeb9a0c6a01c3e50bd3cd1a4c971da474ec1b62b1c2593fc5c [INFO] running `Command { std: "docker" "start" "-a" "a99ce284c5465eaeb9a0c6a01c3e50bd3cd1a4c971da474ec1b62b1c2593fc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99ce284c5465eaeb9a0c6a01c3e50bd3cd1a4c971da474ec1b62b1c2593fc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99ce284c5465eaeb9a0c6a01c3e50bd3cd1a4c971da474ec1b62b1c2593fc5c", kill_on_drop: false }` [INFO] [stdout] a99ce284c5465eaeb9a0c6a01c3e50bd3cd1a4c971da474ec1b62b1c2593fc5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c57c73b7e5d68066616a0f2b0fa88ff42786c62d4f6c6756444d18781b21581 [INFO] running `Command { std: "docker" "start" "-a" "6c57c73b7e5d68066616a0f2b0fa88ff42786c62d4f6c6756444d18781b21581", kill_on_drop: false }` [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/immix/immix.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn alloc(&mut self, object: T) -> NonNull { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockList` is never constructed [INFO] [stdout] --> src/immix/blocklist.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BlockList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `alloc`, and `dealloc` are never used [INFO] [stdout] --> src/immix/blocklist.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockList { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn alloc(&mut self, bytes: usize) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn dealloc(&mut self, ptr: ManagedPtr) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockState` is never used [INFO] [stdout] --> src/immix/bump_alloc.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum BlockState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/immix/bump_alloc.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl ManagedPtr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 32 | fn new(inner: NonNull, size: usize) -> ManagedPtr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BumpBlock` is never constructed [INFO] [stdout] --> src/immix/bump_alloc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct BumpBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `inner_dealloc`, `inner_alloc`, `get_block_state`, `contains`, and `find_first_hole` are never used [INFO] [stdout] --> src/immix/bump_alloc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl BumpBlock { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn inner_dealloc(&mut self, ptr: ManagedPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn inner_alloc(&mut self, bytes: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_block_state(&self) -> BlockState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn contains(&self, ptr: &ManagedPtr) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn find_first_hole(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectHeader` is never used [INFO] [stdout] --> src/immix/header.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait ObjectHeader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultAllocation` is never constructed [INFO] [stdout] --> src/immix/immix.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DefaultAllocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultReclamation` is never constructed [INFO] [stdout] --> src/immix/immix.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DefaultReclamation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImmixGc` is never constructed [INFO] [stdout] --> src/immix/immix.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ImmixGc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StickyImmix` is never used [INFO] [stdout] --> src/immix/immix.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type StickyImmix = ImmixGc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alloc` is never used [INFO] [stdout] --> src/immix/immix.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ImmixGc { [INFO] [stdout] | ------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn alloc(&mut self, object: T) -> NonNull { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineMap` is never constructed [INFO] [stdout] --> src/immix/linemap.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LineMap(BitVec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/immix/linemap.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl LineMap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 7 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn is_used(&self, line: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_used(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_unused(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_range_used(&mut self, start: usize, end: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_range_unused(&mut self, start: usize, end: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn entire_block_unused(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn entire_block_used(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn find_next_used(&self, line: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn find_next_unused(&self, line: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OutOfMemory` and `BadAlignment` are never constructed [INFO] [stdout] --> src/immix/memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AllocError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | OutOfMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | BadAlignment, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllocError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockResult` is never used [INFO] [stdout] --> src/immix/memory.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type BlockResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `into_ptr_mut`, `size`, and `as_ptr` are never used [INFO] [stdout] --> src/immix/memory.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(size: BlockSize) -> BlockResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn into_ptr_mut(self) -> BlockPtr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn size(&self) -> BlockSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn as_ptr(&self) -> *mut u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alloc_block` is never used [INFO] [stdout] --> src/immix/memory.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn alloc_block(size: BlockSize) -> BlockResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AllocationPolicy` is never used [INFO] [stdout] --> src/immix/policy.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait AllocationPolicy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReclamationPolicy` is never used [INFO] [stdout] --> src/immix/policy.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ReclamationPolicy {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplicationRoots` is never constructed [INFO] [stdout] --> src/immix/roots.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ApplicationRoots { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestAllocator` is never constructed [INFO] [stdout] --> src/immix/test_allocator.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TestAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[f64; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/vm.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | stack: RefCell::new(unsafe { MaybeUninit::uninit().assume_init() }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: floats must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "6c57c73b7e5d68066616a0f2b0fa88ff42786c62d4f6c6756444d18781b21581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c57c73b7e5d68066616a0f2b0fa88ff42786c62d4f6c6756444d18781b21581", kill_on_drop: false }` [INFO] [stdout] 6c57c73b7e5d68066616a0f2b0fa88ff42786c62d4f6c6756444d18781b21581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1cc5c02b0a01f7d87e62e2ff5fdb81563451871f1dac8a0f13a343c29eb1ecf [INFO] running `Command { std: "docker" "start" "-a" "b1cc5c02b0a01f7d87e62e2ff5fdb81563451871f1dac8a0f13a343c29eb1ecf", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/immix/immix.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn alloc(&mut self, object: T) -> NonNull { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockList` is never constructed [INFO] [stdout] --> src/immix/blocklist.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BlockList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `alloc`, and `dealloc` are never used [INFO] [stdout] --> src/immix/blocklist.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockList { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn alloc(&mut self, bytes: usize) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn dealloc(&mut self, ptr: ManagedPtr) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockState` is never used [INFO] [stdout] --> src/immix/bump_alloc.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum BlockState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/immix/bump_alloc.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl ManagedPtr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 32 | fn new(inner: NonNull, size: usize) -> ManagedPtr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BumpBlock` is never constructed [INFO] [stdout] --> src/immix/bump_alloc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct BumpBlock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `inner_dealloc`, `inner_alloc`, `get_block_state`, `contains`, and `find_first_hole` are never used [INFO] [stdout] --> src/immix/bump_alloc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl BumpBlock { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn inner_dealloc(&mut self, ptr: ManagedPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn inner_alloc(&mut self, bytes: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_block_state(&self) -> BlockState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn contains(&self, ptr: &ManagedPtr) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn find_first_hole(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectHeader` is never used [INFO] [stdout] --> src/immix/header.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait ObjectHeader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultAllocation` is never constructed [INFO] [stdout] --> src/immix/immix.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DefaultAllocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultReclamation` is never constructed [INFO] [stdout] --> src/immix/immix.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DefaultReclamation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImmixGc` is never constructed [INFO] [stdout] --> src/immix/immix.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ImmixGc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StickyImmix` is never used [INFO] [stdout] --> src/immix/immix.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type StickyImmix = ImmixGc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alloc` is never used [INFO] [stdout] --> src/immix/immix.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ImmixGc { [INFO] [stdout] | ------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn alloc(&mut self, object: T) -> NonNull { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineMap` is never constructed [INFO] [stdout] --> src/immix/linemap.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LineMap(BitVec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/immix/linemap.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl LineMap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 7 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn is_used(&self, line: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_used(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_unused(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_range_used(&mut self, start: usize, end: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_range_unused(&mut self, start: usize, end: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn entire_block_unused(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn entire_block_used(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn find_next_used(&self, line: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn find_next_unused(&self, line: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OutOfMemory` and `BadAlignment` are never constructed [INFO] [stdout] --> src/immix/memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AllocError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | OutOfMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | BadAlignment, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllocError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `BlockResult` is never used [INFO] [stdout] --> src/immix/memory.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type BlockResult = Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `into_ptr_mut`, `size`, and `as_ptr` are never used [INFO] [stdout] --> src/immix/memory.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(size: BlockSize) -> BlockResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn into_ptr_mut(self) -> BlockPtr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn size(&self) -> BlockSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn as_ptr(&self) -> *mut u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alloc_block` is never used [INFO] [stdout] --> src/immix/memory.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn alloc_block(size: BlockSize) -> BlockResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AllocationPolicy` is never used [INFO] [stdout] --> src/immix/policy.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait AllocationPolicy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReclamationPolicy` is never used [INFO] [stdout] --> src/immix/policy.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ReclamationPolicy {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplicationRoots` is never constructed [INFO] [stdout] --> src/immix/roots.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ApplicationRoots { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestAllocator` is never constructed [INFO] [stdout] --> src/immix/test_allocator.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TestAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[f64; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/vm.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | stack: RefCell::new(unsafe { MaybeUninit::uninit().assume_init() }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: floats must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/immix/immix.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn alloc(&mut self, object: T) -> NonNull { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockState` is never used [INFO] [stdout] --> src/immix/bump_alloc.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum BlockState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_state` is never used [INFO] [stdout] --> src/immix/bump_alloc.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl BumpBlock { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_block_state(&self) -> BlockState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectHeader` is never used [INFO] [stdout] --> src/immix/header.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait ObjectHeader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultReclamation` is never constructed [INFO] [stdout] --> src/immix/immix.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DefaultReclamation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImmixGc` is never constructed [INFO] [stdout] --> src/immix/immix.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ImmixGc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StickyImmix` is never used [INFO] [stdout] --> src/immix/immix.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type StickyImmix = ImmixGc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alloc` is never used [INFO] [stdout] --> src/immix/immix.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ImmixGc { [INFO] [stdout] | ------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn alloc(&mut self, object: T) -> NonNull { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print` and `dump` are never used [INFO] [stdout] --> src/immix/linemap.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl LineMap { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_ptr_mut` is never used [INFO] [stdout] --> src/immix/memory.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn into_ptr_mut(self) -> BlockPtr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReclamationPolicy` is never used [INFO] [stdout] --> src/immix/policy.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ReclamationPolicy {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplicationRoots` is never constructed [INFO] [stdout] --> src/immix/roots.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ApplicationRoots { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[f64; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/vm.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | stack: RefCell::new(unsafe { MaybeUninit::uninit().assume_init() }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: floats must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "b1cc5c02b0a01f7d87e62e2ff5fdb81563451871f1dac8a0f13a343c29eb1ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1cc5c02b0a01f7d87e62e2ff5fdb81563451871f1dac8a0f13a343c29eb1ecf", kill_on_drop: false }` [INFO] [stdout] b1cc5c02b0a01f7d87e62e2ff5fdb81563451871f1dac8a0f13a343c29eb1ecf