[INFO] cloning repository https://github.com/MonkeyIsNull/TinyTotVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MonkeyIsNull/TinyTotVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonkeyIsNull%2FTinyTotVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonkeyIsNull%2FTinyTotVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23bae66dc49afbde6eb688980156588bd53b26dc [INFO] checking MonkeyIsNull/TinyTotVM against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonkeyIsNull%2FTinyTotVM" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MonkeyIsNull/TinyTotVM [INFO] finished tweaking git repo https://github.com/MonkeyIsNull/TinyTotVM [INFO] tweaked toml for git repo https://github.com/MonkeyIsNull/TinyTotVM written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MonkeyIsNull/TinyTotVM on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MonkeyIsNull/TinyTotVM 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tabled_derive v0.7.0 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded papergrid v0.11.0 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded comfy-table v7.1.4 [INFO] [stderr] Downloaded tabled v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab85b5ed80f0927e4b9518da5d04b7f65af8e5e178eaf1f3c216a0dd92ab1f8f [INFO] running `Command { std: "docker" "start" "-a" "ab85b5ed80f0927e4b9518da5d04b7f65af8e5e178eaf1f3c216a0dd92ab1f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab85b5ed80f0927e4b9518da5d04b7f65af8e5e178eaf1f3c216a0dd92ab1f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab85b5ed80f0927e4b9518da5d04b7f65af8e5e178eaf1f3c216a0dd92ab1f8f", kill_on_drop: false }` [INFO] [stdout] ab85b5ed80f0927e4b9518da5d04b7f65af8e5e178eaf1f3c216a0dd92ab1f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5049fd71472a30d089d9d26f7acb614d7aaec0e0eb7594b460aaf2b038d3af18 [INFO] running `Command { std: "docker" "start" "-a" "5049fd71472a30d089d9d26f7acb614d7aaec0e0eb7594b460aaf2b038d3af18", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking comfy-table v7.1.4 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Checking tiny_tot_vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [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::collections::HashMap` [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `instruction_count` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | let mut instruction_count = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `memory_peak` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let mut memory_peak = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `instruction_count` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | let mut instruction_count = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `memory_peak` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | let mut memory_peak = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/concurrency/pool.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | if LAST_DEBUG.is_none() || now.duration_since(LAST_DEBUG.unwrap()) > Duration::from_secs(2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `instruction_count` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | let mut instruction_count = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `memory_peak` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let mut memory_peak = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `instruction_count` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:162:37 [INFO] [stdout] | [INFO] [stdout] 162 | let mut instruction_count = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `memory_peak` is never read [INFO] [stdout] --> src/benchmarks/performance_comparison.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | let mut memory_peak = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/concurrency/pool.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | if LAST_DEBUG.is_none() || now.duration_since(LAST_DEBUG.unwrap()) > Duration::from_secs(2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/ir_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [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: `Duration` [INFO] [stdout] --> src/cli/commands.rs:1078:21 [INFO] [stdout] | [INFO] [stdout] 1078 | use std::time::{Duration, Instant}; [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: `Duration` [INFO] [stdout] --> src/cli/commands.rs:1078:21 [INFO] [stdout] | [INFO] [stdout] 1078 | use std::time::{Duration, Instant}; [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 variable: `args` [INFO] [stdout] --> src/cli/commands.rs:1077:32 [INFO] [stdout] | [INFO] [stdout] 1077 | fn demo_performance_comparison(args: &CliArgs) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StackOps` is never used [INFO] [stdout] --> src/vm/stack.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait StackOps { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_stack_items` is never used [INFO] [stdout] --> src/vm/stack.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn check_stack_items(available: usize, needed: usize, _operation: &str) -> VMResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/vm/stack.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SafeStackOps<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 35 | pub stack: &'a mut Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VariableFrame` is never used [INFO] [stdout] --> src/vm/memory.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait VariableFrame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/vm/memory.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct VariableManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 24 | pub variables: Vec>, // call frame stack [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alloc` is never used [INFO] [stdout] --> src/gc/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait GcEngine: std::fmt::Debug + Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 9 | fn alloc(&mut self, value: Value) -> GcRef; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/gc/mark_sweep.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MarkSweepGc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | objects: HashMap, // id -> (value, marked) [INFO] [stdout] 9 | next_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarkSweepGc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/gc/no_gc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NoGc { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | next_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoGc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gc/stats.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GcRef { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderedMessage` is never constructed [INFO] [stdout] --> src/concurrency/messages.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OrderedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pid` and `start_time` are never read [INFO] [stdout] --> src/concurrency/registry.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ProcessInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub pid: ProcId, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | pub start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `running` is never read [INFO] [stdout] --> src/concurrency/scheduler.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Scheduler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub running: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scheduler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RunnableProcess` is never used [INFO] [stdout] --> src/concurrency/process.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait RunnableProcess: Send + Sync + std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/concurrency/process.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TinyProc { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub variables: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | pub try_stack: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub lambda_captures: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub max_stack_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 79 | pub instruction_count: usize, [INFO] [stdout] 80 | pub debug_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 81 | pub breakpoints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 82 | pub gc_engine: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 83 | pub _gc_stats_enabled: bool, [INFO] [stdout] 84 | pub profiler: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TinyProc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shutdown` and `child_type` are never read [INFO] [stdout] --> src/concurrency/supervisor.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ChildSpec { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub shutdown: Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub child_type: ChildType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildSpec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `strategy` is never read [INFO] [stdout] --> src/concurrency/supervisor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SupervisorSpec { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 47 | pub strategy: RestartStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SupervisorSpec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pid`, `spec`, `restart_count`, and `last_restart` are never read [INFO] [stdout] --> src/concurrency/supervisor.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ChildState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 55 | pub pid: ProcId, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | pub spec: ChildSpec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | pub restart_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub last_restart: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/ir/mod.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct RegBlock { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 197 | pub variables: HashMap, // Variable name to register mapping [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/concurrency/pool.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | if LAST_DEBUG.is_none() || now.duration_since(LAST_DEBUG.unwrap()) > Duration::from_secs(2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/commands.rs:1077:32 [INFO] [stdout] | [INFO] [stdout] 1077 | fn demo_performance_comparison(args: &CliArgs) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StackOps` is never used [INFO] [stdout] --> src/vm/stack.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait StackOps { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_stack_items` is never used [INFO] [stdout] --> src/vm/stack.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn check_stack_items(available: usize, needed: usize, _operation: &str) -> VMResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/vm/stack.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SafeStackOps<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 35 | pub stack: &'a mut Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VariableFrame` is never used [INFO] [stdout] --> src/vm/memory.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait VariableFrame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/vm/memory.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct VariableManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 24 | pub variables: Vec>, // call frame stack [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alloc` is never used [INFO] [stdout] --> src/gc/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait GcEngine: std::fmt::Debug + Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 9 | fn alloc(&mut self, value: Value) -> GcRef; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/gc/mark_sweep.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MarkSweepGc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | objects: HashMap, // id -> (value, marked) [INFO] [stdout] 9 | next_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarkSweepGc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/gc/no_gc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NoGc { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | next_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoGc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gc/stats.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GcRef { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderedMessage` is never constructed [INFO] [stdout] --> src/concurrency/messages.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OrderedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pid` and `start_time` are never read [INFO] [stdout] --> src/concurrency/registry.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ProcessInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub pid: ProcId, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | pub start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `running` is never read [INFO] [stdout] --> src/concurrency/scheduler.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Scheduler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub running: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scheduler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RunnableProcess` is never used [INFO] [stdout] --> src/concurrency/process.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait RunnableProcess: Send + Sync + std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/concurrency/process.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TinyProc { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub variables: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | pub try_stack: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub lambda_captures: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub max_stack_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 79 | pub instruction_count: usize, [INFO] [stdout] 80 | pub debug_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 81 | pub breakpoints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 82 | pub gc_engine: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 83 | pub _gc_stats_enabled: bool, [INFO] [stdout] 84 | pub profiler: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TinyProc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shutdown` and `child_type` are never read [INFO] [stdout] --> src/concurrency/supervisor.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ChildSpec { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub shutdown: Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub child_type: ChildType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildSpec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `strategy` is never read [INFO] [stdout] --> src/concurrency/supervisor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SupervisorSpec { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 47 | pub strategy: RestartStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SupervisorSpec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pid`, `spec`, `restart_count`, and `last_restart` are never read [INFO] [stdout] --> src/concurrency/supervisor.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ChildState { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 55 | pub pid: ProcId, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | pub spec: ChildSpec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | pub restart_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub last_restart: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/ir/mod.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct RegBlock { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 197 | pub variables: HashMap, // Variable name to register mapping [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/concurrency/pool.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | if LAST_DEBUG.is_none() || now.duration_since(LAST_DEBUG.unwrap()) > Duration::from_secs(2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.64s [INFO] running `Command { std: "docker" "inspect" "5049fd71472a30d089d9d26f7acb614d7aaec0e0eb7594b460aaf2b038d3af18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5049fd71472a30d089d9d26f7acb614d7aaec0e0eb7594b460aaf2b038d3af18", kill_on_drop: false }` [INFO] [stdout] 5049fd71472a30d089d9d26f7acb614d7aaec0e0eb7594b460aaf2b038d3af18