[INFO] cloning repository https://github.com/ksks2012/improved-broccoli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ksks2012/improved-broccoli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksks2012%2Fimproved-broccoli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksks2012%2Fimproved-broccoli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21eab429119c2b0700bfb3dac566cf27d6417ef6
[INFO] checking ksks2012/improved-broccoli against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksks2012%2Fimproved-broccoli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ksks2012/improved-broccoli
[INFO] removed 1 missing examples
[INFO] finished tweaking git repo https://github.com/ksks2012/improved-broccoli
[INFO] tweaked toml for git repo https://github.com/ksks2012/improved-broccoli written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ksks2012/improved-broccoli on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ksks2012/improved-broccoli 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] beec0fdb2c26639ee84a98d72c1e6a4dfc4a66482656d4d6af4daa84494f7298
[INFO] running `Command { std: "docker" "start" "-a" "beec0fdb2c26639ee84a98d72c1e6a4dfc4a66482656d4d6af4daa84494f7298", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "beec0fdb2c26639ee84a98d72c1e6a4dfc4a66482656d4d6af4daa84494f7298", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "beec0fdb2c26639ee84a98d72c1e6a4dfc4a66482656d4d6af4daa84494f7298", kill_on_drop: false }`
[INFO] [stdout] beec0fdb2c26639ee84a98d72c1e6a4dfc4a66482656d4d6af4daa84494f7298
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f07c9def656483f59d3dcd274cfb54ba610edad5a5ebe91bdf5415fe62cf612
[INFO] running `Command { std: "docker" "start" "-a" "9f07c9def656483f59d3dcd274cfb54ba610edad5a5ebe91bdf5415fe62cf612", kill_on_drop: false }`
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking cautious-waddle v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FrameType`
[INFO] [stdout]  --> src/jxl_decoder.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::frame_header::{FrameHeader, FrameEncoding, FrameType};
[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::f32::consts::PI`
[INFO] [stdout]  --> src/color_transform.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JxlError`
[INFO] [stdout]  --> src/quantization.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::{JxlError, JxlResult};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnsSymbolTable`
[INFO] [stdout]  --> src/real_decoder.rs:4:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::ans_decoder::{AnsDecoder, AnsSymbolTable};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dezigzag_coefficients`
[INFO] [stdout]  --> src/real_decoder.rs:5:68
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::quantization::{QuantizationMatrixSet, DCT_COEFFICIENTS, dezigzag_coefficients};
[INFO] [stdout]   |                                                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PredictorType`
[INFO] [stdout]  --> src/modular_decoder.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::predictor::{PredictorSystem, PredictorType};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AnsState` and `AnsSymbolTable`
[INFO] [stdout]  --> src/modular_decoder.rs:5:38
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ans_decoder::{AnsDecoder, AnsSymbolTable, AnsState};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JxlError`
[INFO] [stdout]  --> src/vardct_decoder.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::{JxlError, JxlResult};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnsDistribution`
[INFO] [stdout]  --> src/vardct_decoder.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ans_decoder::{AnsDecoder, AnsDistribution};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub use real_decoder::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ the name `VarDctDecoder` in the type namespace is first re-exported here
[INFO] [stdout] 27 | pub use modular_decoder::*;
[INFO] [stdout] 28 | pub use vardct_decoder::*;
[INFO] [stdout]    |         ----------------- but the name `VarDctDecoder` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout]    = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vardct_decoder::*`
[INFO] [stdout]   --> src/lib.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use vardct_decoder::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FrameType`
[INFO] [stdout]  --> src/jxl_decoder.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::frame_header::{FrameHeader, FrameEncoding, FrameType};
[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::f32::consts::PI`
[INFO] [stdout]  --> src/color_transform.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JxlError`
[INFO] [stdout]  --> src/quantization.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::{JxlError, JxlResult};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnsSymbolTable`
[INFO] [stdout]  --> src/real_decoder.rs:4:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::ans_decoder::{AnsDecoder, AnsSymbolTable};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dezigzag_coefficients`
[INFO] [stdout]  --> src/real_decoder.rs:5:68
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::quantization::{QuantizationMatrixSet, DCT_COEFFICIENTS, dezigzag_coefficients};
[INFO] [stdout]   |                                                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PredictorType`
[INFO] [stdout]  --> src/modular_decoder.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::predictor::{PredictorSystem, PredictorType};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AnsState` and `AnsSymbolTable`
[INFO] [stdout]  --> src/modular_decoder.rs:5:38
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ans_decoder::{AnsDecoder, AnsSymbolTable, AnsState};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JxlError`
[INFO] [stdout]  --> src/vardct_decoder.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::{JxlError, JxlResult};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnsDistribution`
[INFO] [stdout]  --> src/vardct_decoder.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ans_decoder::{AnsDecoder, AnsDistribution};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub use real_decoder::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ the name `VarDctDecoder` in the type namespace is first re-exported here
[INFO] [stdout] 27 | pub use modular_decoder::*;
[INFO] [stdout] 28 | pub use vardct_decoder::*;
[INFO] [stdout]    |         ----------------- but the name `VarDctDecoder` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout]    = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vardct_decoder::*`
[INFO] [stdout]   --> src/lib.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use vardct_decoder::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/jxl_decoder.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let mut pos = 2; // Skip FF 0A
[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]    --> src/jxl_decoder.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let mut pos = 2; // Skip FF 0A
[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]    --> src/ans_decoder.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 |             let mut frequencies = vec![tab_size];
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/ans_decoder.rs:239:21
[INFO] [stdout]     |
[INFO] [stdout] 239 |                 for i in 0..alphabet_size {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/ans_decoder.rs:264:21
[INFO] [stdout]     |
[INFO] [stdout] 264 |                 for i in 0..alphabet_size {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `frequencies` is never read
[INFO] [stdout]    --> src/ans_decoder.rs:223:31
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let mut frequencies = Vec::new();
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ans_decoder.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let mut remaining = tab_size;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/ans_decoder.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |         reader: &mut BitstreamReader,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remaining`
[INFO] [stdout]    --> src/ans_decoder.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let mut remaining = tab_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `component`
[INFO] [stdout]    --> src/real_decoder.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |         component: usize,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]    --> src/real_decoder.rs:217:48
[INFO] [stdout]     |
[INFO] [stdout] 217 |     fn get_ac_context(&self, coeff_idx: usize, strategy: &AcStrategy) -> usize {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree_depth`
[INFO] [stdout]    --> src/real_decoder.rs:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let tree_depth = reader.read_bits(4)? as usize;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predictor_count`
[INFO] [stdout]    --> src/real_decoder.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let predictor_count = reader.read_u32()? as usize;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predictor_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/modular_decoder.rs:904:17
[INFO] [stdout]     |
[INFO] [stdout] 904 |             for i in 0..num_clusters {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nested_num_clusters` is assigned to, but never used
[INFO] [stdout]     --> src/modular_decoder.rs:1050:17
[INFO] [stdout]      |
[INFO] [stdout] 1050 |             let nested_num_clusters;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_nested_num_clusters` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nested_num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1058:17
[INFO] [stdout]      |
[INFO] [stdout] 1058 |                 nested_num_clusters = 1;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nested_num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1053:17
[INFO] [stdout]      |
[INFO] [stdout] 1053 |                 nested_num_clusters = 1;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1144:32
[INFO] [stdout]      |
[INFO] [stdout] 1144 |         let mut num_clusters = 0usize;
[INFO] [stdout]      |                                ^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1147:17
[INFO] [stdout]      |
[INFO] [stdout] 1147 |                 num_clusters = i + 1;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits`
[INFO] [stdout]     --> src/modular_decoder.rs:1247:13
[INFO] [stdout]      |
[INFO] [stdout] 1247 |         let bits = reader.peek_bits(max_len.max(1))?;
[INFO] [stdout]      |             ^^^^ help: if this is intentional, prefix it with an underscore: `_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/modular_decoder.rs:1497:13
[INFO] [stdout]      |
[INFO] [stdout] 1497 |         let mut entry = TABLE[bits as usize];
[INFO] [stdout]      |             ----^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]     --> src/modular_decoder.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let max_len = 7usize;
[INFO] [stdout]      |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha_size`
[INFO] [stdout]     --> src/modular_decoder.rs:1537:13
[INFO] [stdout]      |
[INFO] [stdout] 1537 |         let alpha_size = 1usize << log_alpha_size;
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_size`
[INFO] [stdout]     --> src/modular_decoder.rs:1538:13
[INFO] [stdout]      |
[INFO] [stdout] 1538 |         let table_size = 1u32 << 12; // ANS_LOG_TAB_SIZE = 12
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist_mult`
[INFO] [stdout]     --> src/modular_decoder.rs:1834:13
[INFO] [stdout]      |
[INFO] [stdout] 1834 |         let dist_mult = width.max(1) as i32;  // Distance multiplier for LZ77
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_mult`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]     --> src/modular_decoder.rs:2361:37
[INFO] [stdout]      |
[INFO] [stdout] 2361 |     fn apply_inverse_palette(&self, channels: &mut Vec<ModularChannel>, begin_c: usize, num_c: usize, 
[INFO] [stdout]      |                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nb_deltas`
[INFO] [stdout]     --> src/modular_decoder.rs:2362:48
[INFO] [stdout]      |
[INFO] [stdout] 2362 | ...                   nb_colours: usize, nb_deltas: usize, d_pred: u8) -> JxlResult<()> {
[INFO] [stdout]      |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_deltas`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_pred`
[INFO] [stdout]     --> src/modular_decoder.rs:2362:66
[INFO] [stdout]      |
[INFO] [stdout] 2362 | ...                   nb_colours: usize, nb_deltas: usize, d_pred: u8) -> JxlResult<()> {
[INFO] [stdout]      |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]     --> src/modular_decoder.rs:2579:45
[INFO] [stdout]      |
[INFO] [stdout] 2579 |     fn apply_inverse_ycocg_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/vardct_decoder.rs:120:37
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn decode_all_groups(&mut self, reader: &mut BitstreamReader) -> JxlResult<Vec<u8>> {
[INFO] [stdout]     |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vardct_decoder.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut coefficients = vec![0.0f32; group_pixels];
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/vardct_decoder.rs:142:60
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn decode_group(&mut self, group_x: u32, group_y: u32, reader: &mut BitstreamReader) -> JxlResult<Vec<f32>> {
[INFO] [stdout]     |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]    --> src/transform_tree.rs:240:37
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn apply_inverse_palette(&self, channels: &mut Vec<Vec<i32>>, _width: usize, _height: usize) -> JxlResult<()> {
[INFO] [stdout]     |                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/predictor.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let idx = y * width + x;
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c6`
[INFO] [stdout]    --> src/minimal_modular_encoder.rs:318:42
[INFO] [stdout]     |
[INFO] [stdout] 318 |                        c4: u32, c5: u32, c6: u32, c7: u32) -> JxlResult<()> {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_c6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_state`
[INFO] [stdout]    --> src/entropy_code.rs:526:13
[INFO] [stdout]     |
[INFO] [stdout] 526 |         let old_state = self.ans_state;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_dist`
[INFO] [stdout]    --> src/entropy_code.rs:839:5
[INFO] [stdout]     |
[INFO] [stdout] 839 |     num_dist: usize,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ans_decoder.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 |             let mut frequencies = vec![tab_size];
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/ans_decoder.rs:239:21
[INFO] [stdout]     |
[INFO] [stdout] 239 |                 for i in 0..alphabet_size {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/ans_decoder.rs:264:21
[INFO] [stdout]     |
[INFO] [stdout] 264 |                 for i in 0..alphabet_size {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `frequencies` is never read
[INFO] [stdout]    --> src/ans_decoder.rs:223:31
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let mut frequencies = Vec::new();
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ans_decoder.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let mut remaining = tab_size;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/ans_decoder.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |         reader: &mut BitstreamReader,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remaining`
[INFO] [stdout]    --> src/ans_decoder.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let mut remaining = tab_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_clusters`
[INFO] [stdout]     --> src/entropy_code.rs:1298:9
[INFO] [stdout]      |
[INFO] [stdout] 1298 |     let num_clusters = *cluster_map.iter().max().unwrap_or(&0) as usize + 1;
[INFO] [stdout]      |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_clusters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `color_transform`, `ans_decoder`, and `dct_processor` are never read
[INFO] [stdout]    --> src/jxl_decoder.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct JxlDecoder {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     color_transform: ColorTransform,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 115 |     quantization: QuantizationMatrixSet,
[INFO] [stdout] 116 |     ans_decoder: AnsDecoder,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 117 |     dct_processor: ColorComponentTransform,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_f16` and `parse_extensions` are never used
[INFO] [stdout]    --> src/jxl_decoder.rs:552:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl JxlDecoder {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 552 |     fn read_f16(&mut self, reader: &mut BitstreamReader) -> JxlResult<f32> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 560 |     fn parse_extensions(&mut self, reader: &mut BitstreamReader) -> JxlResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `idct_1d` is never used
[INFO] [stdout]   --> src/inverse_dct.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl InverseDct {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn idct_1d(&self, input: &[f32; DCT_BLOCK_SIZE]) -> [f32; DCT_BLOCK_SIZE] {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transform_tree`, `predictors`, and `ans_decoder` are never read
[INFO] [stdout]    --> src/modular_decoder.rs:407:5
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct ModularDecoder {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 407 |     transform_tree: Option<TransformNode>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |     predictors: Vec<PredictorSystem>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 411 |     ans_decoder: AnsDecoder,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]     --> src/modular_decoder.rs:1536:8
[INFO] [stdout]      |
[INFO] [stdout]  423 | impl ModularDecoder {
[INFO] [stdout]      | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1536 |     fn skip_ans_distribution(&self, reader: &mut BitstreamReader, log_alpha_size: u32) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1800 |     fn decode_channel_coefficients(&mut self, reader: &mut BitstreamReader, channel_idx: usize) -> JxlResult<Vec<i32>> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2195 |     fn weighted_predictor(w: i32, n: i32, nw: i32, ne: i32, nn: i32) -> i32 {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2210 |     fn apply_transform_tree_inverse(&self, transform_tree: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2412 |     fn apply_inverse_palette_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2431 |     fn apply_inverse_rct_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2461 |     fn apply_inverse_squeeze_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2579 |     fn apply_inverse_ycocg_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2606 |     fn apply_inverse_xyb_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bit_depth`, `group_dim`, and `inverse_dct` are never read
[INFO] [stdout]   --> src/vardct_decoder.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct VarDctDecoder {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     bit_depth: u8,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     group_dim: u32,        // Group dimension (typically 256)
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     inverse_dct: InverseDct,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `decode_group` and `inverse_dct_block` are never used
[INFO] [stdout]    --> src/vardct_decoder.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl VarDctDecoder {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn decode_group(&mut self, group_x: u32, group_y: u32, reader: &mut BitstreamReader) -> JxlResult<Vec<f32>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn inverse_dct_block(&self, coefficients: &[f32; 64]) -> [f32; 64] {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `multiplier` is never read
[INFO] [stdout]   --> src/predictor.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct PredictorSystem {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 50 |     predictor_type: PredictorType,
[INFO] [stdout] 51 |     multiplier: Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bit_depth` is never read
[INFO] [stdout]   --> src/minimal_modular_encoder.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MinimalModularEncoder {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     bit_depth: u8,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_u32` is never used
[INFO] [stdout]    --> src/minimal_modular_encoder.rs:294:8
[INFO] [stdout]     |
[INFO] [stdout] 259 | impl BitstreamWriter {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 294 |     fn write_u32(&mut self, value: u32) -> JxlResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `component`
[INFO] [stdout]    --> src/real_decoder.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |         component: usize,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `D` should have a snake case name
[INFO] [stdout]     --> src/modular_decoder.rs:1297:17
[INFO] [stdout]      |
[INFO] [stdout] 1297 |         let mut D = vec![0i16; table_size];
[INFO] [stdout]      |                 ^ help: convert the identifier to snake case: `d`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]    --> src/real_decoder.rs:217:48
[INFO] [stdout]     |
[INFO] [stdout] 217 |     fn get_ac_context(&self, coeff_idx: usize, strategy: &AcStrategy) -> usize {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree_depth`
[INFO] [stdout]    --> src/real_decoder.rs:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let tree_depth = reader.read_bits(4)? as usize;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predictor_count`
[INFO] [stdout]    --> src/real_decoder.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let predictor_count = reader.read_u32()? as usize;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predictor_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/modular_decoder.rs:1616:31
[INFO] [stdout]      |
[INFO] [stdout] 1616 |             Some(spec) => spec.clone(),
[INFO] [stdout]      |                               ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `CodeSpec` does not implement `Clone`, so calling `clone` on `&CodeSpec` copies the reference, which does not do anything and can be removed
[INFO] [stdout]      = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout] 1616 -             Some(spec) => spec.clone(),
[INFO] [stdout] 1616 +             Some(spec) => spec,
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `CodeSpec`, implement `Clone` for it
[INFO] [stdout]     -->  src/entropy_code.rs:220:1
[INFO] [stdout]      |
[INFO] [stdout]  220 + #[derive(Clone)]
[INFO] [stdout]  221 | pub struct CodeSpec {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/modular_decoder.rs:1807:31
[INFO] [stdout]      |
[INFO] [stdout] 1807 |             Some(spec) => spec.clone(),  // Clone to avoid borrow issues
[INFO] [stdout]      |                               ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `CodeSpec` does not implement `Clone`, so calling `clone` on `&CodeSpec` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout] 1807 -             Some(spec) => spec.clone(),  // Clone to avoid borrow issues
[INFO] [stdout] 1807 +             Some(spec) => spec,  // Clone to avoid borrow issues
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `CodeSpec`, implement `Clone` for it
[INFO] [stdout]     -->  src/entropy_code.rs:220:1
[INFO] [stdout]      |
[INFO] [stdout]  220 + #[derive(Clone)]
[INFO] [stdout]  221 | pub struct CodeSpec {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cautious-waddle` (lib) due to 2 previous errors; 60 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/modular_decoder.rs:904:17
[INFO] [stdout]     |
[INFO] [stdout] 904 |             for i in 0..num_clusters {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nested_num_clusters` is assigned to, but never used
[INFO] [stdout]     --> src/modular_decoder.rs:1050:17
[INFO] [stdout]      |
[INFO] [stdout] 1050 |             let nested_num_clusters;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_nested_num_clusters` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nested_num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1058:17
[INFO] [stdout]      |
[INFO] [stdout] 1058 |                 nested_num_clusters = 1;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nested_num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1053:17
[INFO] [stdout]      |
[INFO] [stdout] 1053 |                 nested_num_clusters = 1;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1144:32
[INFO] [stdout]      |
[INFO] [stdout] 1144 |         let mut num_clusters = 0usize;
[INFO] [stdout]      |                                ^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_clusters` is never read
[INFO] [stdout]     --> src/modular_decoder.rs:1147:17
[INFO] [stdout]      |
[INFO] [stdout] 1147 |                 num_clusters = i + 1;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bits`
[INFO] [stdout]     --> src/modular_decoder.rs:1247:13
[INFO] [stdout]      |
[INFO] [stdout] 1247 |         let bits = reader.peek_bits(max_len.max(1))?;
[INFO] [stdout]      |             ^^^^ help: if this is intentional, prefix it with an underscore: `_bits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/modular_decoder.rs:1497:13
[INFO] [stdout]      |
[INFO] [stdout] 1497 |         let mut entry = TABLE[bits as usize];
[INFO] [stdout]      |             ----^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]     --> src/modular_decoder.rs:1493:13
[INFO] [stdout]      |
[INFO] [stdout] 1493 |         let max_len = 7usize;
[INFO] [stdout]      |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha_size`
[INFO] [stdout]     --> src/modular_decoder.rs:1537:13
[INFO] [stdout]      |
[INFO] [stdout] 1537 |         let alpha_size = 1usize << log_alpha_size;
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_size`
[INFO] [stdout]     --> src/modular_decoder.rs:1538:13
[INFO] [stdout]      |
[INFO] [stdout] 1538 |         let table_size = 1u32 << 12; // ANS_LOG_TAB_SIZE = 12
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist_mult`
[INFO] [stdout]     --> src/modular_decoder.rs:1834:13
[INFO] [stdout]      |
[INFO] [stdout] 1834 |         let dist_mult = width.max(1) as i32;  // Distance multiplier for LZ77
[INFO] [stdout]      |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_mult`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]     --> src/modular_decoder.rs:2361:37
[INFO] [stdout]      |
[INFO] [stdout] 2361 |     fn apply_inverse_palette(&self, channels: &mut Vec<ModularChannel>, begin_c: usize, num_c: usize, 
[INFO] [stdout]      |                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nb_deltas`
[INFO] [stdout]     --> src/modular_decoder.rs:2362:48
[INFO] [stdout]      |
[INFO] [stdout] 2362 | ...                   nb_colours: usize, nb_deltas: usize, d_pred: u8) -> JxlResult<()> {
[INFO] [stdout]      |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_deltas`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_pred`
[INFO] [stdout]     --> src/modular_decoder.rs:2362:66
[INFO] [stdout]      |
[INFO] [stdout] 2362 | ...                   nb_colours: usize, nb_deltas: usize, d_pred: u8) -> JxlResult<()> {
[INFO] [stdout]      |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]     --> src/modular_decoder.rs:2579:45
[INFO] [stdout]      |
[INFO] [stdout] 2579 |     fn apply_inverse_ycocg_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/vardct_decoder.rs:120:37
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn decode_all_groups(&mut self, reader: &mut BitstreamReader) -> JxlResult<Vec<u8>> {
[INFO] [stdout]     |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vardct_decoder.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut coefficients = vec![0.0f32; group_pixels];
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/vardct_decoder.rs:142:60
[INFO] [stdout]     |
[INFO] [stdout] 142 |     fn decode_group(&mut self, group_x: u32, group_y: u32, reader: &mut BitstreamReader) -> JxlResult<Vec<f32>> {
[INFO] [stdout]     |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channels`
[INFO] [stdout]    --> src/transform_tree.rs:240:37
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn apply_inverse_palette(&self, channels: &mut Vec<Vec<i32>>, _width: usize, _height: usize) -> JxlResult<()> {
[INFO] [stdout]     |                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]   --> src/predictor.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let idx = y * width + x;
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c6`
[INFO] [stdout]    --> src/minimal_modular_encoder.rs:318:42
[INFO] [stdout]     |
[INFO] [stdout] 318 |                        c4: u32, c5: u32, c6: u32, c7: u32) -> JxlResult<()> {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_c6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_state`
[INFO] [stdout]    --> src/entropy_code.rs:526:13
[INFO] [stdout]     |
[INFO] [stdout] 526 |         let old_state = self.ans_state;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_dist`
[INFO] [stdout]    --> src/entropy_code.rs:839:5
[INFO] [stdout]     |
[INFO] [stdout] 839 |     num_dist: usize,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_clusters`
[INFO] [stdout]     --> src/entropy_code.rs:1298:9
[INFO] [stdout]      |
[INFO] [stdout] 1298 |     let num_clusters = *cluster_map.iter().max().unwrap_or(&0) as usize + 1;
[INFO] [stdout]      |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_clusters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `color_transform`, `ans_decoder`, and `dct_processor` are never read
[INFO] [stdout]    --> src/jxl_decoder.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct JxlDecoder {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     color_transform: ColorTransform,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 115 |     quantization: QuantizationMatrixSet,
[INFO] [stdout] 116 |     ans_decoder: AnsDecoder,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 117 |     dct_processor: ColorComponentTransform,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_f16` and `parse_extensions` are never used
[INFO] [stdout]    --> src/jxl_decoder.rs:552:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl JxlDecoder {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 552 |     fn read_f16(&mut self, reader: &mut BitstreamReader) -> JxlResult<f32> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 560 |     fn parse_extensions(&mut self, reader: &mut BitstreamReader) -> JxlResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `idct_1d` is never used
[INFO] [stdout]   --> src/inverse_dct.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl InverseDct {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn idct_1d(&self, input: &[f32; DCT_BLOCK_SIZE]) -> [f32; DCT_BLOCK_SIZE] {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transform_tree`, `predictors`, and `ans_decoder` are never read
[INFO] [stdout]    --> src/modular_decoder.rs:407:5
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct ModularDecoder {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 407 |     transform_tree: Option<TransformNode>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |     predictors: Vec<PredictorSystem>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 411 |     ans_decoder: AnsDecoder,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]     --> src/modular_decoder.rs:1536:8
[INFO] [stdout]      |
[INFO] [stdout]  423 | impl ModularDecoder {
[INFO] [stdout]      | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1536 |     fn skip_ans_distribution(&self, reader: &mut BitstreamReader, log_alpha_size: u32) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1800 |     fn decode_channel_coefficients(&mut self, reader: &mut BitstreamReader, channel_idx: usize) -> JxlResult<Vec<i32>> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2195 |     fn weighted_predictor(w: i32, n: i32, nw: i32, ne: i32, nn: i32) -> i32 {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2210 |     fn apply_transform_tree_inverse(&self, transform_tree: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2412 |     fn apply_inverse_palette_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2431 |     fn apply_inverse_rct_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2461 |     fn apply_inverse_squeeze_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2579 |     fn apply_inverse_ycocg_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2606 |     fn apply_inverse_xyb_transform(&self, node: &TransformNode, channels: &mut Vec<ModularChannel>) -> JxlResult<()> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bit_depth`, `group_dim`, and `inverse_dct` are never read
[INFO] [stdout]   --> src/vardct_decoder.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct VarDctDecoder {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     bit_depth: u8,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     group_dim: u32,        // Group dimension (typically 256)
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     inverse_dct: InverseDct,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `decode_group` and `inverse_dct_block` are never used
[INFO] [stdout]    --> src/vardct_decoder.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl VarDctDecoder {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn decode_group(&mut self, group_x: u32, group_y: u32, reader: &mut BitstreamReader) -> JxlResult<Vec<f32>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn inverse_dct_block(&self, coefficients: &[f32; 64]) -> [f32; 64] {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `multiplier` is never read
[INFO] [stdout]   --> src/predictor.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct PredictorSystem {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 50 |     predictor_type: PredictorType,
[INFO] [stdout] 51 |     multiplier: Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bit_depth` is never read
[INFO] [stdout]   --> src/minimal_modular_encoder.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MinimalModularEncoder {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     bit_depth: u8,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_u32` is never used
[INFO] [stdout]    --> src/minimal_modular_encoder.rs:294:8
[INFO] [stdout]     |
[INFO] [stdout] 259 | impl BitstreamWriter {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 294 |     fn write_u32(&mut self, value: u32) -> JxlResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `D` should have a snake case name
[INFO] [stdout]     --> src/modular_decoder.rs:1297:17
[INFO] [stdout]      |
[INFO] [stdout] 1297 |         let mut D = vec![0i16; table_size];
[INFO] [stdout]      |                 ^ help: convert the identifier to snake case: `d`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/modular_decoder.rs:1616:31
[INFO] [stdout]      |
[INFO] [stdout] 1616 |             Some(spec) => spec.clone(),
[INFO] [stdout]      |                               ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `CodeSpec` does not implement `Clone`, so calling `clone` on `&CodeSpec` copies the reference, which does not do anything and can be removed
[INFO] [stdout]      = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout] 1616 -             Some(spec) => spec.clone(),
[INFO] [stdout] 1616 +             Some(spec) => spec,
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `CodeSpec`, implement `Clone` for it
[INFO] [stdout]     -->  src/entropy_code.rs:220:1
[INFO] [stdout]      |
[INFO] [stdout]  220 + #[derive(Clone)]
[INFO] [stdout]  221 | pub struct CodeSpec {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> src/modular_decoder.rs:1807:31
[INFO] [stdout]      |
[INFO] [stdout] 1807 |             Some(spec) => spec.clone(),  // Clone to avoid borrow issues
[INFO] [stdout]      |                               ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `CodeSpec` does not implement `Clone`, so calling `clone` on `&CodeSpec` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]      |
[INFO] [stdout] 1807 -             Some(spec) => spec.clone(),  // Clone to avoid borrow issues
[INFO] [stdout] 1807 +             Some(spec) => spec,  // Clone to avoid borrow issues
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to clone `CodeSpec`, implement `Clone` for it
[INFO] [stdout]     -->  src/entropy_code.rs:220:1
[INFO] [stdout]      |
[INFO] [stdout]  220 + #[derive(Clone)]
[INFO] [stdout]  221 | pub struct CodeSpec {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cautious-waddle` (lib test) due to 2 previous errors; 60 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9f07c9def656483f59d3dcd274cfb54ba610edad5a5ebe91bdf5415fe62cf612", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f07c9def656483f59d3dcd274cfb54ba610edad5a5ebe91bdf5415fe62cf612", kill_on_drop: false }`
[INFO] [stdout] 9f07c9def656483f59d3dcd274cfb54ba610edad5a5ebe91bdf5415fe62cf612
