[INFO] cloning repository https://github.com/toasterrepairman/scrutinize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toasterrepairman/scrutinize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fscrutinize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fscrutinize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 541a28ebb35731640cb74c14c32cf421a9317dc7 [INFO] checking toasterrepairman/scrutinize/541a28ebb35731640cb74c14c32cf421a9317dc7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fscrutinize" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/toasterrepairman/scrutinize [INFO] finished tweaking git repo https://github.com/toasterrepairman/scrutinize [INFO] tweaked toml for git repo https://github.com/toasterrepairman/scrutinize written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toasterrepairman/scrutinize on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/toasterrepairman/scrutinize 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphene-sys v0.20.10 [INFO] [stderr] Downloaded gsk4 v0.9.6 [INFO] [stderr] Downloaded cairo-rs v0.20.12 [INFO] [stderr] Downloaded gdk-pixbuf v0.20.10 [INFO] [stderr] Downloaded libadwaita-sys v0.7.2 [INFO] [stderr] Downloaded gobject-sys v0.20.10 [INFO] [stderr] Downloaded libadwaita v0.7.2 [INFO] [stderr] Downloaded gtk4-sys v0.9.6 [INFO] [stderr] Downloaded gtk4-macros v0.9.5 [INFO] [stderr] Downloaded gtk4 v0.9.7 [INFO] [stderr] Downloaded glib-macros v0.20.12 [INFO] [stderr] Downloaded gsk4-sys v0.9.6 [INFO] [stderr] Downloaded gio v0.20.12 [INFO] [stderr] Downloaded gdk4-sys v0.9.6 [INFO] [stderr] Downloaded pango-sys v0.20.10 [INFO] [stderr] Downloaded cairo-sys-rs v0.20.10 [INFO] [stderr] Downloaded gio-sys v0.20.10 [INFO] [stderr] Downloaded cfg-expr v0.20.3 [INFO] [stderr] Downloaded glib-build-tools v0.20.0 [INFO] [stderr] Downloaded pango v0.20.12 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.20.10 [INFO] [stderr] Downloaded system-deps v7.0.6 [INFO] [stderr] Downloaded glib v0.20.12 [INFO] [stderr] Downloaded glib-sys v0.20.10 [INFO] [stderr] Downloaded gdk4 v0.9.6 [INFO] [stderr] Downloaded graphene-rs v0.20.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b1c30d77962429dd0b4ba3cf74d2cd79cbf86575a32c6e978fd8b4853f6aeb3 [INFO] running `Command { std: "docker" "start" "-a" "7b1c30d77962429dd0b4ba3cf74d2cd79cbf86575a32c6e978fd8b4853f6aeb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b1c30d77962429dd0b4ba3cf74d2cd79cbf86575a32c6e978fd8b4853f6aeb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1c30d77962429dd0b4ba3cf74d2cd79cbf86575a32c6e978fd8b4853f6aeb3", kill_on_drop: false }` [INFO] [stdout] 7b1c30d77962429dd0b4ba3cf74d2cd79cbf86575a32c6e978fd8b4853f6aeb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 428c2ebb8b592a9db6cdcd6d68c390252e8a417aad3de36e392805e3ca6aaaf7 [INFO] running `Command { std: "docker" "start" "-a" "428c2ebb8b592a9db6cdcd6d68c390252e8a417aad3de36e392805e3ca6aaaf7", kill_on_drop: false }` [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling gio v0.20.12 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cfg-expr v0.20.3 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling system-deps v7.0.6 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling glib-sys v0.20.10 [INFO] [stderr] Compiling gobject-sys v0.20.10 [INFO] [stderr] Compiling gio-sys v0.20.10 [INFO] [stderr] Compiling pango-sys v0.20.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.20.10 [INFO] [stderr] Compiling cairo-sys-rs v0.20.10 [INFO] [stderr] Compiling graphene-sys v0.20.10 [INFO] [stderr] Compiling gdk4-sys v0.9.6 [INFO] [stderr] Compiling gsk4-sys v0.9.6 [INFO] [stderr] Compiling gtk4-sys v0.9.6 [INFO] [stderr] Compiling libadwaita-sys v0.7.2 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling glib-macros v0.20.12 [INFO] [stderr] Compiling gtk4-macros v0.9.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking glib v0.20.12 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking cairo-rs v0.20.12 [INFO] [stderr] Checking graphene-rs v0.20.10 [INFO] [stderr] Checking pango v0.20.12 [INFO] [stderr] Checking gdk-pixbuf v0.20.10 [INFO] [stderr] Checking gdk4 v0.9.6 [INFO] [stderr] Compiling glib-build-tools v0.20.0 [INFO] [stderr] Compiling scrutinize v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking gsk4 v0.9.6 [INFO] [stderr] Checking gtk4 v0.9.7 [INFO] [stderr] Checking libadwaita v0.7.2 [INFO] [stdout] warning: unused import: `super::GGMLType` [INFO] [stdout] --> src/gguf_parser.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | use super::GGMLType; [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 imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/gguf_parser.rs:900:23 [INFO] [stdout] | [INFO] [stdout] 900 | use std::io::{Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glib::translate::ToGlibPtr` [INFO] [stdout] --> src/tensor_viewer.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | use glib::translate::ToGlibPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glib::translate::ToGlibPtr` [INFO] [stdout] --> src/tensor_viewer.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | use glib::translate::ToGlibPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::GGMLType` [INFO] [stdout] --> src/gguf_parser.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | use super::GGMLType; [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 imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/gguf_parser.rs:900:23 [INFO] [stdout] | [INFO] [stdout] 900 | use std::io::{Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glib::translate::ToGlibPtr` [INFO] [stdout] --> src/tensor_viewer.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | use glib::translate::ToGlibPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glib::translate::ToGlibPtr` [INFO] [stdout] --> src/tensor_viewer.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | use glib::translate::ToGlibPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/gguf_parser.rs:819:25 [INFO] [stdout] | [INFO] [stdout] 819 | let chunks = data.chunks_exact(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunks` [INFO] [stdout] --> src/gguf_parser.rs:819:25 [INFO] [stdout] | [INFO] [stdout] 819 | let chunks = data.chunks_exact(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moe_group` [INFO] [stdout] --> src/ui/window.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let moe_group = adw::PreferencesGroup::builder() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moe_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path_for_bind` [INFO] [stdout] --> src/tensor_viewer.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let file_path_for_bind = Rc::clone(&file_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path_for_bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moe_group` [INFO] [stdout] --> src/ui/window.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let moe_group = adw::PreferencesGroup::builder() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moe_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_separator_weak` [INFO] [stdout] --> src/tensor_viewer.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let stats_separator_weak = stats_separator.downgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_separator_weak` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_label_weak` [INFO] [stdout] --> src/tensor_viewer.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | let stats_label_weak = stats_label.downgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_label_weak` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_grid_weak` [INFO] [stdout] --> src/tensor_viewer.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | let stats_grid_weak = stats_grid.downgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_grid_weak` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/tensor_viewer.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | let height = height as f64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tooltip_label_clone` [INFO] [stdout] --> src/heatmap_widget.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let tooltip_label_clone = tooltip_label.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tooltip_label_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `legend_height` [INFO] [stdout] --> src/heatmap_widget.rs:555:78 [INFO] [stdout] | [INFO] [stdout] 555 | fn draw_colormap_legend(cr: >k::cairo::Context, width: f64, y_offset: f64, legend_height: f64, min_val: f32, max_val: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_legend_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/tensor_slice.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn smart_default(name: &str, shape: Vec) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path_for_bind` [INFO] [stdout] --> src/tensor_viewer.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let file_path_for_bind = Rc::clone(&file_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path_for_bind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GGUF_VERSION` is never used [INFO] [stdout] --> src/gguf_parser.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const GGUF_VERSION: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/gguf_parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GGUFFile { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGUFFile` 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 `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | UInt8(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - UInt8(u8), [INFO] [stdout] 28 + UInt8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Int8(i8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - Int8(i8), [INFO] [stdout] 29 + Int8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | UInt16(u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - UInt16(u16), [INFO] [stdout] 30 + UInt16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Int16(i16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Int16(i16), [INFO] [stdout] 31 + Int16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | Int32(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Int32(i32), [INFO] [stdout] 33 + Int32(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - Bool(bool), [INFO] [stdout] 35 + Bool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Int64(i64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - Int64(i64), [INFO] [stdout] 39 + Int64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Float64(f64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - Float64(f64), [INFO] [stdout] 40 + Float64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mmap`, `read_tensor_data_optimized`, `get_tensor_info`, and `list_tensor_names` are never used [INFO] [stdout] --> src/gguf_parser.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl GGUFFile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn get_mmap(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn read_tensor_data_optimized( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn get_tensor_info(&self, tensor_name: &str) -> Option<&TensorInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn list_tensor_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keys` is never used [INFO] [stdout] --> src/gguf_parser.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl GGUFMetadata { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/gguf_parser.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 499 | impl TensorInfo { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn read_tensor_data_optimized( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | fn read_entire_tensor_mmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 627 | fn read_slice_mmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | fn read_slice_bulk_rows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 705 | fn read_slice_element_by_element( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 758 | fn parse_tensor_bytes(&self, data: &[u8], max_values: usize, limit: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 808 | fn parse_single_element(&self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1125 | pub fn read_tensor_data(&self, file_path: &Path, max_elements: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q4_0` is never used [INFO] [stdout] --> src/gguf_parser.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn q4_0(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q4_1` is never used [INFO] [stdout] --> src/gguf_parser.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn q4_1(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q8_0` is never used [INFO] [stdout] --> src/gguf_parser.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn q8_0(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simplified` is never used [INFO] [stdout] --> src/gguf_parser.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn simplified(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f16_to_f32` is never used [INFO] [stdout] --> src/gguf_parser.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn f16_to_f32(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_bar`, `toolbar_view`, `view_stack`, and `view_switcher_bar` are never read [INFO] [stdout] --> src/ui/window.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GGUFWindow { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | window: adw::ApplicationWindow, [INFO] [stdout] 15 | header_bar: adw::HeaderBar, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | toolbar_view: adw::ToolbarView, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | view_stack: adw::ViewStack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | view_switcher_bar: adw::ViewSwitcherBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGUFWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_entry`, `test_input`, `token_display`, and `summary_label` are never read [INFO] [stdout] --> src/tokenizer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TokenizerPage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | search_entry: SearchEntry, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | test_input: gtk::TextView, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | token_display: TokenDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | summary_label: gtk::Label, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizerPage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize_simple` is never used [INFO] [stdout] --> src/tokenizer.rs:568:4 [INFO] [stdout] | [INFO] [stdout] 568 | fn tokenize_simple(text: &str, tokens: &[TokenData]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_tensor_data_optimized` is never used [INFO] [stdout] --> src/tensor_viewer.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl TensorPage { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | async fn read_tensor_data_optimized( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_summary` is never used [INFO] [stdout] --> src/token_display.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TokenDisplay { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn set_summary(&self, _token_count: usize, _char_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TensorStatistics` is never constructed [INFO] [stdout] --> src/heatmap_widget.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TensorStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tooltip_label` is never read [INFO] [stdout] --> src/heatmap_widget.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct HeatmapWidget { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | tooltip_label: gtk::Label, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeatmapWidget` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_statistics`, `clear`, and `set_display_mode` are never used [INFO] [stdout] --> src/heatmap_widget.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl HeatmapWidget { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_statistics(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn set_display_mode(&self, show_histogram: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_to_color` is never used [INFO] [stdout] --> src/heatmap_widget.rs:519:4 [INFO] [stdout] | [INFO] [stdout] 519 | fn value_to_color(value: f64) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_statistics` is never used [INFO] [stdout] --> src/heatmap_widget.rs:595:4 [INFO] [stdout] | [INFO] [stdout] 595 | fn compute_statistics(values: &[f32]) -> TensorStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_next_boundary` is never used [INFO] [stdout] --> src/optimized_tokenizer.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn find_next_boundary(text: &[u8], start: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ascii` is never used [INFO] [stdout] --> src/optimized_tokenizer.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn is_ascii(text: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_whitespace` is never used [INFO] [stdout] --> src/optimized_tokenizer.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn count_whitespace(text: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_separator_weak` [INFO] [stdout] --> src/tensor_viewer.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let stats_separator_weak = stats_separator.downgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_separator_weak` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_label_weak` [INFO] [stdout] --> src/tensor_viewer.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | let stats_label_weak = stats_label.downgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_label_weak` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_grid_weak` [INFO] [stdout] --> src/tensor_viewer.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | let stats_grid_weak = stats_grid.downgrade(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_grid_weak` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/tensor_viewer.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | let height = height as f64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tooltip_label_clone` [INFO] [stdout] --> src/heatmap_widget.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let tooltip_label_clone = tooltip_label.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tooltip_label_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `legend_height` [INFO] [stdout] --> src/heatmap_widget.rs:555:78 [INFO] [stdout] | [INFO] [stdout] 555 | fn draw_colormap_legend(cr: >k::cairo::Context, width: f64, y_offset: f64, legend_height: f64, min_val: f32, max_val: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_legend_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/tensor_slice.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn smart_default(name: &str, shape: Vec) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GGUF_VERSION` is never used [INFO] [stdout] --> src/gguf_parser.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const GGUF_VERSION: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/gguf_parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GGUFFile { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGUFFile` 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 `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | UInt8(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - UInt8(u8), [INFO] [stdout] 28 + UInt8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Int8(i8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - Int8(i8), [INFO] [stdout] 29 + Int8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | UInt16(u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - UInt16(u16), [INFO] [stdout] 30 + UInt16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Int16(i16), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Int16(i16), [INFO] [stdout] 31 + Int16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | Int32(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Int32(i32), [INFO] [stdout] 33 + Int32(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - Bool(bool), [INFO] [stdout] 35 + Bool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | Int64(i64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 39 - Int64(i64), [INFO] [stdout] 39 + Int64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gguf_parser.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Float64(f64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MetadataValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - Float64(f64), [INFO] [stdout] 40 + Float64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mmap`, `read_tensor_data_optimized`, `get_tensor_info`, and `list_tensor_names` are never used [INFO] [stdout] --> src/gguf_parser.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl GGUFFile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn get_mmap(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn read_tensor_data_optimized( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn get_tensor_info(&self, tensor_name: &str) -> Option<&TensorInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn list_tensor_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `keys` is never used [INFO] [stdout] --> src/gguf_parser.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl GGUFMetadata { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/gguf_parser.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 499 | impl TensorInfo { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn read_tensor_data_optimized( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | fn read_entire_tensor_mmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 627 | fn read_slice_mmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | fn read_slice_bulk_rows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 705 | fn read_slice_element_by_element( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 758 | fn parse_tensor_bytes(&self, data: &[u8], max_values: usize, limit: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 808 | fn parse_single_element(&self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1125 | pub fn read_tensor_data(&self, file_path: &Path, max_elements: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q4_0` is never used [INFO] [stdout] --> src/gguf_parser.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn q4_0(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q4_1` is never used [INFO] [stdout] --> src/gguf_parser.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn q4_1(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `q8_0` is never used [INFO] [stdout] --> src/gguf_parser.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn q8_0(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simplified` is never used [INFO] [stdout] --> src/gguf_parser.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn simplified(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f16_to_f32` is never used [INFO] [stdout] --> src/gguf_parser.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn f16_to_f32(data: &[u8], count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_bar`, `toolbar_view`, `view_stack`, and `view_switcher_bar` are never read [INFO] [stdout] --> src/ui/window.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GGUFWindow { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | window: adw::ApplicationWindow, [INFO] [stdout] 15 | header_bar: adw::HeaderBar, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | toolbar_view: adw::ToolbarView, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | view_stack: adw::ViewStack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | view_switcher_bar: adw::ViewSwitcherBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGUFWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_entry`, `test_input`, `token_display`, and `summary_label` are never read [INFO] [stdout] --> src/tokenizer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TokenizerPage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | search_entry: SearchEntry, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | test_input: gtk::TextView, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | token_display: TokenDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | summary_label: gtk::Label, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizerPage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] [stdout] warning: function `tokenize_simple` is never used [INFO] [stdout] --> src/tokenizer.rs:568:4 [INFO] [stdout] | [INFO] [stdout] 568 | fn tokenize_simple(text: &str, tokens: &[TokenData]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_tensor_data_optimized` is never used [INFO] [stdout] --> src/tensor_viewer.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl TensorPage { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | async fn read_tensor_data_optimized( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_summary` is never used [INFO] [stdout] --> src/token_display.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TokenDisplay { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn set_summary(&self, _token_count: usize, _char_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TensorStatistics` is never constructed [INFO] [stdout] --> src/heatmap_widget.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TensorStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tooltip_label` is never read [INFO] [stdout] --> src/heatmap_widget.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct HeatmapWidget { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | tooltip_label: gtk::Label, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeatmapWidget` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_statistics`, `clear`, and `set_display_mode` are never used [INFO] [stdout] --> src/heatmap_widget.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl HeatmapWidget { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_statistics(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn set_display_mode(&self, show_histogram: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_to_color` is never used [INFO] [stdout] --> src/heatmap_widget.rs:519:4 [INFO] [stdout] | [INFO] [stdout] 519 | fn value_to_color(value: f64) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_statistics` is never used [INFO] [stdout] --> src/heatmap_widget.rs:595:4 [INFO] [stdout] | [INFO] [stdout] 595 | fn compute_statistics(values: &[f32]) -> TensorStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tokenize` is never used [INFO] [stdout] --> src/optimized_tokenizer.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl TokenizerTrie { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn tokenize(&self, text: &str) -> Vec<(usize, usize, f32, u32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_next_boundary` is never used [INFO] [stdout] --> src/optimized_tokenizer.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn find_next_boundary(text: &[u8], start: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ascii` is never used [INFO] [stdout] --> src/optimized_tokenizer.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn is_ascii(text: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_whitespace` is never used [INFO] [stdout] --> src/optimized_tokenizer.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn count_whitespace(text: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "428c2ebb8b592a9db6cdcd6d68c390252e8a417aad3de36e392805e3ca6aaaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428c2ebb8b592a9db6cdcd6d68c390252e8a417aad3de36e392805e3ca6aaaf7", kill_on_drop: false }` [INFO] [stdout] 428c2ebb8b592a9db6cdcd6d68c390252e8a417aad3de36e392805e3ca6aaaf7