[INFO] cloning repository https://github.com/matheuscamarques/m3_avm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matheuscamarques/m3_avm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheuscamarques%2Fm3_avm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheuscamarques%2Fm3_avm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60ac30ce459ab385d799eb00adfddd9f6ad75c17 [INFO] checking matheuscamarques/m3_avm against 012c0bd4d516934012c9a1ecb26e9eb283d2ed75 for pr-133502-29 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheuscamarques%2Fm3_avm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matheuscamarques/m3_avm [INFO] finished tweaking git repo https://github.com/matheuscamarques/m3_avm [INFO] tweaked toml for git repo https://github.com/matheuscamarques/m3_avm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matheuscamarques/m3_avm on toolchain 012c0bd4d516934012c9a1ecb26e9eb283d2ed75 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matheuscamarques/m3_avm 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" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sprs v0.11.5 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded nano-gemm-f64 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-core v0.1.0 [INFO] [stderr] Downloaded nano-gemm-codegen v0.1.0 [INFO] [stderr] Downloaded py_literal v0.4.0 [INFO] [stderr] Downloaded nano-gemm-c64 v0.1.0 [INFO] [stderr] Downloaded nano-gemm-c32 v0.1.0 [INFO] [stderr] Downloaded matrixcompare-core v0.1.0 [INFO] [stderr] Downloaded nano-gemm-f32 v0.1.0 [INFO] [stderr] Downloaded equator v0.2.2 [INFO] [stderr] Downloaded equator-macro v0.2.1 [INFO] [stderr] Downloaded dbgf v0.1.2 [INFO] [stderr] Downloaded faer-entity v0.19.2 [INFO] [stderr] Downloaded coe-rs v0.1.2 [INFO] [stderr] Downloaded pest_derive v2.9.1 [INFO] [stderr] Downloaded pest_generator v2.9.1 [INFO] [stderr] Downloaded matrixcompare v0.3.0 [INFO] [stderr] Downloaded nano-gemm v0.1.3 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded nalgebra-sparse v0.10.0 [INFO] [stderr] Downloaded npyz v0.8.4 [INFO] [stderr] Downloaded pest_meta v2.9.1 [INFO] [stderr] Downloaded pest v2.9.1 [INFO] [stderr] Downloaded wgpu-hal v0.19.5 [INFO] [stderr] Downloaded nalgebra v0.32.6 [INFO] [stderr] Downloaded faer v0.19.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98 [INFO] running `Command { std: "docker" "start" "bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98", 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" "bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98", 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" "bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Compiling nano-gemm-codegen v0.1.0 [INFO] [stderr] Checking zerocopy v0.8.56 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling dyn-stack-macros v0.1.3 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking dyn-stack v0.13.2 [INFO] [stderr] Compiling matrixmultiply v0.3.11 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling pest v2.9.1 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking nano-gemm-core v0.1.0 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling nano-gemm-f64 v0.1.0 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling nano-gemm-c64 v0.1.0 [INFO] [stderr] Compiling nano-gemm-f32 v0.1.0 [INFO] [stderr] Compiling nano-gemm-c32 v0.1.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-bigint v0.4.8 [INFO] [stderr] Compiling pest_meta v2.9.1 [INFO] [stderr] Compiling equator-macro v0.2.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking equator v0.2.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling pest_generator v2.9.1 [INFO] [stderr] Checking matrixcompare-core v0.1.0 [INFO] [stderr] Checking coe-rs v0.1.2 [INFO] [stderr] Checking matrixcompare v0.3.0 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking dbgf v0.1.2 [INFO] [stderr] Checking smallvec v1.16.0 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking serde_json v1.0.151 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling pest_derive v2.9.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling clap_derive v4.6.4 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.8 [INFO] [stderr] Checking clap v4.6.6 [INFO] [stderr] Checking thiserror v2.0.20 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking pulp v0.18.22 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking npyz v0.8.4 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking faer-entity v0.19.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking gemm-common v0.18.2 [INFO] [stderr] Checking gemm-c32 v0.18.2 [INFO] [stderr] Checking gemm-f32 v0.18.2 [INFO] [stderr] Checking gemm-c64 v0.18.2 [INFO] [stderr] Checking gemm-f64 v0.18.2 [INFO] [stderr] Checking gemm v0.18.2 [INFO] [stderr] Checking nalgebra v0.33.3 [INFO] [stderr] Checking sprs v0.11.5 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking nano-gemm v0.1.3 [INFO] [stderr] Checking faer v0.19.4 [INFO] [stderr] Checking nalgebra-sparse v0.10.0 [INFO] [stderr] Checking m3_avm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Q4_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Q4_K = 12, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q4K` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q5_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Q5_K = 13, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q5K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q6_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | Q6_K = 14, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q6K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q8_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Q8_K = 15, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q8K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/tokenizer.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/tokenizer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeekFrom` [INFO] [stdout] --> src/gguf.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, and `Axis` [INFO] [stdout] --> src/inference.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::{Array1, Array2, Axis}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryManager` [INFO] [stdout] --> src/inference.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::{DType, MemoryManager}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:747:54 [INFO] [stdout] | [INFO] [stdout] 747 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 747 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 747 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:979:62 [INFO] [stdout] | [INFO] [stdout] 979 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 979 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 979 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1175:62 [INFO] [stdout] | [INFO] [stdout] 1175 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1175 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 1175 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1290:54 [INFO] [stdout] | [INFO] [stdout] 1290 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1290 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 1290 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FILTER_MODE_IIR`, `QUANTIZE_Q8_0`, `REDUCE_MIN`, and `SENSE_TOKEN` [INFO] [stdout] --> src/vm.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | OP_STREAM, OP_TENSOR, SENSE_AUDIO, SENSE_AUDIO_PCM, SENSE_CODEC_FRAME, SENSE_TOKEN, SENSE_USER_INPUT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | CAST_DST_I8, CAST_DST_U8, QUANTIZE_Q4_0, QUANTIZE_Q8_0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | REDUCE_MIN, REDUCE_PROD, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | FILTER_MODE_FIR, FILTER_MODE_IIR, WINDOW_HANN, WINDOW_HAMMING, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q4_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Q4_K = 12, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q4K` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q5_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Q5_K = 13, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q5K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q6_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | Q6_K = 14, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q6K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q8_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Q8_K = 15, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q8K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/tokenizer.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Seek, SeekFrom}; [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: `SeekFrom` [INFO] [stdout] --> src/gguf.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, and `Axis` [INFO] [stdout] --> src/inference.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::{Array1, Array2, Axis}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryManager` [INFO] [stdout] --> src/inference.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::{DType, MemoryManager}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:747:54 [INFO] [stdout] | [INFO] [stdout] 747 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 747 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 747 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:979:62 [INFO] [stdout] | [INFO] [stdout] 979 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 979 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 979 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1175:62 [INFO] [stdout] | [INFO] [stdout] 1175 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1175 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 1175 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1290:54 [INFO] [stdout] | [INFO] [stdout] 1290 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1290 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 1290 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/inference.rs:1760:42 [INFO] [stdout] | [INFO] [stdout] 1760 | let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1760 - let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] 1760 + let x: Vec = (0..h).map(|i| (i as f32 * 0.017).sin() * 0.6).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.013).sin() * 0.5)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.013).sin() * 0.5)).collect(); [INFO] [stdout] 58 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.013).sin() * 0.5).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|i| ((i as f32 * 0.002).sin() * 0.3)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - .map(|i| ((i as f32 * 0.002).sin() * 0.3)) [INFO] [stdout] 60 + .map(|i| (i as f32 * 0.002).sin() * 0.3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] 447 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.13).sin() * 0.7).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:490:47 [INFO] [stdout] | [INFO] [stdout] 490 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.31).sin() * 1.7)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 490 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.31).sin() * 1.7)).collect(); [INFO] [stdout] 490 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.31).sin() * 1.7).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:524:47 [INFO] [stdout] | [INFO] [stdout] 524 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.11).sin() * 0.9)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 524 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.11).sin() * 0.9)).collect(); [INFO] [stdout] 524 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.11).sin() * 0.9).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:570:47 [INFO] [stdout] | [INFO] [stdout] 570 | let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.3 + 1.0)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 570 - let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.3 + 1.0)).collect(); [INFO] [stdout] 570 + let x: Vec = (0..in_dim).map(|i| i as f32 * 0.3 + 1.0).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/moshi.rs:1042:24 [INFO] [stdout] | [INFO] [stdout] 1042 | (0..h).map(|i| ((i as f32 * 0.3).sin() * 0.5)).collect() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1042 - (0..h).map(|i| ((i as f32 * 0.3).sin() * 0.5)).collect() [INFO] [stdout] 1042 + (0..h).map(|i| (i as f32 * 0.3).sin() * 0.5).collect() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/moshi.rs:1195:45 [INFO] [stdout] | [INFO] [stdout] 1195 | let x: Vec = (0..1024).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1195 - let x: Vec = (0..1024).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] 1195 + let x: Vec = (0..1024).map(|i| (i as f32 * 0.13).sin() * 0.7).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/moshi.rs:1218:45 [INFO] [stdout] | [INFO] [stdout] 1218 | let x: Vec = (0..4096).map(|i| ((i as f32 * 0.01).sin() * 0.3)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1218 - let x: Vec = (0..4096).map(|i| ((i as f32 * 0.01).sin() * 0.3)).collect(); [INFO] [stdout] 1218 + let x: Vec = (0..4096).map(|i| (i as f32 * 0.01).sin() * 0.3).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FILTER_MODE_IIR`, `QUANTIZE_Q8_0`, `REDUCE_MIN`, and `SENSE_TOKEN` [INFO] [stdout] --> src/vm.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | OP_STREAM, OP_TENSOR, SENSE_AUDIO, SENSE_AUDIO_PCM, SENSE_CODEC_FRAME, SENSE_TOKEN, SENSE_USER_INPUT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | CAST_DST_I8, CAST_DST_U8, QUANTIZE_Q4_0, QUANTIZE_Q8_0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | REDUCE_MIN, REDUCE_PROD, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | FILTER_MODE_FIR, FILTER_MODE_IIR, WINDOW_HANN, WINDOW_HAMMING, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TEMPORAL_PHYSICAL_SIZE` and `make_global_addr` [INFO] [stdout] --> src/qa.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::memory::{make_global_addr, make_persistent_addr, MemoryManager, Region, DType, region_of, TEMPORAL_PHYSICAL_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instruction`, `OP_ABORT`, `OP_ATTN`, `OP_FORK`, `OP_SENSE`, `OP_STREAM`, and `OP_TENSOR` [INFO] [stdout] --> src/qa.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::opcodes::{self, Instruction, OP_TENSOR, OP_ATTN, OP_STREAM, OP_FORK, OP_ABORT, OP_SENSE}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/memory.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(st) = self.sparse_heap.get(&addr) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attn_rx` [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/reactor.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(ctx) = self.vm.scheduler.get_mut(ctx_id) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut shape = dims.iter().map(|&x| x as usize).collect::>(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab` [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subdim` [INFO] [stdout] --> src/vm.rs:4385:14 [INFO] [stdout] | [INFO] [stdout] 4385 | let (subdim, _k) = pq_validate(d, nsub as usize, cb_rows, cb_cols)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_subdim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/vm.rs:5987:14 [INFO] [stdout] | [INFO] [stdout] 5987 | let (shape, data) = self.read_dense_f32(t_addr, "AUDIO_RESAMPLE")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_version` is never read [INFO] [stdout] --> src/sparse.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SparseStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 244 | tensors: HashMap, [INFO] [stdout] 245 | next_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SparseStore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_tensor_f32` and `read_tensor_f32_try` are never used [INFO] [stdout] --> src/inference.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 284 | impl RealInference { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 521 | fn read_tensor_f32(&self, mem: &crate::vm::MemBackend, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 587 | fn read_tensor_f32_try(&self, mem: &crate::vm::MemBackend, names: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/bench_q4k.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] 30 + let x: Vec = (0..h).map(|i| (i as f32 * 0.017).sin() * 0.6).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/bench_q4k.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | let gx: Vec = (0..h).map(|i| ((i as f32 * 0.031).sin() * 0.4)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - let gx: Vec = (0..h).map(|i| ((i as f32 * 0.031).sin() * 0.4)).collect(); [INFO] [stdout] 64 + let gx: Vec = (0..h).map(|i| (i as f32 * 0.031).sin() * 0.4).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/bench_q4k.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] 30 + let x: Vec = (0..h).map(|i| (i as f32 * 0.017).sin() * 0.6).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/bin/bench_q4k.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | let gx: Vec = (0..h).map(|i| ((i as f32 * 0.031).sin() * 0.4)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - let gx: Vec = (0..h).map(|i| ((i as f32 * 0.031).sin() * 0.4)).collect(); [INFO] [stdout] 64 + let gx: Vec = (0..h).map(|i| (i as f32 * 0.031).sin() * 0.4).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/probe_head.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut inf = RealInference::new(path)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/stress_sparse_nop.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut rng = StdRng::seed_from_u64(1); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/stress_sparse_nop.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut rng = StdRng::seed_from_u64(2); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> tests/stress_sparse_nop.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut rng = StdRng::seed_from_u64(1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> tests/stress_sparse_nop.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut rng = StdRng::seed_from_u64(2); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instr_prefetch` [INFO] [stdout] --> benches/memory_bench.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | instr_prefetch, instr_reshape, instr_restore, instr_snapshot, MEMCPY_DIR_HOST, [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: `DType` [INFO] [stdout] --> benches/physics_bench.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | memory::{DType, MemoryManager}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> benches/matvec_bench.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.013).sin() * 0.5)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.013).sin() * 0.5)).collect(); [INFO] [stdout] 15 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.013).sin() * 0.5).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> benches/matvec_bench.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | .map(|i| ((i as f32 * 0.002).sin() * 0.3)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - .map(|i| ((i as f32 * 0.002).sin() * 0.3)) [INFO] [stdout] 17 + .map(|i| (i as f32 * 0.002).sin() * 0.3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/probe_head.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut inf = RealInference::new(path)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/memory.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(st) = self.sparse_heap.get(&addr) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q4_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Q4_K = 12, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q4K` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q5_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Q5_K = 13, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q5K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q6_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | Q6_K = 14, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q6K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q8_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Q8_K = 15, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q8K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/tokenizer.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/tokenizer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeekFrom` [INFO] [stdout] --> src/gguf.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, and `Axis` [INFO] [stdout] --> src/inference.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::{Array1, Array2, Axis}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryManager` [INFO] [stdout] --> src/inference.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::{DType, MemoryManager}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:747:54 [INFO] [stdout] | [INFO] [stdout] 747 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 747 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 747 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:979:62 [INFO] [stdout] | [INFO] [stdout] 979 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 979 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 979 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1175:62 [INFO] [stdout] | [INFO] [stdout] 1175 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1175 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 1175 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1290:54 [INFO] [stdout] | [INFO] [stdout] 1290 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1290 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 1290 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FILTER_MODE_IIR`, `QUANTIZE_Q8_0`, `REDUCE_MIN`, and `SENSE_TOKEN` [INFO] [stdout] --> src/vm.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | OP_STREAM, OP_TENSOR, SENSE_AUDIO, SENSE_AUDIO_PCM, SENSE_CODEC_FRAME, SENSE_TOKEN, SENSE_USER_INPUT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | CAST_DST_I8, CAST_DST_U8, QUANTIZE_Q4_0, QUANTIZE_Q8_0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | REDUCE_MIN, REDUCE_PROD, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | FILTER_MODE_FIR, FILTER_MODE_IIR, WINDOW_HANN, WINDOW_HAMMING, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::Instruction` [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | use crate::opcodes::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q4_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Q4_K = 12, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q4K` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q5_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Q5_K = 13, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q5K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q6_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | Q6_K = 14, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q6K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Q8_K` should have an upper camel case name [INFO] [stdout] --> src/memory.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Q8_K = 15, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Q8K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/tokenizer.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Seek, SeekFrom}; [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: `SeekFrom` [INFO] [stdout] --> src/gguf.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array1`, `Array2`, and `Axis` [INFO] [stdout] --> src/inference.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::{Array1, Array2, Axis}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryManager` [INFO] [stdout] --> src/inference.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::memory::{DType, MemoryManager}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:747:54 [INFO] [stdout] | [INFO] [stdout] 747 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 747 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 747 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:979:62 [INFO] [stdout] | [INFO] [stdout] 979 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 979 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 979 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1175:62 [INFO] [stdout] | [INFO] [stdout] 1175 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1175 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.001).sin() * 0.5); } [INFO] [stdout] 1175 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.001).sin() * 0.5; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/inference.rs:1290:54 [INFO] [stdout] | [INFO] [stdout] 1290 | for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1290 - for i in 0..dummy.len() { dummy[i] = ((i as f32 * 0.002).sin() * 0.3); } [INFO] [stdout] 1290 + for i in 0..dummy.len() { dummy[i] = (i as f32 * 0.002).sin() * 0.3; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/inference.rs:1760:42 [INFO] [stdout] | [INFO] [stdout] 1760 | let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1760 - let x: Vec = (0..h).map(|i| ((i as f32 * 0.017).sin() * 0.6)).collect(); [INFO] [stdout] 1760 + let x: Vec = (0..h).map(|i| (i as f32 * 0.017).sin() * 0.6).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 58 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.013).sin() * 0.5)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.013).sin() * 0.5)).collect(); [INFO] [stdout] 58 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.013).sin() * 0.5).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|i| ((i as f32 * 0.002).sin() * 0.3)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - .map(|i| ((i as f32 * 0.002).sin() * 0.3)) [INFO] [stdout] 60 + .map(|i| (i as f32 * 0.002).sin() * 0.3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] 447 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.13).sin() * 0.7).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:490:47 [INFO] [stdout] | [INFO] [stdout] 490 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.31).sin() * 1.7)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 490 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.31).sin() * 1.7)).collect(); [INFO] [stdout] 490 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.31).sin() * 1.7).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:524:47 [INFO] [stdout] | [INFO] [stdout] 524 | let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.11).sin() * 0.9)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 524 - let x: Vec = (0..in_dim).map(|i| ((i as f32 * 0.11).sin() * 0.9)).collect(); [INFO] [stdout] 524 + let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.11).sin() * 0.9).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/matvec_quant.rs:570:47 [INFO] [stdout] | [INFO] [stdout] 570 | let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.3 + 1.0)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 570 - let x: Vec = (0..in_dim).map(|i| (i as f32 * 0.3 + 1.0)).collect(); [INFO] [stdout] 570 + let x: Vec = (0..in_dim).map(|i| i as f32 * 0.3 + 1.0).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/moshi.rs:1042:24 [INFO] [stdout] | [INFO] [stdout] 1042 | (0..h).map(|i| ((i as f32 * 0.3).sin() * 0.5)).collect() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1042 - (0..h).map(|i| ((i as f32 * 0.3).sin() * 0.5)).collect() [INFO] [stdout] 1042 + (0..h).map(|i| (i as f32 * 0.3).sin() * 0.5).collect() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/moshi.rs:1195:45 [INFO] [stdout] | [INFO] [stdout] 1195 | let x: Vec = (0..1024).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1195 - let x: Vec = (0..1024).map(|i| ((i as f32 * 0.13).sin() * 0.7)).collect(); [INFO] [stdout] 1195 + let x: Vec = (0..1024).map(|i| (i as f32 * 0.13).sin() * 0.7).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/moshi.rs:1218:45 [INFO] [stdout] | [INFO] [stdout] 1218 | let x: Vec = (0..4096).map(|i| ((i as f32 * 0.01).sin() * 0.3)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1218 - let x: Vec = (0..4096).map(|i| ((i as f32 * 0.01).sin() * 0.3)).collect(); [INFO] [stdout] 1218 + let x: Vec = (0..4096).map(|i| (i as f32 * 0.01).sin() * 0.3).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FILTER_MODE_IIR`, `QUANTIZE_Q8_0`, `REDUCE_MIN`, and `SENSE_TOKEN` [INFO] [stdout] --> src/vm.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | OP_STREAM, OP_TENSOR, SENSE_AUDIO, SENSE_AUDIO_PCM, SENSE_CODEC_FRAME, SENSE_TOKEN, SENSE_USER_INPUT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | CAST_DST_I8, CAST_DST_U8, QUANTIZE_Q4_0, QUANTIZE_Q8_0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | REDUCE_MIN, REDUCE_PROD, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | FILTER_MODE_FIR, FILTER_MODE_IIR, WINDOW_HANN, WINDOW_HAMMING, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::Instruction` [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | use crate::opcodes::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attn_rx` [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/reactor.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(ctx) = self.vm.scheduler.get_mut(ctx_id) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut sched_rx = reactor.bus.subscribe_sched(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sched_rx` [INFO] [stdout] --> src/reactor.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut sched_rx = reactor.bus.subscribe_sched(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sched_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qd` [INFO] [stdout] --> src/sparse.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let qd = q.to_dense(); let kd = k.to_dense(); let vd = v.to_dense(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kd` [INFO] [stdout] --> src/sparse.rs:324:36 [INFO] [stdout] | [INFO] [stdout] 324 | let qd = q.to_dense(); let kd = k.to_dense(); let vd = v.to_dense(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vd` [INFO] [stdout] --> src/sparse.rs:324:59 [INFO] [stdout] | [INFO] [stdout] 324 | let qd = q.to_dense(); let kd = k.to_dense(); let vd = v.to_dense(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 335 | let (tx, mut rx) = watch::channel(AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut shape = dims.iter().map(|&x| x as usize).collect::>(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab` [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subdim` [INFO] [stdout] --> src/vm.rs:4385:14 [INFO] [stdout] | [INFO] [stdout] 4385 | let (subdim, _k) = pq_validate(d, nsub as usize, cb_rows, cb_cols)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_subdim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/vm.rs:5987:14 [INFO] [stdout] | [INFO] [stdout] 5987 | let (shape, data) = self.read_dense_f32(t_addr, "AUDIO_RESAMPLE")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:10926:13 [INFO] [stdout] | [INFO] [stdout] 10926 | let mut bad_d = instr_spike_step(3, 1, 2, 0xFF, 1.0, 1.5, 0.0, 1, 2); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/qa.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut vm = Vm::new_in_memory(VmConfig { max_steps: Some(5), ..Default::default() }); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/qa.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut instr = opcodes::instr_tensor(0, 0xFF, 0xFF, 2, 2, 99); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/qa.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut vm = Vm::new_in_memory(VmConfig { max_steps: Some(5), ..Default::default() }); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/qa.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut parent_mem = MemoryManager::new_in_memory(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snap` [INFO] [stdout] --> src/qa.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let snap = mem.snapshot(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_snap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_mem` [INFO] [stdout] --> src/qa.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut parent_mem = MemoryManager::new_in_memory(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/qa.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let a = vm.memory.alloc_tensor(&[2,2], DType::F32).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/qa.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | if let Some(ctx) = vm.scheduler.get_mut(1) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/qa.rs:1024:18 [INFO] [stdout] | [INFO] [stdout] 1024 | let (tx, mut rx) = watch::channel(AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_version` is never read [INFO] [stdout] --> src/sparse.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SparseStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 244 | tensors: HashMap, [INFO] [stdout] 245 | next_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SparseStore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_tensor_f32_try` is never used [INFO] [stdout] --> src/inference.rs:587:8 [INFO] [stdout] | [INFO] [stdout] 284 | impl RealInference { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 587 | fn read_tensor_f32_try(&self, mem: &crate::vm::MemBackend, names: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV0_pause_paths` should have a snake case name [INFO] [stdout] --> src/vm.rs:9430:14 [INFO] [stdout] | [INFO] [stdout] 9430 | async fn test_planoV0_pause_paths() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v0_pause_paths` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV0_filler_synth` should have a snake case name [INFO] [stdout] --> src/vm.rs:9453:14 [INFO] [stdout] | [INFO] [stdout] 9453 | async fn test_planoV0_filler_synth() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v0_filler_synth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV1_equ_consts` should have a snake case name [INFO] [stdout] --> src/vm.rs:9472:14 [INFO] [stdout] | [INFO] [stdout] 9472 | async fn test_planoV1_equ_consts() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v1_equ_consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV3_voice_loop` should have a snake case name [INFO] [stdout] --> src/vm.rs:9491:14 [INFO] [stdout] | [INFO] [stdout] 9491 | async fn test_planoV3_voice_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v3_voice_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV1b_data_loader` should have a snake case name [INFO] [stdout] --> src/vm.rs:10012:14 [INFO] [stdout] | [INFO] [stdout] 10012 | async fn test_planoV1b_data_loader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v1b_data_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/memory.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(st) = self.sparse_heap.get(&addr) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attn_rx` [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/reactor.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(ctx) = self.vm.scheduler.get_mut(ctx_id) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut shape = dims.iter().map(|&x| x as usize).collect::>(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab` [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subdim` [INFO] [stdout] --> src/vm.rs:4385:14 [INFO] [stdout] | [INFO] [stdout] 4385 | let (subdim, _k) = pq_validate(d, nsub as usize, cb_rows, cb_cols)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_subdim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/vm.rs:5987:14 [INFO] [stdout] | [INFO] [stdout] 5987 | let (shape, data) = self.read_dense_f32(t_addr, "AUDIO_RESAMPLE")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/memory.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(st) = self.sparse_heap.get(&addr) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_version` is never read [INFO] [stdout] --> src/sparse.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SparseStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 244 | tensors: HashMap, [INFO] [stdout] 245 | next_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SparseStore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_tensor_f32` and `read_tensor_f32_try` are never used [INFO] [stdout] --> src/inference.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 284 | impl RealInference { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 521 | fn read_tensor_f32(&self, mem: &crate::vm::MemBackend, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 587 | fn read_tensor_f32_try(&self, mem: &crate::vm::MemBackend, names: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attn_rx` [INFO] [stdout] --> src/reactor.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | let (attn_tx, mut attn_rx) = watch::channel(crate::sparse::AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/reactor.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(ctx) = self.vm.scheduler.get_mut(ctx_id) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactor.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut sched_rx = reactor.bus.subscribe_sched(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sched_rx` [INFO] [stdout] --> src/reactor.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut sched_rx = reactor.bus.subscribe_sched(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sched_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qd` [INFO] [stdout] --> src/sparse.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let qd = q.to_dense(); let kd = k.to_dense(); let vd = v.to_dense(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kd` [INFO] [stdout] --> src/sparse.rs:324:36 [INFO] [stdout] | [INFO] [stdout] 324 | let qd = q.to_dense(); let kd = k.to_dense(); let vd = v.to_dense(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vd` [INFO] [stdout] --> src/sparse.rs:324:59 [INFO] [stdout] | [INFO] [stdout] 324 | let qd = q.to_dense(); let kd = k.to_dense(); let vd = v.to_dense(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sparse.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 335 | let (tx, mut rx) = watch::channel(AttentionEvent::HeadStarted(0)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gguf.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut shape = dims.iter().map(|&x| x as usize).collect::>(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vocab` [INFO] [stdout] --> src/gguf.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut vocab: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vocab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inference.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let mut resolve = |kind: &str| -> Option { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subdim` [INFO] [stdout] --> src/vm.rs:4385:14 [INFO] [stdout] | [INFO] [stdout] 4385 | let (subdim, _k) = pq_validate(d, nsub as usize, cb_rows, cb_cols)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_subdim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/vm.rs:5987:14 [INFO] [stdout] | [INFO] [stdout] 5987 | let (shape, data) = self.read_dense_f32(t_addr, "AUDIO_RESAMPLE")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:10926:13 [INFO] [stdout] | [INFO] [stdout] 10926 | let mut bad_d = instr_spike_step(3, 1, 2, 0xFF, 1.0, 1.5, 0.0, 1, 2); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_version` is never read [INFO] [stdout] --> src/sparse.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct SparseStore { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 244 | tensors: HashMap, [INFO] [stdout] 245 | next_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SparseStore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_tensor_f32_try` is never used [INFO] [stdout] --> src/inference.rs:587:8 [INFO] [stdout] | [INFO] [stdout] 284 | impl RealInference { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 587 | fn read_tensor_f32_try(&self, mem: &crate::vm::MemBackend, names: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV0_pause_paths` should have a snake case name [INFO] [stdout] --> src/vm.rs:9430:14 [INFO] [stdout] | [INFO] [stdout] 9430 | async fn test_planoV0_pause_paths() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v0_pause_paths` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV0_filler_synth` should have a snake case name [INFO] [stdout] --> src/vm.rs:9453:14 [INFO] [stdout] | [INFO] [stdout] 9453 | async fn test_planoV0_filler_synth() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v0_filler_synth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV1_equ_consts` should have a snake case name [INFO] [stdout] --> src/vm.rs:9472:14 [INFO] [stdout] | [INFO] [stdout] 9472 | async fn test_planoV1_equ_consts() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v1_equ_consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV3_voice_loop` should have a snake case name [INFO] [stdout] --> src/vm.rs:9491:14 [INFO] [stdout] | [INFO] [stdout] 9491 | async fn test_planoV3_voice_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v3_voice_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_planoV1b_data_loader` should have a snake case name [INFO] [stdout] --> src/vm.rs:10012:14 [INFO] [stdout] | [INFO] [stdout] 10012 | async fn test_planoV1b_data_loader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_plano_v1b_data_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `nalgebra` [INFO] [stderr] --> Cargo.toml:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | nalgebra = "0.32" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `nalgebra` [INFO] [stderr] warning: `m3_avm` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98", kill_on_drop: false }` [INFO] [stdout] bb9fbbd7ff3b3ebcb0569da84fee8cf389b1d2b27512645e24e96becec205a98