[INFO] cloning repository https://github.com/fliseno1k/rust-lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fliseno1k/rust-lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffliseno1k%2Frust-lox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffliseno1k%2Frust-lox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6731a6a651fec40bafaccf73d1f728d27364e68 [INFO] checking fliseno1k/rust-lox against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffliseno1k%2Frust-lox" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fliseno1k/rust-lox [INFO] finished tweaking git repo https://github.com/fliseno1k/rust-lox [INFO] tweaked toml for git repo https://github.com/fliseno1k/rust-lox written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fliseno1k/rust-lox on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fliseno1k/rust-lox 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9c9a3e22604404fa95ed63b9e50228882b1cf556f5071c6982c2d24c6cb6e34 [INFO] running `Command { std: "docker" "start" "-a" "d9c9a3e22604404fa95ed63b9e50228882b1cf556f5071c6982c2d24c6cb6e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9c9a3e22604404fa95ed63b9e50228882b1cf556f5071c6982c2d24c6cb6e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c9a3e22604404fa95ed63b9e50228882b1cf556f5071c6982c2d24c6cb6e34", kill_on_drop: false }` [INFO] [stdout] d9c9a3e22604404fa95ed63b9e50228882b1cf556f5071c6982c2d24c6cb6e34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f168ba045e78ad2db1566fc325f972979602ceaf5b617c1c58b054e01ed35ad [INFO] running `Command { std: "docker" "start" "-a" "5f168ba045e78ad2db1566fc325f972979602ceaf5b617c1c58b054e01ed35ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking lox-syntax v0.1.0 (/opt/rustwide/workdir/crates/lox-syntax) [INFO] [stderr] Checking lox-vm v0.1.0 (/opt/rustwide/workdir/crates/lox-vm) [INFO] [stdout] warning: variants `Star`, `Nil`, and `Or` are never constructed [INFO] [stdout] --> crates/lox-syntax/src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-syntax/src/tokenizer.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(buf: &str) -> Scanner { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn new(buf: &str) -> Scanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-syntax/src/tokenizer.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(buf: &str) -> Lexer { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn new(buf: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir/crates/lox) [INFO] [stdout] warning: variants `Star`, `Nil`, and `Or` are never constructed [INFO] [stdout] --> crates/lox-syntax/src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-syntax/src/tokenizer.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(buf: &str) -> Scanner { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn new(buf: &str) -> Scanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-syntax/src/tokenizer.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(buf: &str) -> Lexer { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn new(buf: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lox-mmap v0.1.0 (/opt/rustwide/workdir/crates/lox-mmap) [INFO] [stderr] Checking lox-gc v0.1.0 (/opt/rustwide/workdir/crates/lox-gc) [INFO] [stdout] warning: method `bytes_used` is never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Heap { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn bytes_used(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_linked` is never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl<'space> PdRef<'space> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 414 | pub fn is_linked(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn take_ream(&self, pages: u32) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | fn take_ream(&self, pages: u32) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | pub unsafe fn pd(&self, idx: PdIdx) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub unsafe fn pd(&self, idx: PdIdx) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | pub unsafe fn pd_at(&self, index: u32) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | pub unsafe fn pd_at(&self, index: u32) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | pub unsafe fn pd_of(&self, ptr: *const u8) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 254 | pub unsafe fn pd_of(&self, ptr: *const u8) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn pds(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 262 | pub fn pds(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn new_ream(&self, count: u32) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | pub fn new_ream(&self, count: u32) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_pages` is never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | const fn bytes_to_pages(n: usize) -> usize { [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 `Heap` is never constructed [INFO] [stdout] --> crates/lox-gc/src/heap.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Heap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Heap { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 28 | pub fn new() -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn bytes_used(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub unsafe fn start_gc(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub unsafe fn mark(&self, ptr: *const u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_marked(&self, ptr: *const u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub unsafe fn sweep(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn sized_list(&self, size_class: SizeClass) -> &PdList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn take_ream(&self, pages: u32) -> PdRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn alloc_ream(&self, pages: u32) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | fn alloc_small(&self, size_class: SizeClass) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddrSpace` is never constructed [INFO] [stdout] --> crates/lox-gc/src/heap.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | struct AddrSpace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 212 | impl AddrSpace { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 213 | const PAGE_BYTES: usize = 4096; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 214 | [INFO] [stdout] 215 | const DATE_BYTES: usize = 4 * 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | [INFO] [stdout] 217 | const DATA_PAGES: usize = Self::DATE_BYTES / Self::PAGE_BYTES; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 218 | [INFO] [stdout] 219 | const PD_PAGES: usize = bytes_to_pages(Self::DATA_PAGES * size_of::()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 220 | [INFO] [stdout] 221 | const BITMAP_PAGES: usize = bytes_to_pages(Self::DATA_PAGES * size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 222 | [INFO] [stdout] 223 | const PD_BYTES: usize = Self::PD_PAGES * Self::PAGE_BYTES; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 224 | [INFO] [stdout] 225 | const BITMAP_BYTES: usize = Self::BITMAP_PAGES * Self::PAGE_BYTES; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 226 | [INFO] [stdout] 227 | const TOTAL_PAGES: usize = Self::DATA_PAGES + Self::PD_PAGES + Self::BITMAP_PAGES; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 228 | [INFO] [stdout] 229 | const TOTAL_BYTES: usize = Self::TOTAL_PAGES * Self::PAGE_BYTES; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 230 | [INFO] [stdout] 231 | const DATA_START: usize = Self::PD_BYTES + Self::BITMAP_BYTES; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 232 | [INFO] [stdout] 233 | pub fn create() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub unsafe fn pd(&self, idx: PdIdx) -> PdRef { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub unsafe fn pd_at(&self, index: u32) -> PdRef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub unsafe fn pd_of(&self, ptr: *const u8) -> PdRef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn pds(&self) -> impl Iterator { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn available_pages(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub(crate) fn new_reserved(&self) -> PdList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn new_ream(&self, count: u32) -> PdRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitmap` is never constructed [INFO] [stdout] --> crates/lox-gc/src/heap.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | struct Bitmap([Cell; 4]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SizeClass` is never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | enum SizeClass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `SMALL`, `block_bytes`, and `total_blocks` are never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 349 | impl SizeClass { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 350 | const SMALL: [Self; 9] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub const fn block_bytes(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub const fn total_blocks(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageDescriptor` is never constructed [INFO] [stdout] --> crates/lox-gc/src/heap.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | struct PageDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PdIdx` is never constructed [INFO] [stdout] --> crates/lox-gc/src/heap.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | struct PdIdx(u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PdRef` is never constructed [INFO] [stdout] --> crates/lox-gc/src/heap.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | struct PdRef<'space> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl<'space> PdRef<'space> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 398 | pub fn pages(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn is_single_page(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn set_class(self, size_class: SizeClass) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn class(self) -> SizeClass { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | pub fn is_linked(self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn set_empty(self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn is_empty(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub fn is_full(self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn data(self, index: usize) -> *mut u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn mark(self, index: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn is_marked(self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | pub fn next(self) -> PdRef<'space> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn prev(self) -> PdRef<'space> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub unsafe fn force_unlink(self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 497 | pub fn unlink(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn take_next_block(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn split(self, split: usize) -> Option<(Self, Option)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | fn pd(self) -> &'space PageDescriptor { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 568 | fn bitmap(self) -> &'space Bitmap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | fn bits_used(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | fn bytes_used(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PdList` is never constructed [INFO] [stdout] --> crates/lox-gc/src/heap.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 600 | struct PdList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `iter`, `first`, and `push` are never used [INFO] [stdout] --> crates/lox-gc/src/heap.rs:605:12 [INFO] [stdout] | [INFO] [stdout] 604 | impl PdList { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 605 | pub fn new(root: PdIdx) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 609 | pub fn iter<'space>(&self, space: &'space AddrSpace) -> impl Iterator> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn first<'space>(&self, space: &'space AddrSpace) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 636 | pub fn push(&self, item: PdRef) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn take_ream(&self, pages: u32) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | fn take_ream(&self, pages: u32) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | pub unsafe fn pd(&self, idx: PdIdx) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub unsafe fn pd(&self, idx: PdIdx) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | pub unsafe fn pd_at(&self, index: u32) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | pub unsafe fn pd_at(&self, index: u32) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | pub unsafe fn pd_of(&self, ptr: *const u8) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 254 | pub unsafe fn pd_of(&self, ptr: *const u8) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn pds(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 262 | pub fn pds(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/lox-gc/src/heap.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn new_ream(&self, count: u32) -> PdRef { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | pub fn new_ream(&self, count: u32) -> PdRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "5f168ba045e78ad2db1566fc325f972979602ceaf5b617c1c58b054e01ed35ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f168ba045e78ad2db1566fc325f972979602ceaf5b617c1c58b054e01ed35ad", kill_on_drop: false }` [INFO] [stdout] 5f168ba045e78ad2db1566fc325f972979602ceaf5b617c1c58b054e01ed35ad