[INFO] fetching crate byteforge 0.1.1... [INFO] checking byteforge-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate byteforge 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate byteforge 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate byteforge 0.1.1 [INFO] tweaked toml for crates.io crate byteforge 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate byteforge 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate byteforge 0.1.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 386f4caab6c7d978a4b5f81d27d28254e4b482d985f931d97231a4fa9bc9ae17 [INFO] running `Command { std: "docker" "start" "-a" "386f4caab6c7d978a4b5f81d27d28254e4b482d985f931d97231a4fa9bc9ae17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "386f4caab6c7d978a4b5f81d27d28254e4b482d985f931d97231a4fa9bc9ae17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386f4caab6c7d978a4b5f81d27d28254e4b482d985f931d97231a4fa9bc9ae17", kill_on_drop: false }` [INFO] [stdout] 386f4caab6c7d978a4b5f81d27d28254e4b482d985f931d97231a4fa9bc9ae17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d5bf7e4ed1a16f59bc3cc6d7461a8e33e8eab447fc2e0ae8f8d29d6039d4cba [INFO] running `Command { std: "docker" "start" "-a" "2d5bf7e4ed1a16f59bc3cc6d7461a8e33e8eab447fc2e0ae8f8d29d6039d4cba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking byteforge v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/simple_benchmark.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | (content.len() as u64 * 10) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - (content.len() as u64 * 10) [INFO] [stdout] 86 + content.len() as u64 * 10 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHashMap` [INFO] [stdout] --> src/optimized_entropy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ahash::AHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHashMap` [INFO] [stdout] --> src/optimized_patching.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ahash::AHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `memchr2` and `memchr` [INFO] [stdout] --> src/optimized_patching.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use memchr::{memchr, memchr2, memchr3}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/simple_benchmark.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | (content.len() as u64 * 10) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - (content.len() as u64 * 10) [INFO] [stdout] 86 + content.len() as u64 * 10 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHashMap` [INFO] [stdout] --> src/optimized_entropy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ahash::AHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHashMap` [INFO] [stdout] --> src/optimized_patching.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ahash::AHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `memchr2` and `memchr` [INFO] [stdout] --> src/optimized_patching.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use memchr::{memchr, memchr2, memchr3}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/turbo_benchmark.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/transformer.rs:264:72 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn decode_single_patch(&mut self, global_output: &Array2, patch: &Patch) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/turbo_benchmark.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/transformer.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | let mut output = Array2::zeros((seq_len, self.hidden_dim)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/transformer.rs:498:58 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn forward_streaming(&self, query: &Array2, context: &Array3) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/optimized_entropy.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut entropy_table_f32 = vec![0.0f32; LOOKUP_TABLE_SIZE]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/optimized_entropy.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut entropy_table_simd = vec![f32x8::ZERO; LOOKUP_TABLE_SIZE / SIMD_CHUNK_SIZE]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entropy_calc` [INFO] [stdout] --> src/turbo_benchmark.rs:116:84 [INFO] [stdout] | [INFO] [stdout] 116 | ...fig: &ByteForgeConfig, entropy_calc: &UltraFastEntropyCalculator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entropy_calc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turbo_patcher` [INFO] [stdout] --> src/turbo_benchmark.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | let turbo_patcher = TurboMultiSignalPatcher::new(Arc::new(simd_calc)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turbo_patcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/transformer.rs:264:72 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn decode_single_patch(&mut self, global_output: &Array2, patch: &Patch) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generated_size` is never read [INFO] [stdout] --> src/turbo_benchmark.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | generated_size += remaining; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/transformer.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | let mut output = Array2::zeros((seq_len, self.hidden_dim)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/transformer.rs:498:58 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn forward_streaming(&self, query: &Array2, context: &Array3) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern_cache`, `ngram_counts`, `rolling_hash`, and `window_buffer` are never read [INFO] [stdout] --> src/patching.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MultiSignalPatcher { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pattern_cache: AHashMap, f32>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | ngram_counts: AHashMap, u32>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | rolling_hash: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | window_buffer: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rolling_hash_state` is never read [INFO] [stdout] --> src/entropy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UltraFastEntropyCalculator { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 11 | ngram_entropy_table: Vec, [INFO] [stdout] 12 | rolling_hash_state: RollingHashState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `patch_embeddings`, and `position_embeddings` are never read [INFO] [stdout] --> src/transformer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ByteForgeTransformer { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 7 | config: ByteForgeConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | patch_embeddings: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | position_embeddings: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteForgeTransformer` 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 `dropout` is never read [INFO] [stdout] --> src/transformer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct LocalEncoder { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | dropout: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalEncoder` 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 `num_heads` is never read [INFO] [stdout] --> src/transformer.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub struct MultiHeadAttention { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 458 | num_heads: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiHeadAttention` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hidden_dim` and `num_heads` are never read [INFO] [stdout] --> src/transformer.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub struct EfficientAttention { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 506 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 507 | num_heads: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EfficientAttention` 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 `hidden_dim` is never read [INFO] [stdout] --> src/transformer.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 526 | pub struct LinearAttention { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 527 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearAttention` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hidden_dim` and `intermediate_dim` are never read [INFO] [stdout] --> src/transformer.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct FeedForward { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 550 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 551 | intermediate_dim: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedForward` 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 `hidden_dim` is never read [INFO] [stdout] --> src/transformer.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 580 | pub struct LayerNorm { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 581 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerNorm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hidden_dim` and `complexity_predictor` are never read [INFO] [stdout] --> src/transformer.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 625 | pub struct AdaptiveComputation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 626 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 627 | complexity_predictor: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaptiveComputation` 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 `config` is never read [INFO] [stdout] --> src/training.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Trainer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 22 | config: TrainingConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CACHE_LINE_SIZE` is never used [INFO] [stdout] --> src/optimized_entropy.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CACHE_LINE_SIZE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash_coefficients` and `hash_buffer_pool` are never read [INFO] [stdout] --> src/optimized_entropy.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SIMDEntropyCalculator { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | hash_coefficients: [u64; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | hash_buffer_pool: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SIMDEntropyCalculator` 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 `compression_threshold`, `patch_pool`, and `boundary_pool` are never read [INFO] [stdout] --> src/optimized_patching.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TurboMultiSignalPatcher { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | compression_threshold: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | patch_pool: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | boundary_pool: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurboMultiSignalPatcher` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/optimized_entropy.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut entropy_table_f32 = vec![0.0f32; LOOKUP_TABLE_SIZE]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/optimized_entropy.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut entropy_table_simd = vec![f32x8::ZERO; LOOKUP_TABLE_SIZE / SIMD_CHUNK_SIZE]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entropy_calc` [INFO] [stdout] --> src/turbo_benchmark.rs:116:84 [INFO] [stdout] | [INFO] [stdout] 116 | ...fig: &ByteForgeConfig, entropy_calc: &UltraFastEntropyCalculator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entropy_calc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turbo_patcher` [INFO] [stdout] --> src/turbo_benchmark.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | let turbo_patcher = TurboMultiSignalPatcher::new(Arc::new(simd_calc)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_turbo_patcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generated_size` is never read [INFO] [stdout] --> src/turbo_benchmark.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 824 | generated_size += remaining; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern_cache`, `ngram_counts`, `rolling_hash`, and `window_buffer` are never read [INFO] [stdout] --> src/patching.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MultiSignalPatcher { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pattern_cache: AHashMap, f32>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | ngram_counts: AHashMap, u32>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | rolling_hash: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | window_buffer: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rolling_hash_state` is never read [INFO] [stdout] --> src/entropy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UltraFastEntropyCalculator { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 11 | ngram_entropy_table: Vec, [INFO] [stdout] 12 | rolling_hash_state: RollingHashState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `patch_embeddings` and `position_embeddings` are never read [INFO] [stdout] --> src/transformer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ByteForgeTransformer { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | patch_embeddings: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | position_embeddings: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteForgeTransformer` 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 `dropout` is never read [INFO] [stdout] --> src/transformer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct LocalEncoder { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | dropout: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalEncoder` 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 `num_heads` is never read [INFO] [stdout] --> src/transformer.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub struct MultiHeadAttention { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 458 | num_heads: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiHeadAttention` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hidden_dim` and `num_heads` are never read [INFO] [stdout] --> src/transformer.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub struct EfficientAttention { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 506 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 507 | num_heads: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EfficientAttention` 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 `hidden_dim` is never read [INFO] [stdout] --> src/transformer.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 526 | pub struct LinearAttention { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 527 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearAttention` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hidden_dim` and `intermediate_dim` are never read [INFO] [stdout] --> src/transformer.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct FeedForward { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 550 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 551 | intermediate_dim: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedForward` 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 `hidden_dim` is never read [INFO] [stdout] --> src/transformer.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 580 | pub struct LayerNorm { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 581 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerNorm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hidden_dim` and `complexity_predictor` are never read [INFO] [stdout] --> src/transformer.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 625 | pub struct AdaptiveComputation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 626 | hidden_dim: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 627 | complexity_predictor: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdaptiveComputation` 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 `config` is never read [INFO] [stdout] --> src/training.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Trainer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 22 | config: TrainingConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CACHE_LINE_SIZE` is never used [INFO] [stdout] --> src/optimized_entropy.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CACHE_LINE_SIZE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash_coefficients` and `hash_buffer_pool` are never read [INFO] [stdout] --> src/optimized_entropy.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SIMDEntropyCalculator { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | hash_coefficients: [u64; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | hash_buffer_pool: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SIMDEntropyCalculator` 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 `compression_threshold`, `patch_pool`, and `boundary_pool` are never read [INFO] [stdout] --> src/optimized_patching.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TurboMultiSignalPatcher { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | compression_threshold: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | patch_pool: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | boundary_pool: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurboMultiSignalPatcher` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transformer` [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut transformer = ByteForgeTransformer::new(config.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transformer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut transformer = ByteForgeTransformer::new(config.clone())?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | fn demonstrate_streaming(config: &ByteForgeConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transformer` [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut transformer = ByteForgeTransformer::new(config.clone())?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transformer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `generated_size` is never read [INFO] [stdout] --> examples/turbo_10gb.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | generated_size += remaining; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut transformer = ByteForgeTransformer::new(config.clone())?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | fn demonstrate_streaming(config: &ByteForgeConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.24s [INFO] running `Command { std: "docker" "inspect" "2d5bf7e4ed1a16f59bc3cc6d7461a8e33e8eab447fc2e0ae8f8d29d6039d4cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5bf7e4ed1a16f59bc3cc6d7461a8e33e8eab447fc2e0ae8f8d29d6039d4cba", kill_on_drop: false }` [INFO] [stdout] 2d5bf7e4ed1a16f59bc3cc6d7461a8e33e8eab447fc2e0ae8f8d29d6039d4cba