[INFO] cloning repository https://github.com/JasperDavidson/loki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JasperDavidson/loki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperDavidson%2Floki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperDavidson%2Floki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca1c8702999ae8278c08a20ea6227ae77ae315c2 [INFO] checking JasperDavidson/loki against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperDavidson%2Floki" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JasperDavidson/loki [INFO] finished tweaking git repo https://github.com/JasperDavidson/loki [INFO] tweaked toml for git repo https://github.com/JasperDavidson/loki written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JasperDavidson/loki on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JasperDavidson/loki 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu-core-deps-windows-linux-android v28.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v28.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-apple v28.0.0 [INFO] [stderr] Downloaded wgpu v28.0.0 [INFO] [stderr] Downloaded priority-queue v2.7.0 [INFO] [stderr] Downloaded indexmap v2.12.1 [INFO] [stderr] Downloaded wgpu-types v28.0.0 [INFO] [stderr] Downloaded wgpu-hal v28.0.0 [INFO] [stderr] Downloaded wgpu-core v28.0.0 [INFO] [stderr] Downloaded naga v28.0.0 [INFO] [stderr] Downloaded metal v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4 [INFO] running `Command { std: "docker" "start" "ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling naga v28.0.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-hal v28.0.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Compiling wgpu-core v28.0.0 [INFO] [stderr] Compiling wgpu v28.0.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking priority-queue v2.7.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking wgpu-types v28.0.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v28.0.0 [INFO] [stderr] Checking loki v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs::metadata` [INFO] [stdout] --> src/allocator.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::metadata}; [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: `channel` [INFO] [stdout] --> src/backend.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | sync::mpsc::{RecvError, channel}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindGroupEntry` and `BufferUses` [INFO] [stdout] --> src/backend.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use wgpu::{BindGroupEntry, BufferBinding, BufferUses, PipelineLayoutDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayerBlockHandle` [INFO] [stdout] --> src/table.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | Allocator, AllocatorError, CacheBlockHandle, LayerBlockHandle, ModelMemory, PhysicalId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::metadata` [INFO] [stdout] --> src/allocator.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::metadata}; [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: `channel` [INFO] [stdout] --> src/backend.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | sync::mpsc::{RecvError, channel}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindGroupEntry` and `BufferUses` [INFO] [stdout] --> src/backend.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use wgpu::{BindGroupEntry, BufferBinding, BufferUses, PipelineLayoutDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayerBlockHandle` [INFO] [stdout] --> src/table.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | Allocator, AllocatorError, CacheBlockHandle, LayerBlockHandle, ModelMemory, PhysicalId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::naga::back` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use wgpu::naga::back; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/scheduler.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 164 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 165 | / if self.request_complete { [INFO] [stdout] 166 | | let mut complete_requests = Vec::new(); [INFO] [stdout] 167 | | for request in self.active_requests.iter() { [INFO] [stdout] ... | [INFO] [stdout] 172 | | self.evict_requests(complete_requests); [INFO] [stdout] 173 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_ids` [INFO] [stdout] --> src/scheduler.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | fn evict_requests(&mut self, request_ids: Vec) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_ids` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_model` [INFO] [stdout] --> src/scheduler.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let request_model = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evict_metadata` [INFO] [stdout] --> src/scheduler.rs:266:29 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(evict_metadata) = evictable_cache { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evict_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_model` [INFO] [stdout] --> src/scheduler.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let req_model = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_buffer_offset` [INFO] [stdout] --> src/scheduler.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let uniform_buffer_offset = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_buffer_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/scheduler.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | for request in self.active_requests.iter() {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swap_in` [INFO] [stdout] --> src/table.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | swap_in: &K, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_swap_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhysicalId` is never constructed [INFO] [stdout] --> src/allocator.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PhysicalId(pub u64); [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 `CacheBlockHandle` is never constructed [INFO] [stdout] --> src/allocator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CacheBlockHandle(pub u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/scheduler.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 164 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 165 | / if self.request_complete { [INFO] [stdout] 166 | | let mut complete_requests = Vec::new(); [INFO] [stdout] 167 | | for request in self.active_requests.iter() { [INFO] [stdout] ... | [INFO] [stdout] 172 | | self.evict_requests(complete_requests); [INFO] [stdout] 173 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerBlockHandle` is never constructed [INFO] [stdout] --> src/allocator.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LayerBlockHandle(pub u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerStreamer` is never constructed [INFO] [stdout] --> src/allocator.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct LayerStreamer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_next` is never used [INFO] [stdout] --> src/allocator.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LayerStreamer { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 28 | fn fetch_next(&mut self) -> PhysicalId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelMemory` is never constructed [INFO] [stdout] --> src/allocator.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ModelMemory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AllocatorError` is never used [INFO] [stdout] --> src/allocator.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum AllocatorError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocator` is never constructed [INFO] [stdout] --> src/allocator.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Allocator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `alloc_cache`, `try_cache_alloc_phys`, `fetch_layer_phys`, `free_cache`, and `cache_mem_remaining` are never used [INFO] [stdout] --> src/allocator.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Allocator { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn alloc_cache(&mut self) -> CacheBlockHandle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn try_cache_alloc_phys(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn fetch_layer_phys(&mut self, model_id: &ModelID) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn free_cache(&mut self, phys_id: PhysicalId) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn cache_mem_remaining(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GpuComputeContext` is never constructed [INFO] [stdout] --> src/backend.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct GpuComputeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KernelContext` is never constructed [INFO] [stdout] --> src/backend.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct KernelContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UniformBuffer` is never used [INFO] [stdout] --> src/backend.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait UniformBuffer: bytemuck::Pod + bytemuck::Zeroable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl BinaryOpUniformBuffer { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KernelType` is never used [INFO] [stdout] --> src/backend.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum KernelType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DispatchDescription` is never constructed [INFO] [stdout] --> src/backend.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DispatchDescription { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl DispatchDescription { [INFO] [stdout] | --------------------------------------------- associated function in this implementation [INFO] [stdout] 88 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BackendError` is never used [INFO] [stdout] --> src/backend.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum BackendError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BackendHandler` is never constructed [INFO] [stdout] --> src/backend.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct BackendHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/backend.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 131 | impl BackendHandler { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 132 | pub async fn new(mem_size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn process_descriptions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn write_slab_mem( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn write_uniform_mem(&self, uniform_buffer_data: T, offset: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn create_bind_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn commit_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn fetch_result( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelID` is never constructed [INFO] [stdout] --> src/scheduler.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ModelID(pub u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelMetadata` is never constructed [INFO] [stdout] --> src/scheduler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ModelMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/scheduler.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestID` is never constructed [INFO] [stdout] --> src/scheduler.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct RequestID(u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestMetadata` is never constructed [INFO] [stdout] --> src/scheduler.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RequestMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncomingRequest` is never constructed [INFO] [stdout] --> src/scheduler.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct IncomingRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_priority_boost` is never used [INFO] [stdout] --> src/scheduler.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl RequestMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 59 | pub fn check_priority_boost(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/scheduler.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` is never constructed [INFO] [stdout] --> src/scheduler.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Registry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemInfo` is never constructed [INFO] [stdout] --> src/scheduler.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct SystemInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> src/scheduler.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SchedulerError` is never used [INFO] [stdout] --> src/scheduler.rs:105:6 [INFO] [stdout] | [INFO] [stdout] 105 | enum SchedulerError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/scheduler.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Scheduler { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn enqueue_request(&mut self, incoming_request: IncomingRequest) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn step(&mut self) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn evict_finished_requests(&mut self) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn evict_requests(&mut self, request_ids: Vec) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn find_evictable_cache( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn schedule_pending_requests( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | fn allocate_resources( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | fn step_active_requests(&mut self) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | fn handle_unfulfilled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evictable` is never used [INFO] [stdout] --> src/table.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait Evictable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Swappable` is never used [INFO] [stdout] --> src/table.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait Swappable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheBlock` is never constructed [INFO] [stdout] --> src/table.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CacheBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerBlock` is never constructed [INFO] [stdout] --> src/table.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct LayerBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap_block` is never used [INFO] [stdout] --> src/table.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn swap_block( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clock_sweep` is never used [INFO] [stdout] --> src/table.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn clock_sweep( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryAddr` is never constructed [INFO] [stdout] --> src/table.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct MemoryAddr(pub u64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_gpu_index` is never used [INFO] [stdout] --> src/table.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl MemoryAddr { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 143 | pub fn to_gpu_index(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LayerActivationStatus` is never used [INFO] [stdout] --> src/table.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum LayerActivationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableError` is never used [INFO] [stdout] --> src/table.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum TableError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/table.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register_cache_block`, `activate_next_layer`, `activate_cache_block`, and `activate_cache_blocks` are never used [INFO] [stdout] --> src/table.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 197 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn register_cache_block(&mut self, cache_handle: CacheBlockHandle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn activate_next_layer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn activate_cache_block( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn activate_cache_blocks( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/scheduler.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | self.evict_requests(complete_requests); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 172 | let _ = self.evict_requests(complete_requests); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_ids` [INFO] [stdout] --> src/scheduler.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | fn evict_requests(&mut self, request_ids: Vec) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_ids` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_model` [INFO] [stdout] --> src/scheduler.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let request_model = self [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evict_metadata` [INFO] [stdout] --> src/scheduler.rs:266:29 [INFO] [stdout] | [INFO] [stdout] 266 | if let Some(evict_metadata) = evictable_cache { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evict_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_model` [INFO] [stdout] --> src/scheduler.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let req_model = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_buffer_offset` [INFO] [stdout] --> src/scheduler.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let uniform_buffer_offset = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_buffer_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/scheduler.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | for request in self.active_requests.iter() {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swap_in` [INFO] [stdout] --> src/table.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | swap_in: &K, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_swap_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerBlockHandle` is never constructed [INFO] [stdout] --> src/allocator.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LayerBlockHandle(pub u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur_id` and `layers` are never read [INFO] [stdout] --> src/allocator.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct LayerStreamer { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 23 | cur_id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | layers: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_next` is never used [INFO] [stdout] --> src/allocator.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LayerStreamer { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 28 | fn fetch_next(&mut self) -> PhysicalId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `streaming_ids`, `scratchpad_id`, and `output_id` are never read [INFO] [stdout] --> src/allocator.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ModelMemory { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | pub streaming_ids: (PhysicalId, PhysicalId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub scratchpad_id: PhysicalId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub output_id: PhysicalId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidModel` is never constructed [INFO] [stdout] --> src/allocator.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum AllocatorError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | InvalidModel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllocatorError` 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 `total_mem`, `layer_free`, `model_to_phys`, `cache_block_size`, and `layer_mem_total` are never read [INFO] [stdout] --> src/allocator.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Allocator { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 56 | total_mem: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | layer_free: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | model_to_phys: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | cache_free: Vec, [INFO] [stdout] 60 | cache_block_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | layer_mem_total: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_layer_phys` and `cache_mem_remaining` are never used [INFO] [stdout] --> src/allocator.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Allocator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn fetch_layer_phys(&mut self, model_id: &ModelID) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn cache_mem_remaining(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache_addresses` is never read [INFO] [stdout] --> src/backend.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DispatchDescription { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | cache_addresses: Option>, // Optional cache addresses if kernel requires [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/scheduler.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestID` is never constructed [INFO] [stdout] --> src/scheduler.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct RequestID(u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestMetadata` is never constructed [INFO] [stdout] --> src/scheduler.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RequestMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncomingRequest` is never constructed [INFO] [stdout] --> src/scheduler.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct IncomingRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_priority_boost` is never used [INFO] [stdout] --> src/scheduler.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl RequestMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 59 | pub fn check_priority_boost(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/scheduler.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registry` is never constructed [INFO] [stdout] --> src/scheduler.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Registry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemInfo` is never constructed [INFO] [stdout] --> src/scheduler.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct SystemInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> src/scheduler.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SchedulerError` is never used [INFO] [stdout] --> src/scheduler.rs:105:6 [INFO] [stdout] | [INFO] [stdout] 105 | enum SchedulerError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/scheduler.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Scheduler { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn enqueue_request(&mut self, incoming_request: IncomingRequest) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn step(&mut self) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn evict_finished_requests(&mut self) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn evict_requests(&mut self, request_ids: Vec) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn find_evictable_cache( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn schedule_pending_requests( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | fn allocate_resources( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | fn step_active_requests(&mut self) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | fn handle_unfulfilled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerBlock` is never constructed [INFO] [stdout] --> src/table.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct LayerBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LayerActivationStatus` is never used [INFO] [stdout] --> src/table.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum LayerActivationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OutOfLayerMemory`, `OutOfCacheMemory`, and `InvalidModelID` are never constructed [INFO] [stdout] --> src/table.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum TableError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 164 | #[error("Ran out of layer memory to allocate pages to")] [INFO] [stdout] 165 | OutOfLayerMemory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | #[error("Ran out of cache memory to allocate pages to")] [INFO] [stdout] 167 | OutOfCacheMemory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | InvalidModelID, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableError` 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 `phys_to_mem` is never read [INFO] [stdout] --> src/table.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 186 | phys_to_mem: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `activate_next_layer`, and `activate_cache_blocks` are never used [INFO] [stdout] --> src/table.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 197 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn activate_next_layer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn activate_cache_blocks( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/scheduler.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | self.evict_requests(complete_requests); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 172 | let _ = self.evict_requests(complete_requests); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: naga v28.0.0, wgpu v28.0.0, wgpu-core v28.0.0, wgpu-hal v28.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4", kill_on_drop: false }` [INFO] [stdout] ffb12edf33e3ac35d4459549f75513326795abbd08d6ca8dcc3c34de4cca73e4