[INFO] fetching crate rfann 0.1.0... [INFO] testing rfann-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rfann 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rfann 0.1.0 [INFO] finished tweaking crates.io crate rfann 0.1.0 [INFO] tweaked toml for crates.io crate rfann 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rfann 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rfann 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6e8fce1118e28cba2943cbaa390a60082a7f3c24c8e8c880c8b853a5ab4af27 [INFO] running `Command { std: "docker" "start" "-a" "e6e8fce1118e28cba2943cbaa390a60082a7f3c24c8e8c880c8b853a5ab4af27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6e8fce1118e28cba2943cbaa390a60082a7f3c24c8e8c880c8b853a5ab4af27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e8fce1118e28cba2943cbaa390a60082a7f3c24c8e8c880c8b853a5ab4af27", kill_on_drop: false }` [INFO] [stdout] e6e8fce1118e28cba2943cbaa390a60082a7f3c24c8e8c880c8b853a5ab4af27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d79d86e41bd2a744c17ac834d120f1058ddf5cb8f39ed3afdfb9f7f309792f2 [INFO] running `Command { std: "docker" "start" "-a" "8d79d86e41bd2a744c17ac834d120f1058ddf5cb8f39ed3afdfb9f7f309792f2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rfann v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::pressure_monitor::MonitoringStatistics` [INFO] [stdout] --> src/webgpu/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::pressure_monitor::MonitoringStatistics; [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: `layer` [INFO] [stdout] --> src/webgpu/compute_context.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | layer: &Layer, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weights` [INFO] [stdout] --> src/webgpu/compute_context.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | weights: &[T], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/webgpu/compute_context.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | inputs: &[T], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/webgpu/compute_context.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | dims: MatrixDims, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComputeBackend` [INFO] [stdout] --> src/webgpu/compute_context.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | backend::{BackendSelector, BackendType, ComputeBackend}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/webgpu/memory.rs:739:35 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn allocate_buffer(&self, size: usize) -> ComputeResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/webgpu/memory.rs:809:37 [INFO] [stdout] | [INFO] [stdout] 809 | pub fn deallocate_buffer(&self, handle: BufferHandle) -> ComputeResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `compact` and `fast` are never used [INFO] [stdout] --> src/io/binary.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl BinaryConfig { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn compact() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn fast() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `read`, and `read_with_limit` are never used [INFO] [stdout] --> src/io/binary.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl BinaryReader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 80 | /// Create a new binary reader with default config [INFO] [stdout] 81 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn read_with_limit(&self, reader: &mut R, limit: u64) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `write`, and `serialized_size` are never used [INFO] [stdout] --> src/io/binary.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl BinaryWriter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 135 | /// Create a new binary writer with default config [INFO] [stdout] 136 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn serialized_size(&self, data: &T) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `fast`, `best`, and `with_level` are never used [INFO] [stdout] --> src/io/compression.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl CompressionConfig { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn fast() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn best() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn with_level(level: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ref`, `get_mut`, and `into_inner` are never used [INFO] [stdout] --> src/io/compression.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl CompressedReader { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 105 | /// Create a new compressed reader [INFO] [stdout] 106 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_ref(&self) -> &GzDecoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_mut(&mut self) -> &mut GzDecoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn into_inner(self) -> GzDecoder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_level`, `with_config`, `finish`, `get_ref`, and `get_mut` are never used [INFO] [stdout] --> src/io/compression.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl CompressedWriter { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 141 | /// Create a new compressed writer with default compression [INFO] [stdout] 142 | pub fn new(writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn with_level(writer: W, level: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_config(writer: W, config: CompressionConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn finish(self) -> std::io::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_ref(&self) -> &W { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_mut(&mut self) -> &mut W { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `compact` and `pretty` are never used [INFO] [stdout] --> src/io/json.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl JsonConfig { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn compact() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn pretty() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, and `read` are never used [INFO] [stdout] --> src/io/json.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl JsonReader { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 117 | /// Create a new JSON reader with default config [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, and `write` are never used [INFO] [stdout] --> src/io/json.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl JsonWriter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 152 | /// Create a new JSON writer with default config [INFO] [stdout] 153 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_buffer_size`, `read_stream`, and `read_batches` are never used [INFO] [stdout] --> src/io/streaming.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TrainingDataStreamReader { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 13 | /// Create a new streaming reader with default buffer size [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_buffer_size(buffer_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn read_stream(&self, reader: &mut R, callback: F) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn read_batches( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avg_bytes_per_sample` and `parameters_per_sample` are never used [INFO] [stdout] --> src/io/streaming.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl StreamStats { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 217 | /// Calculate average bytes per sample [INFO] [stdout] 218 | pub fn avg_bytes_per_sample(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn parameters_per_sample(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `buffer_size`, and `buffer_len` are never used [INFO] [stdout] --> src/io/streaming.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 239 | impl BufferedStreamReader { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 240 | /// Create a new buffered stream reader [INFO] [stdout] 241 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn with_capacity(reader: R, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn buffer_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn buffer_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fallback_chain` is never read [INFO] [stdout] --> src/webgpu/backend.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct BackendSelector [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | fallback_chain: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendSelector` 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 `timestamp`, `event_type`, `backend_from`, `backend_to`, and `performance_gain` are never read [INFO] [stdout] --> src/webgpu/compute_context.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct OptimizationEvent { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 74 | timestamp: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | backend_from: BackendType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | backend_to: BackendType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | performance_gain: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationEvent` 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 `last_optimization` is never read [INFO] [stdout] --> src/webgpu/buffer_pool.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct BufferTierPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 305 | last_optimization: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferTierPool` 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 `optimization_thread_handle` is never read [INFO] [stdout] --> src/webgpu/buffer_pool.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct AdvancedBufferPool { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 328 | optimization_thread_handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvancedBufferPool` 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 `max_execution_time_variance` is never read [INFO] [stdout] --> src/webgpu/performance_monitor.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct AlertThresholds { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | max_execution_time_variance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertThresholds` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.26s [INFO] running `Command { std: "docker" "inspect" "8d79d86e41bd2a744c17ac834d120f1058ddf5cb8f39ed3afdfb9f7f309792f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d79d86e41bd2a744c17ac834d120f1058ddf5cb8f39ed3afdfb9f7f309792f2", kill_on_drop: false }` [INFO] [stdout] 8d79d86e41bd2a744c17ac834d120f1058ddf5cb8f39ed3afdfb9f7f309792f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a079c115caa12c12d2ffc6f9f0ec2683975e23a989b204db842a6a1d0d4f7fc [INFO] running `Command { std: "docker" "start" "-a" "5a079c115caa12c12d2ffc6f9f0ec2683975e23a989b204db842a6a1d0d4f7fc", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rfann v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::pressure_monitor::MonitoringStatistics` [INFO] [stdout] --> src/webgpu/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::pressure_monitor::MonitoringStatistics; [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: `layer` [INFO] [stdout] --> src/webgpu/compute_context.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | layer: &Layer, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weights` [INFO] [stdout] --> src/webgpu/compute_context.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | weights: &[T], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/webgpu/compute_context.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | inputs: &[T], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/webgpu/compute_context.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | dims: MatrixDims, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stdout] warning: unused import: `ComputeBackend` [INFO] [stdout] --> src/webgpu/compute_context.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | backend::{BackendSelector, BackendType, ComputeBackend}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/webgpu/memory.rs:739:35 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn allocate_buffer(&self, size: usize) -> ComputeResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/webgpu/memory.rs:809:37 [INFO] [stdout] | [INFO] [stdout] 809 | pub fn deallocate_buffer(&self, handle: BufferHandle) -> ComputeResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `compact` and `fast` are never used [INFO] [stdout] --> src/io/binary.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl BinaryConfig { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn compact() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn fast() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `read`, and `read_with_limit` are never used [INFO] [stdout] --> src/io/binary.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl BinaryReader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 80 | /// Create a new binary reader with default config [INFO] [stdout] 81 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn read_with_limit(&self, reader: &mut R, limit: u64) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `write`, and `serialized_size` are never used [INFO] [stdout] --> src/io/binary.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl BinaryWriter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 135 | /// Create a new binary writer with default config [INFO] [stdout] 136 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn serialized_size(&self, data: &T) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `fast`, `best`, and `with_level` are never used [INFO] [stdout] --> src/io/compression.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl CompressionConfig { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn fast() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn best() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn with_level(level: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ref`, `get_mut`, and `into_inner` are never used [INFO] [stdout] --> src/io/compression.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl CompressedReader { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 105 | /// Create a new compressed reader [INFO] [stdout] 106 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_ref(&self) -> &GzDecoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_mut(&mut self) -> &mut GzDecoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn into_inner(self) -> GzDecoder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_level`, `with_config`, `finish`, `get_ref`, and `get_mut` are never used [INFO] [stdout] --> src/io/compression.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl CompressedWriter { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 141 | /// Create a new compressed writer with default compression [INFO] [stdout] 142 | pub fn new(writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn with_level(writer: W, level: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_config(writer: W, config: CompressionConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn finish(self) -> std::io::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_ref(&self) -> &W { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_mut(&mut self) -> &mut W { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `compact` and `pretty` are never used [INFO] [stdout] --> src/io/json.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl JsonConfig { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn compact() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn pretty() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, and `read` are never used [INFO] [stdout] --> src/io/json.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl JsonReader { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 117 | /// Create a new JSON reader with default config [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, and `write` are never used [INFO] [stdout] --> src/io/json.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl JsonWriter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 152 | /// Create a new JSON writer with default config [INFO] [stdout] 153 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_buffer_size`, `read_stream`, and `read_batches` are never used [INFO] [stdout] --> src/io/streaming.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TrainingDataStreamReader { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 13 | /// Create a new streaming reader with default buffer size [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_buffer_size(buffer_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn read_stream(&self, reader: &mut R, callback: F) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn read_batches( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avg_bytes_per_sample` and `parameters_per_sample` are never used [INFO] [stdout] --> src/io/streaming.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl StreamStats { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 217 | /// Calculate average bytes per sample [INFO] [stdout] 218 | pub fn avg_bytes_per_sample(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn parameters_per_sample(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `buffer_size`, and `buffer_len` are never used [INFO] [stdout] --> src/io/streaming.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 239 | impl BufferedStreamReader { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 240 | /// Create a new buffered stream reader [INFO] [stdout] 241 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn with_capacity(reader: R, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn buffer_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn buffer_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fallback_chain` is never read [INFO] [stdout] --> src/webgpu/backend.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct BackendSelector [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | fallback_chain: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendSelector` 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 `timestamp`, `event_type`, `backend_from`, `backend_to`, and `performance_gain` are never read [INFO] [stdout] --> src/webgpu/compute_context.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct OptimizationEvent { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 74 | timestamp: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | backend_from: BackendType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | backend_to: BackendType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | performance_gain: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationEvent` 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 `last_optimization` is never read [INFO] [stdout] --> src/webgpu/buffer_pool.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct BufferTierPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 305 | last_optimization: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferTierPool` 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 `optimization_thread_handle` is never read [INFO] [stdout] --> src/webgpu/buffer_pool.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct AdvancedBufferPool { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 328 | optimization_thread_handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvancedBufferPool` 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 `max_execution_time_variance` is never read [INFO] [stdout] --> src/webgpu/performance_monitor.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct AlertThresholds { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | max_execution_time_variance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertThresholds` 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: unused import: `super::pressure_monitor::MonitoringStatistics` [INFO] [stdout] --> src/webgpu/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::pressure_monitor::MonitoringStatistics; [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: `layer` [INFO] [stdout] --> src/webgpu/compute_context.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | layer: &Layer, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weights` [INFO] [stdout] --> src/webgpu/compute_context.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | weights: &[T], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/webgpu/compute_context.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | inputs: &[T], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/webgpu/compute_context.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | dims: MatrixDims, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComputeBackend` [INFO] [stdout] --> src/webgpu/compute_context.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | backend::{BackendSelector, BackendType, ComputeBackend}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/webgpu/memory.rs:739:35 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn allocate_buffer(&self, size: usize) -> ComputeResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/webgpu/memory.rs:809:37 [INFO] [stdout] | [INFO] [stdout] 809 | pub fn deallocate_buffer(&self, handle: BufferHandle) -> ComputeResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `compact` and `fast` are never used [INFO] [stdout] --> src/io/binary.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl BinaryConfig { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn compact() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn fast() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `read`, and `read_with_limit` are never used [INFO] [stdout] --> src/io/binary.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl BinaryReader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 80 | /// Create a new binary reader with default config [INFO] [stdout] 81 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn read_with_limit(&self, reader: &mut R, limit: u64) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, `write`, and `serialized_size` are never used [INFO] [stdout] --> src/io/binary.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl BinaryWriter { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 135 | /// Create a new binary writer with default config [INFO] [stdout] 136 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn serialized_size(&self, data: &T) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `fast`, `best`, and `with_level` are never used [INFO] [stdout] --> src/io/compression.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl CompressionConfig { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn fast() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn best() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn with_level(level: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ref`, `get_mut`, and `into_inner` are never used [INFO] [stdout] --> src/io/compression.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl CompressedReader { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 105 | /// Create a new compressed reader [INFO] [stdout] 106 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_ref(&self) -> &GzDecoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_mut(&mut self) -> &mut GzDecoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn into_inner(self) -> GzDecoder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_level`, `with_config`, `finish`, `get_ref`, and `get_mut` are never used [INFO] [stdout] --> src/io/compression.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl CompressedWriter { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 141 | /// Create a new compressed writer with default compression [INFO] [stdout] 142 | pub fn new(writer: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn with_level(writer: W, level: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_config(writer: W, config: CompressionConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn finish(self) -> std::io::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_ref(&self) -> &W { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_mut(&mut self) -> &mut W { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `compact` and `pretty` are never used [INFO] [stdout] --> src/io/json.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl JsonConfig { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn compact() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn pretty() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, and `read` are never used [INFO] [stdout] --> src/io/json.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl JsonReader { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 117 | /// Create a new JSON reader with default config [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_config`, and `write` are never used [INFO] [stdout] --> src/io/json.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl JsonWriter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 152 | /// Create a new JSON writer with default config [INFO] [stdout] 153 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_buffer_size`, `read_stream`, and `read_batches` are never used [INFO] [stdout] --> src/io/streaming.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TrainingDataStreamReader { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 13 | /// Create a new streaming reader with default buffer size [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_buffer_size(buffer_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn read_stream(&self, reader: &mut R, callback: F) -> IoResult [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn read_batches( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avg_bytes_per_sample` and `parameters_per_sample` are never used [INFO] [stdout] --> src/io/streaming.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl StreamStats { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 217 | /// Calculate average bytes per sample [INFO] [stdout] 218 | pub fn avg_bytes_per_sample(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn parameters_per_sample(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `buffer_size`, and `buffer_len` are never used [INFO] [stdout] --> src/io/streaming.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 239 | impl BufferedStreamReader { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 240 | /// Create a new buffered stream reader [INFO] [stdout] 241 | pub fn new(reader: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn with_capacity(reader: R, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn buffer_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn buffer_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fallback_chain` is never read [INFO] [stdout] --> src/webgpu/backend.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct BackendSelector [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | fallback_chain: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendSelector` 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 `timestamp`, `event_type`, `backend_from`, `backend_to`, and `performance_gain` are never read [INFO] [stdout] --> src/webgpu/compute_context.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct OptimizationEvent { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 74 | timestamp: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | backend_from: BackendType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | backend_to: BackendType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | performance_gain: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationEvent` 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 `last_optimization` is never read [INFO] [stdout] --> src/webgpu/buffer_pool.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct BufferTierPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 305 | last_optimization: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferTierPool` 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 `optimization_thread_handle` is never read [INFO] [stdout] --> src/webgpu/buffer_pool.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct AdvancedBufferPool { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 328 | optimization_thread_handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvancedBufferPool` 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 `max_execution_time_variance` is never read [INFO] [stdout] --> src/webgpu/performance_monitor.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct AlertThresholds { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | max_execution_time_variance: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertThresholds` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.63s [INFO] running `Command { std: "docker" "inspect" "5a079c115caa12c12d2ffc6f9f0ec2683975e23a989b204db842a6a1d0d4f7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a079c115caa12c12d2ffc6f9f0ec2683975e23a989b204db842a6a1d0d4f7fc", kill_on_drop: false }` [INFO] [stdout] 5a079c115caa12c12d2ffc6f9f0ec2683975e23a989b204db842a6a1d0d4f7fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d8f39bba8e112484f007e18fc5ee8446e9cd4e57224aa57356518c87a4b7cfaf [INFO] running `Command { std: "docker" "start" "-a" "d8f39bba8e112484f007e18fc5ee8446e9cd4e57224aa57356518c87a4b7cfaf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::pressure_monitor::MonitoringStatistics` [INFO] [stderr] --> src/webgpu/memory.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use super::pressure_monitor::MonitoringStatistics; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `layer` [INFO] [stderr] --> src/webgpu/compute_context.rs:318:9 [INFO] [stderr] | [INFO] [stderr] 318 | layer: &Layer, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `weights` [INFO] [stderr] --> src/webgpu/compute_context.rs:319:9 [INFO] [stderr] | [INFO] [stderr] 319 | weights: &[T], [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inputs` [INFO] [stderr] --> src/webgpu/compute_context.rs:320:9 [INFO] [stderr] | [INFO] [stderr] 320 | inputs: &[T], [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dims` [INFO] [stderr] --> src/webgpu/compute_context.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | dims: MatrixDims, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stderr] [INFO] [stderr] warning: unused import: `ComputeBackend` [INFO] [stderr] --> src/webgpu/compute_context.rs:11:45 [INFO] [stderr] | [INFO] [stderr] 11 | backend::{BackendSelector, BackendType, ComputeBackend}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/webgpu/memory.rs:739:35 [INFO] [stderr] | [INFO] [stderr] 739 | pub fn allocate_buffer(&self, size: usize) -> ComputeResult { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handle` [INFO] [stderr] --> src/webgpu/memory.rs:809:37 [INFO] [stderr] | [INFO] [stderr] 809 | pub fn deallocate_buffer(&self, handle: BufferHandle) -> ComputeResult<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stderr] [INFO] [stderr] warning: associated functions `compact` and `fast` are never used [INFO] [stderr] --> src/io/binary.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl BinaryConfig { [INFO] [stderr] | ----------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn compact() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn fast() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_config`, `read`, and `read_with_limit` are never used [INFO] [stderr] --> src/io/binary.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 79 | impl BinaryReader { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 80 | /// Create a new binary reader with default config [INFO] [stderr] 81 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn read_with_limit(&self, reader: &mut R, limit: u64) -> IoResult [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_config`, `write`, and `serialized_size` are never used [INFO] [stderr] --> src/io/binary.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 134 | impl BinaryWriter { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 135 | /// Create a new binary writer with default config [INFO] [stderr] 136 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | pub fn with_config(config: BinaryConfig) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn serialized_size(&self, data: &T) -> IoResult [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `fast`, `best`, and `with_level` are never used [INFO] [stderr] --> src/io/compression.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 58 | impl CompressionConfig { [INFO] [stderr] | ---------------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn fast() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn best() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn with_level(level: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_ref`, `get_mut`, and `into_inner` are never used [INFO] [stderr] --> src/io/compression.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 104 | impl CompressedReader { [INFO] [stderr] | --------------------------------- associated items in this implementation [INFO] [stderr] 105 | /// Create a new compressed reader [INFO] [stderr] 106 | pub fn new(reader: R) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn get_ref(&self) -> &GzDecoder { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub fn get_mut(&mut self) -> &mut GzDecoder { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn into_inner(self) -> GzDecoder { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_level`, `with_config`, `finish`, `get_ref`, and `get_mut` are never used [INFO] [stderr] --> src/io/compression.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 140 | impl CompressedWriter { [INFO] [stderr] | ---------------------------------- associated items in this implementation [INFO] [stderr] 141 | /// Create a new compressed writer with default compression [INFO] [stderr] 142 | pub fn new(writer: W) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | pub fn with_level(writer: W, level: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | pub fn with_config(writer: W, config: CompressionConfig) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn finish(self) -> std::io::Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 174 | pub fn get_ref(&self) -> &W { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 179 | pub fn get_mut(&mut self) -> &mut W { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `compact` and `pretty` are never used [INFO] [stderr] --> src/io/json.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 78 | impl JsonConfig { [INFO] [stderr] | --------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn compact() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn pretty() -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_config`, and `read` are never used [INFO] [stderr] --> src/io/json.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 116 | impl JsonReader { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 117 | /// Create a new JSON reader with default config [INFO] [stderr] 118 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 130 | pub fn read(&self, reader: &mut R) -> IoResult [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_config`, and `write` are never used [INFO] [stderr] --> src/io/json.rs:153:12 [INFO] [stderr] | [INFO] [stderr] 151 | impl JsonWriter { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 152 | /// Create a new JSON writer with default config [INFO] [stderr] 153 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | pub fn with_config(config: JsonConfig) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 165 | pub fn write(&self, data: &T, writer: &mut W) -> IoResult<()> [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_buffer_size`, `read_stream`, and `read_batches` are never used [INFO] [stderr] --> src/io/streaming.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl TrainingDataStreamReader { [INFO] [stderr] | ----------------------------- associated items in this implementation [INFO] [stderr] 13 | /// Create a new streaming reader with default buffer size [INFO] [stderr] 14 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn with_buffer_size(buffer_size: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn read_stream(&self, reader: &mut R, callback: F) -> IoResult [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub fn read_batches( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `avg_bytes_per_sample` and `parameters_per_sample` are never used [INFO] [stderr] --> src/io/streaming.rs:218:12 [INFO] [stderr] | [INFO] [stderr] 216 | impl StreamStats { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] 217 | /// Calculate average bytes per sample [INFO] [stderr] 218 | pub fn avg_bytes_per_sample(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 227 | pub fn parameters_per_sample(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_capacity`, `buffer_size`, and `buffer_len` are never used [INFO] [stderr] --> src/io/streaming.rs:241:12 [INFO] [stderr] | [INFO] [stderr] 239 | impl BufferedStreamReader { [INFO] [stderr] | ------------------------------------- associated items in this implementation [INFO] [stderr] 240 | /// Create a new buffered stream reader [INFO] [stderr] 241 | pub fn new(reader: R) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 249 | pub fn with_capacity(reader: R, capacity: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 257 | pub fn buffer_size(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 262 | pub fn buffer_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `fallback_chain` is never read [INFO] [stderr] --> src/webgpu/backend.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 111 | pub struct BackendSelector [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 117 | fallback_chain: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BackendSelector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `timestamp`, `event_type`, `backend_from`, `backend_to`, and `performance_gain` are never read [INFO] [stderr] --> src/webgpu/compute_context.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 73 | struct OptimizationEvent { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 74 | timestamp: std::time::Instant, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 75 | event_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 76 | backend_from: BackendType, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 77 | backend_to: BackendType, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 78 | performance_gain: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OptimizationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `last_optimization` is never read [INFO] [stderr] --> src/webgpu/buffer_pool.rs:305:5 [INFO] [stderr] | [INFO] [stderr] 300 | pub struct BufferTierPool { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 305 | last_optimization: Instant, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BufferTierPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `optimization_thread_handle` is never read [INFO] [stderr] --> src/webgpu/buffer_pool.rs:328:5 [INFO] [stderr] | [INFO] [stderr] 322 | pub struct AdvancedBufferPool { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 328 | optimization_thread_handle: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AdvancedBufferPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `max_execution_time_variance` is never read [INFO] [stderr] --> src/webgpu/performance_monitor.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 105 | pub struct AlertThresholds { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 116 | max_execution_time_variance: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AlertThresholds` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rfann` (lib) generated 25 warnings (run `cargo fix --lib -p rfann` to apply 1 suggestion) [INFO] [stderr] warning: `rfann` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rfann-e972d7dce8edd3c7) [INFO] [stdout] [INFO] [stdout] running 98 tests [INFO] [stdout] test activation::tests::test_output_ranges ... ok [INFO] [stdout] test cascade::tests::test_cascade_builder ... ok [INFO] [stdout] test cascade::tests::test_cascade_config_default ... ok [INFO] [stdout] test cascade::tests::test_config_validation ... ok [INFO] [stdout] test connection::tests::test_update_weight ... ok [INFO] [stdout] test cascade::tests::test_candidate_neuron_creation ... ok [INFO] [stdout] test cascade::tests::test_pearson_correlation ... ok [INFO] [stdout] test connection::tests::test_set_weight ... ok [INFO] [stdout] test errors::tests::test_error_context ... ok [INFO] [stdout] test errors::tests::test_recovery_context ... ok [INFO] [stdout] test errors::tests::test_error_conversion ... ok [INFO] [stdout] test errors::tests::test_error_creation ... ok [INFO] [stdout] test integration::tests::test_fann_compatibility_validator ... ok [INFO] [stdout] test integration::tests::test_integration_test_suite_creation ... ok [INFO] [stdout] test layer::tests::test_connect_layers ... ok [INFO] [stdout] test layer::tests::test_layer_creation ... ok [INFO] [stdout] test layer::tests::test_get_outputs ... ok [INFO] [stdout] test layer::tests::test_layer_with_bias ... ok [INFO] [stdout] test layer::tests::test_set_activation_function ... ok [INFO] [stdout] test layer::tests::test_set_inputs ... ok [INFO] [stdout] test layer::tests::test_set_inputs_wrong_size ... ok [INFO] [stdout] test memory_manager::tests::test_memory_manager_creation ... ok [INFO] [stdout] test memory_manager::tests::test_allocation_deallocation ... ok [INFO] [stdout] test memory_manager::tests::test_memory_stats ... ok [INFO] [stdout] test memory_manager::tests::test_pool_creation ... ok [INFO] [stdout] test memory_manager::tests::test_pool_reuse ... ok [INFO] [stdout] test activation::tests::test_activation_function_names ... ok [INFO] [stdout] test network::tests::test_network_builder ... ok [INFO] [stdout] test network::tests::test_network_run ... ok [INFO] [stdout] test integration::tests::test_regression_detector ... ok [INFO] [stdout] test connection::tests::test_connection_creation_f64 ... ok [INFO] [stdout] test neuron::tests::test_bias_neuron ... ok [INFO] [stdout] test integration::tests::test_integration_config_default ... ok [INFO] [stdout] test neuron::tests::test_add_connection ... ok [INFO] [stdout] test network::tests::test_sparse_network ... ok [INFO] [stdout] test network::tests::test_total_neurons ... ok [INFO] [stdout] test neuron::tests::test_calculate ... ok [INFO] [stdout] test neuron::tests::test_reset_neuron ... ok [INFO] [stdout] test neuron::tests::test_reset_bias_neuron ... ok [INFO] [stdout] test neuron::tests::test_set_value ... ok [INFO] [stdout] test connection::tests::test_connection_creation_f32 ... ok [INFO] [stdout] test activation::tests::test_trainable ... ok [INFO] [stdout] test neuron::tests::test_neuron_creation ... ok [INFO] [stdout] test simd::tests::test_cpu_simd_ops_creation ... ok [INFO] [stdout] test simd::tests::test_matrix_multiplication ... ok [INFO] [stdout] test simd::tests::test_relu_activation ... ok [INFO] [stdout] test simd::tests::test_simd_config_creation ... ok [INFO] [stdout] test tests::network_tests::test_activation_functions ... ok [INFO] [stdout] test tests::network_tests::test_layer_with_bias ... ok [INFO] [stdout] test tests::network_tests::test_connection_generic_f64 ... ok [INFO] [stdout] test tests::network_tests::test_network_builder_basic ... ok [INFO] [stdout] test tests::network_tests::test_layer_creation ... ok [INFO] [stdout] test tests::network_tests::test_network_builder_with_activation_functions ... ok [INFO] [stdout] test tests::network_tests::test_network_fully_connected ... ok [INFO] [stdout] test tests::network_tests::test_network_generic_f64 ... ok [INFO] [stdout] test tests::network_tests::test_network_set_weights_wrong_size ... ok [INFO] [stdout] test tests::network_tests::test_network_get_weights ... ok [INFO] [stdout] test tests::network_tests::test_network_run_forward_pass ... ok [INFO] [stdout] test tests::network_tests::test_network_set_weights ... ok [INFO] [stdout] test tests::network_tests::test_network_sparse_connections ... ok [INFO] [stdout] test tests::network_tests::test_network_multiple_hidden_layers ... ok [INFO] [stdout] test training::adam::tests::test_adam_creation ... ok [INFO] [stdout] test tests::network_tests::test_neuron_add_connection ... ok [INFO] [stdout] test tests::network_tests::test_neuron_creation ... ok [INFO] [stdout] test training::adam::tests::test_adam_with_parameters ... ok [INFO] [stdout] test training::adam::tests::test_adamw_creation ... ok [INFO] [stdout] test training::test_all_algorithms::tests::test_adam_training ... ok [INFO] [stdout] test training::test_all_algorithms::tests::test_adamw_training ... ok [INFO] [stdout] test training::test_all_algorithms::tests::test_batch_backprop_training ... ok [INFO] [stdout] test training::test_all_algorithms::tests::test_quickprop_training ... ok [INFO] [stdout] test training::test_all_algorithms::tests::test_rprop_training ... ok [INFO] [stdout] test training::tests::test_sigmoid ... ok [INFO] [stdout] test webgpu::buffer_pool::tests::test_buffer_category_from_size ... ok [INFO] [stdout] test webgpu::buffer_pool::tests::test_circuit_breaker_states ... ok [INFO] [stdout] test webgpu::buffer_pool::tests::test_memory_pressure_levels ... ok [INFO] [stdout] test webgpu::buffer_pool::tests::test_pool_tier_config ... ok [INFO] [stdout] test webgpu::compute_context::tests::test_backend_selection ... ok [INFO] [stdout] test webgpu::compute_context::tests::test_compute_context_creation ... ok [INFO] [stdout] test training::test_all_algorithms::tests::test_incremental_backprop_training ... ok [INFO] [stdout] test webgpu::compute_context::tests::test_network_forward_pass ... ok [INFO] [stdout] test webgpu::compute_context::tests::test_performance_tracking ... ok [INFO] [stdout] test webgpu::kernel_optimizer::tests::test_kernel_optimizer_creation ... ok [INFO] [stdout] test webgpu::performance_monitor::tests::test_measurement_recording ... ok [INFO] [stdout] test webgpu::performance_monitor::tests::test_performance_monitor_creation ... ok [INFO] [stdout] test webgpu::performance_monitor::tests::test_performance_stats_calculation ... ok [INFO] [stdout] test webgpu::kernel_optimizer::tests::test_matrix_vector_optimization ... ok [INFO] [stdout] test webgpu::kernel_optimizer::tests::test_performance_recording ... ok [INFO] [stdout] test webgpu::pipeline_cache::tests::test_cache_clearing ... ok [INFO] [stdout] test webgpu::pipeline_cache::tests::test_cache_hit_ratio_calculation ... ok [INFO] [stdout] test webgpu::pipeline_cache::tests::test_pipeline_cache_creation ... ok [INFO] [stdout] test webgpu::pressure_monitor::tests::test_pressure_recording ... ok [INFO] [stdout] test webgpu::tests::webgpu_tests::test_backend_selector_creation ... ok [INFO] [stdout] test webgpu::tests::webgpu_tests::test_compute_profile_selection ... ok [INFO] [stdout] test simd::tests::test_relu_derivatives ... ok [INFO] [stdout] test tests::network_tests::test_connection_creation ... ok [INFO] [stdout] test webgpu::pressure_monitor::tests::test_circuit_breaker ... ok [INFO] [stdout] test webgpu::pressure_monitor::tests::test_pressure_monitor_creation ... ok [INFO] [stdout] test training::test_all_algorithms::tests::test_all_algorithms_improve_error ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests rfann [INFO] [stdout] test result: ok. 98 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/connection.rs - connection::Connection::new (line 26) ... ok [INFO] [stdout] test src/layer.rs - layer::Layer::new (line 24) ... ok [INFO] [stdout] test src/neuron.rs - neuron::Neuron::new (line 37) ... ok [INFO] [stdout] test src/network.rs - network::NetworkBuilder::new (line 448) ... ok [INFO] [stdout] test src/network.rs - network::Network::run (line 91) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d8f39bba8e112484f007e18fc5ee8446e9cd4e57224aa57356518c87a4b7cfaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f39bba8e112484f007e18fc5ee8446e9cd4e57224aa57356518c87a4b7cfaf", kill_on_drop: false }` [INFO] [stdout] d8f39bba8e112484f007e18fc5ee8446e9cd4e57224aa57356518c87a4b7cfaf