[INFO] cloning repository https://github.com/piedshag/lm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/piedshag/lm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiedshag%2Flm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiedshag%2Flm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a15e71fe1e897517f97c69514adf79f79d11dd9f
[INFO] checking piedshag/lm against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiedshag%2Flm" "/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/piedshag/lm
[INFO] finished tweaking git repo https://github.com/piedshag/lm
[INFO] tweaked toml for git repo https://github.com/piedshag/lm written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/piedshag/lm on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/piedshag/lm 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ba6617e804a406c43f7a37b8eb1d7ea1cc5a2a2ce76423bb737df1e0f0935d81
[INFO] running `Command { std: "docker" "start" "-a" "ba6617e804a406c43f7a37b8eb1d7ea1cc5a2a2ce76423bb737df1e0f0935d81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba6617e804a406c43f7a37b8eb1d7ea1cc5a2a2ce76423bb737df1e0f0935d81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba6617e804a406c43f7a37b8eb1d7ea1cc5a2a2ce76423bb737df1e0f0935d81", kill_on_drop: false }`
[INFO] [stdout] ba6617e804a406c43f7a37b8eb1d7ea1cc5a2a2ce76423bb737df1e0f0935d81
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 58d1e56fd1e5a269a533d4e49ce8bcc1c61a5b6430a4d764123a708fb4f388cd
[INFO] running `Command { std: "docker" "start" "-a" "58d1e56fd1e5a269a533d4e49ce8bcc1c61a5b6430a4d764123a708fb4f388cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling pulp v0.21.5
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking raw-cpuid v11.5.0
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]    Compiling cubecl-common v0.6.0
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking embassy-futures v0.1.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking zlib-rs v0.5.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking futures-lite v2.6.0
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling protobuf v3.7.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking thread-tree v0.3.3
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking unicode-ident v1.0.18
[INFO] [stderr]    Compiling macerator v0.2.8
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking memmap2 v0.9.7
[INFO] [stderr]     Checking spin v0.10.0
[INFO] [stderr]     Checking rmp v0.8.14
[INFO] [stderr]     Checking libloading v0.8.8
[INFO] [stderr]     Checking libz-rs-sys v0.5.1
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking moddef v0.2.6
[INFO] [stderr]    Compiling rustls v0.23.29
[INFO] [stderr]     Checking unty v0.0.4
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]    Compiling burn-ndarray v0.18.0
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking libbz2-rs-sys v0.2.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling liblzma-sys v0.4.4
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking bumpalo v3.19.0
[INFO] [stderr]     Checking atomic_float v1.1.0
[INFO] [stderr]     Checking iri-string v0.7.8
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]     Checking zopfli v0.8.2
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking bzip2 v0.6.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking socks v0.3.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking deflate64 v0.1.9
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]     Checking ppmd-rust v1.2.1
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.2
[INFO] [stderr]     Checking clap_builder v4.5.42
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking rust-format v0.3.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking rayon-cond v0.4.0
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking macro_rules_attribute v0.2.2
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking sysinfo v0.30.13
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling bytemuck_derive v1.10.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling derive-new v0.7.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking dyn-stack v0.13.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking dyn-stack v0.10.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling num_enum_derive v0.7.4
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling protobuf-support v3.7.2
[INFO] [stderr]     Checking tokio v1.47.0
[INFO] [stderr]    Compiling macerator-macros v0.1.2
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking pulp v0.18.22
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking num_enum v0.7.4
[INFO] [stderr]     Checking rustls-webpki v0.103.4
[INFO] [stderr]     Checking webpki-roots v1.0.2
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling burn-derive v0.18.0
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking liblzma v0.4.2
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling monostate-impl v0.1.14
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking clap v4.5.42
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking half v2.6.0
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking rmp-serde v1.3.0
[INFO] [stderr]     Checking bincode v2.0.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking dary_heap v0.3.7
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling protobuf-parse v3.7.2
[INFO] [stderr]     Checking compact_str v0.9.0
[INFO] [stderr]     Checking spm_precompiled v0.1.4
[INFO] [stderr]     Checking monostate v0.1.14
[INFO] [stderr]     Checking gemm-common v0.18.2
[INFO] [stderr]     Checking gemm-common v0.17.1
[INFO] [stderr]     Checking safetensors v0.4.5
[INFO] [stderr]     Checking ndarray-rand v0.15.0
[INFO] [stderr]     Checking gemm-f32 v0.17.1
[INFO] [stderr]     Checking gemm-c64 v0.17.1
[INFO] [stderr]     Checking gemm-f32 v0.18.2
[INFO] [stderr]     Checking gemm-f64 v0.18.2
[INFO] [stderr]     Checking burn-common v0.18.0
[INFO] [stderr]     Checking gemm-c32 v0.18.2
[INFO] [stderr]     Checking burn-tensor v0.18.0
[INFO] [stderr]     Checking gemm-c64 v0.18.2
[INFO] [stderr]     Checking gemm-f64 v0.17.1
[INFO] [stderr]     Checking gemm-c32 v0.17.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking gemm-f16 v0.17.1
[INFO] [stderr]    Compiling protobuf-codegen v3.7.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.4.11
[INFO] [stderr]     Checking zip v4.3.0
[INFO] [stderr]     Checking gemm-f16 v0.18.2
[INFO] [stderr]     Checking ureq v2.12.1
[INFO] [stderr]     Checking tokenizers v0.21.2
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking gemm v0.17.1
[INFO] [stderr]     Checking gemm v0.18.2
[INFO] [stderr]     Checking ug v0.1.0
[INFO] [stderr]     Checking burn-ir v0.18.0
[INFO] [stderr]     Checking burn-autodiff v0.18.0
[INFO] [stderr]     Checking burn-core v0.18.0
[INFO] [stderr]     Checking candle-core v0.8.4
[INFO] [stderr]    Compiling onnx-ir v0.18.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking burn-candle v0.18.0
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.22
[INFO] [stderr]     Checking hf-hub v0.4.3
[INFO] [stderr]     Checking burn v0.18.0
[INFO] [stderr]     Checking burn-import v0.18.0
[INFO] [stderr]     Checking lm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Shape`, `activation`, and `module::Module`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     module::Module,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     tensor::{activation, backend::Backend, Int, Shape, Tensor, TensorData},
[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: `burn_ndarray::NdArray`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use burn_ndarray::NdArray;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Shape`, `activation`, and `module::Module`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     module::Module,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     tensor::{activation, backend::Backend, Int, Shape, Tensor, TensorData},
[INFO] [stdout]   |              ^^^^^^^^^^                         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileRecorder`, `HalfPrecisionSettings`, `LinearConfig`, `Linear`, `RotaryEncoding`, and `TensorPrimitive`
[INFO] [stdout]   --> src/qwen2.rs:8:84
[INFO] [stdout]    |
[INFO] [stdout]  8 |         self, attention::generate_autoregressive_mask, Embedding, EmbeddingConfig, Linear,
[INFO] [stdout]    |                                                                                    ^^^^^^
[INFO] [stdout]  9 |         LinearConfig, RmsNorm, RotaryEncoding,
[INFO] [stdout]    |         ^^^^^^^^^^^^           ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     },
[INFO] [stdout] 11 |     record::{FileRecorder, FullPrecisionSettings, HalfPrecisionSettings, Recorder, RecorderError},
[INFO] [stdout]    |              ^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |         activation, backend::Backend, Bool, Device, Int, Tensor, TensorData, TensorPrimitive,
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `burn_ndarray::NdArray`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use burn_ndarray::NdArray;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `burn_ndarray::NdArrayTensor`
[INFO] [stdout]   --> src/qwen2.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use burn_ndarray::NdArrayTensor;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq`
[INFO] [stdout]   --> src/qwen2.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rand::seq;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileRecorder`, `HalfPrecisionSettings`, `LinearConfig`, `Linear`, `RotaryEncoding`, and `TensorPrimitive`
[INFO] [stdout]   --> src/qwen2.rs:8:84
[INFO] [stdout]    |
[INFO] [stdout]  8 |         self, attention::generate_autoregressive_mask, Embedding, EmbeddingConfig, Linear,
[INFO] [stdout]    |                                                                                    ^^^^^^
[INFO] [stdout]  9 |         LinearConfig, RmsNorm, RotaryEncoding,
[INFO] [stdout]    |         ^^^^^^^^^^^^           ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     },
[INFO] [stdout] 11 |     record::{FileRecorder, FullPrecisionSettings, HalfPrecisionSettings, Recorder, RecorderError},
[INFO] [stdout]    |              ^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |         activation, backend::Backend, Bool, Device, Int, Tensor, TensorData, TensorPrimitive,
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `burn_ndarray::NdArrayTensor`
[INFO] [stdout]   --> src/qwen2.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use burn_ndarray::NdArrayTensor;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq`
[INFO] [stdout]   --> src/qwen2.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rand::seq;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/utils.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |       return;
[INFO] [stdout]    |       ------ any code following this expression is unreachable
[INFO] [stdout]  5 | /     println!(
[INFO] [stdout]  6 | |         "{} shape {:?} hash {}",
[INFO] [stdout]  7 | |         name,
[INFO] [stdout]  8 | |         tensor.dims(),
[INFO] [stdout]  9 | |         tensor_hash(tensor)
[INFO] [stdout] 10 | |     );
[INFO] [stdout]    | |_____^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/qwen2.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     serde::Deserialize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/utils.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |       return;
[INFO] [stdout]    |       ------ any code following this expression is unreachable
[INFO] [stdout]  5 | /     println!(
[INFO] [stdout]  6 | |         "{} shape {:?} hash {}",
[INFO] [stdout]  7 | |         name,
[INFO] [stdout]  8 | |         tensor.dims(),
[INFO] [stdout]  9 | |         tensor_hash(tensor)
[INFO] [stdout] 10 | |     );
[INFO] [stdout]    | |_____^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/qwen2.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     serde::Deserialize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]  --> src/utils.rs:3:49
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn print_tensor<B: Backend, const D: usize>(name: &str, tensor: &Tensor<B, D>) {
[INFO] [stdout]   |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]  --> src/utils.rs:3:49
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn print_tensor<B: Backend, const D: usize>(name: &str, tensor: &Tensor<B, D>) {
[INFO] [stdout]   |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor`
[INFO] [stdout]  --> src/utils.rs:3:61
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn print_tensor<B: Backend, const D: usize>(name: &str, tensor: &Tensor<B, D>) {
[INFO] [stdout]   |                                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor`
[INFO] [stdout]  --> src/utils.rs:3:61
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn print_tensor<B: Backend, const D: usize>(name: &str, tensor: &Tensor<B, D>) {
[INFO] [stdout]   |                                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let args = Args::parse();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let args = Args::parse();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_model_name` is never used
[INFO] [stdout]   --> src/main.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Models {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 47 |     fn get_model_name(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_model` is never used
[INFO] [stdout]   --> src/main.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn run_model<B: Backend>(args: Args, device: Device<B>) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate` is never used
[INFO] [stdout]    --> src/main.rs:167:4
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn generate<B: Backend>(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_stats` is never used
[INFO] [stdout]  --> src/bpe.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_stats(ids: &[u16]) -> Option<(u16, u16)> {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_bytes` is never used
[INFO] [stdout]   --> src/bpe.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn merge_bytes(ids: &[u16], pair: (u16, u16), idx: u16) -> Vec<u16> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode` is never used
[INFO] [stdout]   --> src/bpe.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn encode(sentence: &str, num_merges: u16) -> (Vec<u16>, Vec<Vec<u8>>) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]   --> src/bpe.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn decode(byte_seq: &[u16], vocab: Vec<Vec<u8>>) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/qwen2.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<B: Backend> RotaryEmbedding<B> {
[INFO] [stdout]    | ----------------------------------- associated function in this implementation
[INFO] [stdout] 50 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `clear` are never used
[INFO] [stdout]    --> src/qwen2.rs:91:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl<B: Backend> KeyValueCache<B> {
[INFO] [stdout]     | --------------------------------- associated items in this implementation
[INFO] [stdout]  90 |     /// Create a new, empty cache.
[INFO] [stdout]  91 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Qwen2Config` is never constructed
[INFO] [stdout]    --> src/qwen2.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct Qwen2Config {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `load` are never used
[INFO] [stdout]    --> src/qwen2.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl<B: Backend> Qwen2Model<B> {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout] 142 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn load(mut self, file_path: &Path) -> Result<Self, RecorderError> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_lm_head` is never used
[INFO] [stdout]    --> src/qwen2.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub fn load_lm_head<B: Backend>(model: &mut Qwen2Model<B>) -> Result<(), RecorderError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl<B: Backend> Qwen2ModelBase<B> {
[INFO] [stdout]     | ---------------------------------- associated function in this implementation
[INFO] [stdout] 225 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:288:12
[INFO] [stdout]     |
[INFO] [stdout] 287 | impl<B: Backend> DecoderLayer<B> {
[INFO] [stdout]     | -------------------------------- associated function in this implementation
[INFO] [stdout] 288 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:355:12
[INFO] [stdout]     |
[INFO] [stdout] 354 | impl<B: Backend> Attention<B> {
[INFO] [stdout]     | ----------------------------- associated function in this implementation
[INFO] [stdout] 355 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:498:12
[INFO] [stdout]     |
[INFO] [stdout] 497 | impl<B: Backend> Mlp<B> {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 498 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TopP` and `Argmax` are never constructed
[INFO] [stdout]   --> src/sampling.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Sampler<B: Backend> {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout]  9 |     TopP(TopP<B>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     Argmax,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/sampling.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<B: Backend> TopP<B> {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 48 |     pub fn new(p: f64, seed: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_model_name` is never used
[INFO] [stdout]   --> src/main.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Models {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 47 |     fn get_model_name(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_model` is never used
[INFO] [stdout]   --> src/main.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn run_model<B: Backend>(args: Args, device: Device<B>) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate` is never used
[INFO] [stdout]    --> src/main.rs:167:4
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn generate<B: Backend>(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_stats` is never used
[INFO] [stdout]  --> src/bpe.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_stats(ids: &[u16]) -> Option<(u16, u16)> {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_bytes` is never used
[INFO] [stdout]   --> src/bpe.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn merge_bytes(ids: &[u16], pair: (u16, u16), idx: u16) -> Vec<u16> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode` is never used
[INFO] [stdout]   --> src/bpe.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn encode(sentence: &str, num_merges: u16) -> (Vec<u16>, Vec<Vec<u8>>) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]   --> src/bpe.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn decode(byte_seq: &[u16], vocab: Vec<Vec<u8>>) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/qwen2.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<B: Backend> RotaryEmbedding<B> {
[INFO] [stdout]    | ----------------------------------- associated function in this implementation
[INFO] [stdout] 50 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `clear` are never used
[INFO] [stdout]    --> src/qwen2.rs:91:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl<B: Backend> KeyValueCache<B> {
[INFO] [stdout]     | --------------------------------- associated items in this implementation
[INFO] [stdout]  90 |     /// Create a new, empty cache.
[INFO] [stdout]  91 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn clear(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Qwen2Config` is never constructed
[INFO] [stdout]    --> src/qwen2.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct Qwen2Config {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `load` are never used
[INFO] [stdout]    --> src/qwen2.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl<B: Backend> Qwen2Model<B> {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout] 142 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn load(mut self, file_path: &Path) -> Result<Self, RecorderError> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_lm_head` is never used
[INFO] [stdout]    --> src/qwen2.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub fn load_lm_head<B: Backend>(model: &mut Qwen2Model<B>) -> Result<(), RecorderError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl<B: Backend> Qwen2ModelBase<B> {
[INFO] [stdout]     | ---------------------------------- associated function in this implementation
[INFO] [stdout] 225 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:288:12
[INFO] [stdout]     |
[INFO] [stdout] 287 | impl<B: Backend> DecoderLayer<B> {
[INFO] [stdout]     | -------------------------------- associated function in this implementation
[INFO] [stdout] 288 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:355:12
[INFO] [stdout]     |
[INFO] [stdout] 354 | impl<B: Backend> Attention<B> {
[INFO] [stdout]     | ----------------------------- associated function in this implementation
[INFO] [stdout] 355 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/qwen2.rs:498:12
[INFO] [stdout]     |
[INFO] [stdout] 497 | impl<B: Backend> Mlp<B> {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 498 |     pub fn new(config: &Qwen2Config, device: &Device<B>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TopP` and `Argmax` are never constructed
[INFO] [stdout]   --> src/sampling.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Sampler<B: Backend> {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout]  9 |     TopP(TopP<B>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     Argmax,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/sampling.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<B: Backend> TopP<B> {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 48 |     pub fn new(p: f64, seed: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s
[INFO] running `Command { std: "docker" "inspect" "58d1e56fd1e5a269a533d4e49ce8bcc1c61a5b6430a4d764123a708fb4f388cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58d1e56fd1e5a269a533d4e49ce8bcc1c61a5b6430a4d764123a708fb4f388cd", kill_on_drop: false }`
[INFO] [stdout] 58d1e56fd1e5a269a533d4e49ce8bcc1c61a5b6430a4d764123a708fb4f388cd
