[INFO] cloning repository https://github.com/krishpranav/debatellm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krishpranav/debatellm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishpranav%2Fdebatellm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishpranav%2Fdebatellm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd40725097817edecd917d699665191bf57695f6
[INFO] testing krishpranav/debatellm against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishpranav%2Fdebatellm" "/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/krishpranav/debatellm
[INFO] finished tweaking git repo https://github.com/krishpranav/debatellm
[INFO] tweaked toml for git repo https://github.com/krishpranav/debatellm written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krishpranav/debatellm on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krishpranav/debatellm 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 03fb54d6bb24f224b0ee244f2672d5d0db3128d538212d71c415f2afe067a055
[INFO] running `Command { std: "docker" "start" "-a" "03fb54d6bb24f224b0ee244f2672d5d0db3128d538212d71c415f2afe067a055", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03fb54d6bb24f224b0ee244f2672d5d0db3128d538212d71c415f2afe067a055", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03fb54d6bb24f224b0ee244f2672d5d0db3128d538212d71c415f2afe067a055", kill_on_drop: false }`
[INFO] [stdout] 03fb54d6bb24f224b0ee244f2672d5d0db3128d538212d71c415f2afe067a055
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3702e90309488dcaf9ecd771d6b6bda37d0578d776d55d4f089caccabce25ed1
[INFO] running `Command { std: "docker" "start" "-a" "3702e90309488dcaf9ecd771d6b6bda37d0578d776d55d4f089caccabce25ed1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling pulp v0.22.2
[INFO] [stderr]    Compiling raw-cpuid v11.6.0
[INFO] [stderr]    Compiling pulp-wasm-simd-flag v0.1.0
[INFO] [stderr]    Compiling reborrow v0.5.5
[INFO] [stderr]    Compiling dyn-stack-macros v0.1.3
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.2
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling macro_rules_attribute v0.2.2
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling typed-path v0.12.3
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling rayon-cond v0.4.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling zip v7.2.0
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling memmap2 v0.9.10
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling fancy-regex v0.17.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling rayon-cond v0.3.0
[INFO] [stderr]    Compiling zerocopy-derive v0.8.47
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling monostate-impl v0.1.18
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling monostate v0.1.18
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling onig v6.5.1
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling dyn-stack v0.13.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.10
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling spm_precompiled v0.1.4
[INFO] [stderr]    Compiling compact_str v0.9.0
[INFO] [stderr]    Compiling dary_heap v0.3.8
[INFO] [stderr]    Compiling safetensors v0.7.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling rand_distr v0.5.1
[INFO] [stderr]    Compiling tokenizers v0.22.2
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling gemm-common v0.19.0
[INFO] [stderr]    Compiling float8 v0.7.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling gemm-f32 v0.19.0
[INFO] [stderr]    Compiling gemm-c32 v0.19.0
[INFO] [stderr]    Compiling gemm-f64 v0.19.0
[INFO] [stderr]    Compiling gemm-c64 v0.19.0
[INFO] [stderr]    Compiling gemm-f16 v0.19.0
[INFO] [stderr]    Compiling gemm v0.19.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling hf-hub v0.3.2
[INFO] [stderr]    Compiling tokenizers v0.19.1
[INFO] [stderr]    Compiling candle-core v0.9.2 (https://github.com/huggingface/candle#bf9e950c)
[INFO] [stderr]    Compiling candle-nn v0.9.2 (https://github.com/huggingface/candle#bf9e950c)
[INFO] [stderr]    Compiling candle-transformers v0.9.2 (https://github.com/huggingface/candle#bf9e950c)
[INFO] [stderr]    Compiling debatellm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `DebateLMError` is never used
[INFO] [stdout]   --> src/error.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum DebateLMError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]    --> src/error.rs:119:10
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub type Result<T> = std::result::Result<T, DebateLMError>;
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ModelType` is never used
[INFO] [stdout]   --> src/config.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum ModelType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/config.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ModelType {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct RawConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_vocab_size` is never used
[INFO] [stdout]   --> src/config.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn default_vocab_size() -> usize { 32_000 }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_hidden_act` is never used
[INFO] [stdout]   --> src/config.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn default_hidden_act()  -> String { "silu".to_string() }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_rms_norm_eps` is never used
[INFO] [stdout]   --> src/config.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn default_rms_norm_eps() -> f64   { 1e-5 }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ModelConfig` is never constructed
[INFO] [stdout]    --> src/config.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct ModelConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_raw`, `to_mistral_candle_config`, `to_phi3_candle_config`, and `from_file` are never used
[INFO] [stdout]    --> src/config.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl ModelConfig {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 131 |     pub fn from_raw(raw: RawConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn to_mistral_candle_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn to_phi3_candle_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShardIndex` is never constructed
[INFO] [stdout]    --> src/config.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub struct ShardIndex {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `unique_shards` and `from_file` are never used
[INFO] [stdout]    --> src/config.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 250 | impl ShardIndex {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 251 |     pub fn unique_shards(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebateLMTokenizer` is never constructed
[INFO] [stdout]   --> src/tokenizer.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct DebateLMTokenizer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tokenizer.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl DebateLMTokenizer {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub fn from_file<P: AsRef<Path>>(tokenizer_path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn encode(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn encode_with_bos(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn decode_token(&self, token_id: u32) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn decode_sequence(&self, token_ids: &[u32]) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn eos_token_id(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn bos_token_id(&self) -> Option<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn vocab_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ModelVariant` is never used
[INFO] [stdout]   --> src/model.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum ModelVariant {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward` and `clear_kv_cache` are never used
[INFO] [stdout]   --> src/model.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl ModelVariant {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> candle_core::Result<Tensor> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebateLMModel` is never constructed
[INFO] [stdout]   --> src/model.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct DebateLMModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load`, `forward`, and `clear_kv_cache` are never used
[INFO] [stdout]    --> src/model.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl DebateLMModel {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn load(
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auto_dtype` is never used
[INFO] [stdout]    --> src/model.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn auto_dtype(device: &Device) -> DType {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MISTRAL_SYSTEM_PROMPT` is never used
[INFO] [stdout]   --> src/prompt.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const MISTRAL_SYSTEM_PROMPT: &str = "\
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_steelman_mistral` is never used
[INFO] [stdout]   --> src/prompt.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn format_steelman_mistral(argument: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI3_SYSTEM_PROMPT` is never used
[INFO] [stdout]   --> src/prompt.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | const PHI3_SYSTEM_PROMPT: &str = "\
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_steelman_phi3` is never used
[INFO] [stdout]   --> src/prompt.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub fn format_steelman_phi3(argument: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_steelman` is never used
[INFO] [stdout]   --> src/prompt.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn format_steelman(argument: &str, model_type: &crate::config::ModelType) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_argument` is never used
[INFO] [stdout]   --> src/prompt.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn validate_argument(argument: &str, max_input_chars: usize) -> crate::error::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GenerationConfig` is never constructed
[INFO] [stdout]   --> src/inference.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct GenerationConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/inference.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl GenerationConfig {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 80 |     /// Validate parameter ranges.
[INFO] [stdout] 81 |     pub fn validate(&self) -> crate::error::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Engine` is never constructed
[INFO] [stdout]    --> src/inference.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct Engine {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load`, `load_local`, `resolve_weight_paths`, `resolve_local_weight_paths`, `steelman`, and `generate_tokens` are never used
[INFO] [stdout]    --> src/inference.rs:117:18
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl Engine {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub async fn load(model_id: &str, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn load_local(path: &std::path::Path, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     async fn resolve_weight_paths(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     fn resolve_local_weight_paths(dir: &std::path::Path) -> anyhow::Result<Vec<PathBuf>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn steelman(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 381 |     fn generate_tokens(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_token` is never used
[INFO] [stdout]    --> src/inference.rs:540:4
[INFO] [stdout]     |
[INFO] [stdout] 540 | fn sample_token(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nucleus_filter` is never used
[INFO] [stdout]    --> src/inference.rs:639:4
[INFO] [stdout]     |
[INFO] [stdout] 639 | fn nucleus_filter(probs: &mut Vec<f32>, top_p: f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hidden_act` is never read
[INFO] [stdout]   --> src/config.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct RawConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub hidden_act: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RawConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MissingConfigField`, `WeightsNotFound`, `SamplingFailed`, `ContextLengthExceeded`, and `HubFetch` are never constructed
[INFO] [stdout]   --> src/error.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum DebateLMError {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     MissingConfigField { field: &'static str, model_type: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     WeightsNotFound { path: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     SamplingFailed { message: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     ContextLengthExceeded { max_tokens: usize, max_pos: usize },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     HubFetch {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DebateLMError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dtype` is never read
[INFO] [stdout]   --> src/model.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct DebateLMModel {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub dtype:   DType,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_argument` is never used
[INFO] [stdout]   --> src/prompt.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn validate_argument(argument: &str, max_input_chars: usize) -> crate::error::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bos_token_id` and `vocab_size` are never used
[INFO] [stdout]    --> src/tokenizer.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl DebateLMTokenizer {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn bos_token_id(&self) -> Option<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn vocab_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 40s
[INFO] running `Command { std: "docker" "inspect" "3702e90309488dcaf9ecd771d6b6bda37d0578d776d55d4f089caccabce25ed1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3702e90309488dcaf9ecd771d6b6bda37d0578d776d55d4f089caccabce25ed1", kill_on_drop: false }`
[INFO] [stdout] 3702e90309488dcaf9ecd771d6b6bda37d0578d776d55d4f089caccabce25ed1
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4596ddc40f118fb0d20c4f8cdcf5cfbe30fefa3491338cb6a2232cb897eff06
[INFO] running `Command { std: "docker" "start" "-a" "e4596ddc40f118fb0d20c4f8cdcf5cfbe30fefa3491338cb6a2232cb897eff06", kill_on_drop: false }`
[INFO] [stdout] warning: enum `DebateLMError` is never used
[INFO] [stdout]   --> src/error.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum DebateLMError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]    --> src/error.rs:119:10
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub type Result<T> = std::result::Result<T, DebateLMError>;
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ModelType` is never used
[INFO] [stdout]   --> src/config.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum ModelType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/config.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ModelType {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct RawConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_vocab_size` is never used
[INFO] [stdout]   --> src/config.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn default_vocab_size() -> usize { 32_000 }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_hidden_act` is never used
[INFO] [stdout]   --> src/config.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn default_hidden_act()  -> String { "silu".to_string() }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_rms_norm_eps` is never used
[INFO] [stdout]   --> src/config.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn default_rms_norm_eps() -> f64   { 1e-5 }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ModelConfig` is never constructed
[INFO] [stdout]    --> src/config.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct ModelConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_raw`, `to_mistral_candle_config`, `to_phi3_candle_config`, and `from_file` are never used
[INFO] [stdout]    --> src/config.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl ModelConfig {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 131 |     pub fn from_raw(raw: RawConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn to_mistral_candle_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn to_phi3_candle_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShardIndex` is never constructed
[INFO] [stdout]    --> src/config.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub struct ShardIndex {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `unique_shards` and `from_file` are never used
[INFO] [stdout]    --> src/config.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 250 | impl ShardIndex {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 251 |     pub fn unique_shards(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebateLMTokenizer` is never constructed
[INFO] [stdout]   --> src/tokenizer.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct DebateLMTokenizer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tokenizer.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl DebateLMTokenizer {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub fn from_file<P: AsRef<Path>>(tokenizer_path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn encode(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn encode_with_bos(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn decode_token(&self, token_id: u32) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn decode_sequence(&self, token_ids: &[u32]) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn eos_token_id(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn bos_token_id(&self) -> Option<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn vocab_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ModelVariant` is never used
[INFO] [stdout]   --> src/model.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum ModelVariant {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward` and `clear_kv_cache` are never used
[INFO] [stdout]   --> src/model.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl ModelVariant {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> candle_core::Result<Tensor> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebateLMModel` is never constructed
[INFO] [stdout]   --> src/model.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct DebateLMModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load`, `forward`, and `clear_kv_cache` are never used
[INFO] [stdout]    --> src/model.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl DebateLMModel {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn load(
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auto_dtype` is never used
[INFO] [stdout]    --> src/model.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn auto_dtype(device: &Device) -> DType {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MISTRAL_SYSTEM_PROMPT` is never used
[INFO] [stdout]   --> src/prompt.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const MISTRAL_SYSTEM_PROMPT: &str = "\
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_steelman_mistral` is never used
[INFO] [stdout]   --> src/prompt.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn format_steelman_mistral(argument: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI3_SYSTEM_PROMPT` is never used
[INFO] [stdout]   --> src/prompt.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | const PHI3_SYSTEM_PROMPT: &str = "\
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_steelman_phi3` is never used
[INFO] [stdout]   --> src/prompt.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub fn format_steelman_phi3(argument: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_steelman` is never used
[INFO] [stdout]   --> src/prompt.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn format_steelman(argument: &str, model_type: &crate::config::ModelType) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling debatellm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `validate_argument` is never used
[INFO] [stdout]   --> src/prompt.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn validate_argument(argument: &str, max_input_chars: usize) -> crate::error::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GenerationConfig` is never constructed
[INFO] [stdout]   --> src/inference.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct GenerationConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/inference.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl GenerationConfig {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 80 |     /// Validate parameter ranges.
[INFO] [stdout] 81 |     pub fn validate(&self) -> crate::error::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Engine` is never constructed
[INFO] [stdout]    --> src/inference.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct Engine {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load`, `load_local`, `resolve_weight_paths`, `resolve_local_weight_paths`, `steelman`, and `generate_tokens` are never used
[INFO] [stdout]    --> src/inference.rs:117:18
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl Engine {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub async fn load(model_id: &str, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn load_local(path: &std::path::Path, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     async fn resolve_weight_paths(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     fn resolve_local_weight_paths(dir: &std::path::Path) -> anyhow::Result<Vec<PathBuf>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn steelman(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 381 |     fn generate_tokens(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_token` is never used
[INFO] [stdout]    --> src/inference.rs:540:4
[INFO] [stdout]     |
[INFO] [stdout] 540 | fn sample_token(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nucleus_filter` is never used
[INFO] [stdout]    --> src/inference.rs:639:4
[INFO] [stdout]     |
[INFO] [stdout] 639 | fn nucleus_filter(probs: &mut Vec<f32>, top_p: f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/error.rs:25:5
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub enum DebateLMError {
[INFO] [stdout]     |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  25 |     ConfigDeserialize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     UnsupportedModelType { model_type: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  34 |     MissingConfigField { field: &'static str, model_type: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     TokenizerLoad { path: String, message: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     TokenizationFailed { input_len: usize, message: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |     TokenDecodeFailed { token_id: u32, message: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     EosTokenNotFound,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     WeightsNotFound { path: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     WeightsMmap { message: String },
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     ModelBuild { message: String },
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     ShardIndexMalformed {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     ForwardPassFailed { step: usize, message: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     SamplingFailed { message: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     InvalidTemperature { value: f64 },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     InvalidTopP { value: f64 },
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     HubFetch {
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     Io {
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DebateLMError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/config.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ModelType {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn from_str(s: &str) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct RawConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_vocab_size` is never used
[INFO] [stdout]   --> src/config.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn default_vocab_size() -> usize { 32_000 }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_hidden_act` is never used
[INFO] [stdout]   --> src/config.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn default_hidden_act()  -> String { "silu".to_string() }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_rms_norm_eps` is never used
[INFO] [stdout]   --> src/config.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn default_rms_norm_eps() -> f64   { 1e-5 }
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ModelConfig` is never constructed
[INFO] [stdout]    --> src/config.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct ModelConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_raw`, `to_mistral_candle_config`, `to_phi3_candle_config`, and `from_file` are never used
[INFO] [stdout]    --> src/config.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl ModelConfig {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 131 |     pub fn from_raw(raw: RawConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn to_mistral_candle_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn to_phi3_candle_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShardIndex` is never constructed
[INFO] [stdout]    --> src/config.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub struct ShardIndex {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `unique_shards` and `from_file` are never used
[INFO] [stdout]    --> src/config.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 250 | impl ShardIndex {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 251 |     pub fn unique_shards(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebateLMTokenizer` is never constructed
[INFO] [stdout]   --> src/tokenizer.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct DebateLMTokenizer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tokenizer.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl DebateLMTokenizer {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub fn from_file<P: AsRef<Path>>(tokenizer_path: P) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn encode(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn encode_with_bos(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn decode_token(&self, token_id: u32) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn decode_sequence(&self, token_ids: &[u32]) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn eos_token_id(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn bos_token_id(&self) -> Option<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn vocab_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ModelVariant` is never used
[INFO] [stdout]   --> src/model.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum ModelVariant {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `forward` and `clear_kv_cache` are never used
[INFO] [stdout]   --> src/model.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl ModelVariant {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> candle_core::Result<Tensor> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebateLMModel` is never constructed
[INFO] [stdout]   --> src/model.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct DebateLMModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load`, `forward`, and `clear_kv_cache` are never used
[INFO] [stdout]    --> src/model.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl DebateLMModel {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn load(
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> Result<Tensor> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auto_dtype` is never used
[INFO] [stdout]    --> src/model.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub fn auto_dtype(device: &Device) -> DType {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GenerationConfig` is never constructed
[INFO] [stdout]   --> src/inference.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct GenerationConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]   --> src/inference.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl GenerationConfig {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 80 |     /// Validate parameter ranges.
[INFO] [stdout] 81 |     pub fn validate(&self) -> crate::error::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Engine` is never constructed
[INFO] [stdout]    --> src/inference.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct Engine {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load`, `load_local`, `resolve_weight_paths`, `resolve_local_weight_paths`, `steelman`, and `generate_tokens` are never used
[INFO] [stdout]    --> src/inference.rs:117:18
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl Engine {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub async fn load(model_id: &str, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn load_local(path: &std::path::Path, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     async fn resolve_weight_paths(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     fn resolve_local_weight_paths(dir: &std::path::Path) -> anyhow::Result<Vec<PathBuf>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn steelman(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 381 |     fn generate_tokens(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_token` is never used
[INFO] [stdout]    --> src/inference.rs:540:4
[INFO] [stdout]     |
[INFO] [stdout] 540 | fn sample_token(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nucleus_filter` is never used
[INFO] [stdout]    --> src/inference.rs:639:4
[INFO] [stdout]     |
[INFO] [stdout] 639 | fn nucleus_filter(probs: &mut Vec<f32>, top_p: f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hidden_act` is never read
[INFO] [stdout]   --> src/config.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct RawConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub hidden_act: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RawConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MissingConfigField`, `WeightsNotFound`, `SamplingFailed`, and `HubFetch` are never constructed
[INFO] [stdout]   --> src/error.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum DebateLMError {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     MissingConfigField { field: &'static str, model_type: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     WeightsNotFound { path: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     SamplingFailed { message: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     HubFetch {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DebateLMError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dtype` is never read
[INFO] [stdout]   --> src/model.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct DebateLMModel {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub dtype:   DType,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bos_token_id` and `vocab_size` are never used
[INFO] [stdout]    --> src/tokenizer.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl DebateLMTokenizer {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn bos_token_id(&self) -> Option<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn vocab_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.62s
[INFO] running `Command { std: "docker" "inspect" "e4596ddc40f118fb0d20c4f8cdcf5cfbe30fefa3491338cb6a2232cb897eff06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4596ddc40f118fb0d20c4f8cdcf5cfbe30fefa3491338cb6a2232cb897eff06", kill_on_drop: false }`
[INFO] [stdout] e4596ddc40f118fb0d20c4f8cdcf5cfbe30fefa3491338cb6a2232cb897eff06
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6ac42b91d71adb11292b2c8c66949d079935763b3e538e0215649359538e94d3
[INFO] running `Command { std: "docker" "start" "-a" "6ac42b91d71adb11292b2c8c66949d079935763b3e538e0215649359538e94d3", kill_on_drop: false }`
[INFO] [stderr] warning: enum `DebateLMError` is never used
[INFO] [stderr]   --> src/error.rs:20:10
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub enum DebateLMError {
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Result` is never used
[INFO] [stderr]    --> src/error.rs:119:10
[INFO] [stderr]     |
[INFO] [stderr] 119 | pub type Result<T> = std::result::Result<T, DebateLMError>;
[INFO] [stderr]     |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ModelType` is never used
[INFO] [stderr]   --> src/config.rs:22:10
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub enum ModelType {
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_str` is never used
[INFO] [stderr]   --> src/config.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl ModelType {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 28 |     pub fn from_str(s: &str) -> Result<Self> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RawConfig` is never constructed
[INFO] [stderr]   --> src/config.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub struct RawConfig {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_vocab_size` is never used
[INFO] [stderr]   --> src/config.rs:97:4
[INFO] [stderr]    |
[INFO] [stderr] 97 | fn default_vocab_size() -> usize { 32_000 }
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_hidden_act` is never used
[INFO] [stderr]   --> src/config.rs:98:4
[INFO] [stderr]    |
[INFO] [stderr] 98 | fn default_hidden_act()  -> String { "silu".to_string() }
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_rms_norm_eps` is never used
[INFO] [stderr]   --> src/config.rs:99:4
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn default_rms_norm_eps() -> f64   { 1e-5 }
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ModelConfig` is never constructed
[INFO] [stderr]    --> src/config.rs:106:12
[INFO] [stderr]     |
[INFO] [stderr] 106 | pub struct ModelConfig {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from_raw`, `to_mistral_candle_config`, `to_phi3_candle_config`, and `from_file` are never used
[INFO] [stderr]    --> src/config.rs:131:12
[INFO] [stderr]     |
[INFO] [stderr] 130 | impl ModelConfig {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr] 131 |     pub fn from_raw(raw: RawConfig) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 178 |     pub fn to_mistral_candle_config(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 203 |     pub fn to_phi3_candle_config(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 227 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ShardIndex` is never constructed
[INFO] [stderr]    --> src/config.rs:246:12
[INFO] [stderr]     |
[INFO] [stderr] 246 | pub struct ShardIndex {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `unique_shards` and `from_file` are never used
[INFO] [stderr]    --> src/config.rs:251:12
[INFO] [stderr]     |
[INFO] [stderr] 250 | impl ShardIndex {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] 251 |     pub fn unique_shards(&self) -> Vec<String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 263 |     pub fn from_file<P: AsRef<std::path::Path>>(path: P) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DebateLMTokenizer` is never constructed
[INFO] [stderr]   --> src/tokenizer.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct DebateLMTokenizer {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/tokenizer.rs:37:12
[INFO] [stderr]     |
[INFO] [stderr]  32 | impl DebateLMTokenizer {
[INFO] [stderr]     | ---------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  37 |     pub fn from_file<P: AsRef<Path>>(tokenizer_path: P) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  82 |     pub fn encode(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 104 |     pub fn encode_with_bos(&self, text: &str) -> Result<Vec<u32>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 121 |     pub fn decode_token(&self, token_id: u32) -> Result<String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 136 |     pub fn decode_sequence(&self, token_ids: &[u32]) -> Result<String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 147 |     pub fn eos_token_id(&self) -> u32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 153 |     pub fn bos_token_id(&self) -> Option<u32> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 159 |     pub fn vocab_size(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ModelVariant` is never used
[INFO] [stderr]   --> src/model.rs:38:10
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub enum ModelVariant {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `forward` and `clear_kv_cache` are never used
[INFO] [stderr]   --> src/model.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl ModelVariant {
[INFO] [stderr]    | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 56 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> candle_core::Result<Tensor> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DebateLMModel` is never constructed
[INFO] [stderr]   --> src/model.rs:78:12
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub struct DebateLMModel {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `load`, `forward`, and `clear_kv_cache` are never used
[INFO] [stderr]    --> src/model.rs:104:12
[INFO] [stderr]     |
[INFO] [stderr]  88 | impl DebateLMModel {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 104 |     pub fn load(
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 157 |     pub fn forward(&mut self, input_ids: &Tensor, seqlen_offset: usize) -> Result<Tensor> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 168 |     pub fn clear_kv_cache(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `auto_dtype` is never used
[INFO] [stderr]    --> src/model.rs:183:8
[INFO] [stderr]     |
[INFO] [stderr] 183 | pub fn auto_dtype(device: &Device) -> DType {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MISTRAL_SYSTEM_PROMPT` is never used
[INFO] [stderr]   --> src/prompt.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | const MISTRAL_SYSTEM_PROMPT: &str = "\
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `format_steelman_mistral` is never used
[INFO] [stderr]   --> src/prompt.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn format_steelman_mistral(argument: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PHI3_SYSTEM_PROMPT` is never used
[INFO] [stderr]   --> src/prompt.rs:59:7
[INFO] [stderr]    |
[INFO] [stderr] 59 | const PHI3_SYSTEM_PROMPT: &str = "\
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `format_steelman_phi3` is never used
[INFO] [stderr]   --> src/prompt.rs:65:8
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub fn format_steelman_phi3(argument: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `format_steelman` is never used
[INFO] [stderr]   --> src/prompt.rs:77:8
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub fn format_steelman(argument: &str, model_type: &crate::config::ModelType) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `validate_argument` is never used
[INFO] [stderr]   --> src/prompt.rs:92:8
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub fn validate_argument(argument: &str, max_input_chars: usize) -> crate::error::Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GenerationConfig` is never constructed
[INFO] [stderr]   --> src/inference.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub struct GenerationConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `validate` is never used
[INFO] [stderr]   --> src/inference.rs:81:12
[INFO] [stderr]    |
[INFO] [stderr] 79 | impl GenerationConfig {
[INFO] [stderr]    | --------------------- method in this implementation
[INFO] [stderr] 80 |     /// Validate parameter ranges.
[INFO] [stderr] 81 |     pub fn validate(&self) -> crate::error::Result<()> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Engine` is never constructed
[INFO] [stderr]    --> src/inference.rs:104:12
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub struct Engine {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `load`, `load_local`, `resolve_weight_paths`, `resolve_local_weight_paths`, `steelman`, and `generate_tokens` are never used
[INFO] [stderr]    --> src/inference.rs:117:18
[INFO] [stderr]     |
[INFO] [stderr] 110 | impl Engine {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub async fn load(model_id: &str, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 194 |     pub fn load_local(path: &std::path::Path, dtype_override: Option<DType>) -> anyhow::Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 225 |     async fn resolve_weight_paths(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 259 |     fn resolve_local_weight_paths(dir: &std::path::Path) -> anyhow::Result<Vec<PathBuf>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 308 |     pub fn steelman(
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 381 |     fn generate_tokens(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sample_token` is never used
[INFO] [stderr]    --> src/inference.rs:540:4
[INFO] [stderr]     |
[INFO] [stderr] 540 | fn sample_token(
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `nucleus_filter` is never used
[INFO] [stderr]    --> src/inference.rs:639:4
[INFO] [stderr]     |
[INFO] [stderr] 639 | fn nucleus_filter(probs: &mut Vec<f32>, top_p: f64) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple variants are never constructed
[INFO] [stderr]    --> src/error.rs:25:5
[INFO] [stderr]     |
[INFO] [stderr]  20 | pub enum DebateLMError {
[INFO] [stderr]     |          ------------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr]  25 |     ConfigDeserialize {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  31 |     UnsupportedModelType { model_type: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  34 |     MissingConfigField { field: &'static str, model_type: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  40 |     TokenizerLoad { path: String, message: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  43 |     TokenizationFailed { input_len: usize, message: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  46 |     TokenDecodeFailed { token_id: u32, message: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  49 |     EosTokenNotFound,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  58 |     WeightsNotFound { path: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  61 |     WeightsMmap { message: String },
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  64 |     ModelBuild { message: String },
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  67 |     ShardIndexMalformed {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  77 |     ForwardPassFailed { step: usize, message: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  80 |     SamplingFailed { message: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  89 |     InvalidTemperature { value: f64 },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  92 |     InvalidTopP { value: f64 },
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  98 |     HubFetch {
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 108 |     Io {
[INFO] [stderr]     |     ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DebateLMError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `debatellm` (lib) generated 31 warnings
[INFO] [stderr] warning: `debatellm` (lib test) generated 23 warnings (22 duplicates)
[INFO] [stderr] warning: field `hidden_act` is never read
[INFO] [stderr]   --> src/config.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub struct RawConfig {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 59 |     pub hidden_act: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RawConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `MissingConfigField`, `WeightsNotFound`, `SamplingFailed`, and `HubFetch` are never constructed
[INFO] [stderr]   --> src/error.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub enum DebateLMError {
[INFO] [stderr]    |          ------------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 34 |     MissingConfigField { field: &'static str, model_type: String },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 |     WeightsNotFound { path: String },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 80 |     SamplingFailed { message: String },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 98 |     HubFetch {
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DebateLMError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `dtype` is never read
[INFO] [stderr]   --> src/model.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub struct DebateLMModel {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 81 |     pub dtype:   DType,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `bos_token_id` and `vocab_size` are never used
[INFO] [stderr]    --> src/tokenizer.rs:153:12
[INFO] [stderr]     |
[INFO] [stderr]  32 | impl DebateLMTokenizer {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 153 |     pub fn bos_token_id(&self) -> Option<u32> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 159 |     pub fn vocab_size(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `debatellm` (bin "debatellm" test) generated 4 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/debatellm-c7c0dd9913f9c254)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test prompt::tests::argument_is_trimmed ... ok
[INFO] [stdout] test prompt::tests::validate_rejects_empty ... ok
[INFO] [stdout] test prompt::tests::phi3_prompt_contains_role_tokens ... ok
[INFO] [stdout] test prompt::tests::mistral_prompt_contains_inst_markers ... ok
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] test prompt::tests::validate_accepts_normal_input ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/debatellm-dae2cafcec04f80c)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test prompt::tests::mistral_prompt_contains_inst_markers ... ok
[INFO] [stdout] test prompt::tests::validate_accepts_normal_input ... ok
[INFO] [stdout] test prompt::tests::validate_rejects_empty ... ok
[INFO] [stdout] test prompt::tests::phi3_prompt_contains_role_tokens ... ok
[INFO] [stderr]    Doc-tests debatellm
[INFO] [stdout] test prompt::tests::argument_is_trimmed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6ac42b91d71adb11292b2c8c66949d079935763b3e538e0215649359538e94d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ac42b91d71adb11292b2c8c66949d079935763b3e538e0215649359538e94d3", kill_on_drop: false }`
[INFO] [stdout] 6ac42b91d71adb11292b2c8c66949d079935763b3e538e0215649359538e94d3
