[INFO] cloning repository https://github.com/nicktretyakov/natlang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicktretyakov/natlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Fnatlang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Fnatlang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d446546339e30667fdf2c68e5e124f129725232a
[INFO] checking nicktretyakov/natlang against df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicktretyakov%2Fnatlang" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nicktretyakov/natlang
[INFO] finished tweaking git repo https://github.com/nicktretyakov/natlang
[INFO] tweaked toml for git repo https://github.com/nicktretyakov/natlang written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nicktretyakov/natlang on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nicktretyakov/natlang 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rayon-cond v0.3.0
[INFO] [stderr]   Downloaded tokenizers v0.19.1
[INFO] [stderr]   Downloaded gemm v0.17.1
[INFO] [stderr]   Downloaded safetensors v0.4.5
[INFO] [stderr]   Downloaded gemm-f64 v0.17.1
[INFO] [stderr]   Downloaded gemm-f32 v0.17.1
[INFO] [stderr]   Downloaded gemm-f16 v0.17.1
[INFO] [stderr]   Downloaded gemm-c32 v0.17.1
[INFO] [stderr]   Downloaded gemm-c64 v0.17.1
[INFO] [stderr]   Downloaded gemm-common v0.17.1
[INFO] [stderr]   Downloaded sysctl v0.5.5
[INFO] [stderr]   Downloaded half v2.3.1
[INFO] [stderr]   Downloaded candle-nn v0.5.1
[INFO] [stderr]   Downloaded dyn-stack v0.10.0
[INFO] [stderr]   Downloaded zip v1.1.4
[INFO] [stderr]   Downloaded pulp v0.18.22
[INFO] [stderr]   Downloaded candle-transformers v0.5.1
[INFO] [stderr]   Downloaded candle-core v0.5.1
[INFO] [stderr]   Downloaded tokio v1.35.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747
[INFO] running `Command { std: "docker" "start" "5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling toml_datetime v1.0.0+spec-1.1.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking dyn-stack v0.10.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling toml_parser v1.0.9+spec-1.1.0
[INFO] [stderr]    Compiling zip v1.1.4
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking safetensors v0.4.5
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]     Checking memmap2 v0.9.10
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking data-encoding v2.10.0
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking pulp v0.18.22
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]    Compiling toml_edit v0.25.4+spec-1.1.0
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling monostate-impl v0.1.18
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.2
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking macro_rules_attribute v0.2.2
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking monostate v0.1.18
[INFO] [stderr]     Checking rayon-cond v0.3.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking serde_plain v1.0.2
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking spm_precompiled v0.1.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num_enum v0.7.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]     Checking half v2.3.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking fancy-regex v0.13.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking gemm-common v0.17.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking gemm-f32 v0.17.1
[INFO] [stderr]     Checking gemm-c64 v0.17.1
[INFO] [stderr]     Checking gemm-f64 v0.17.1
[INFO] [stderr]     Checking gemm-c32 v0.17.1
[INFO] [stderr]     Checking tokenizers v0.19.1
[INFO] [stderr]     Checking gemm-f16 v0.17.1
[INFO] [stderr]     Checking gemm v0.17.1
[INFO] [stderr]     Checking candle-core v0.5.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking candle-nn v0.5.1
[INFO] [stderr]     Checking candle-transformers v0.5.1
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking natlang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/models/distilbert.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{info, instrument, warn};
[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: `warn`
[INFO] [stdout]  --> src/models/distilbert.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{info, instrument, warn};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `device` and `labels` are never read
[INFO] [stdout]   --> src/models/distilbert.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DistilBERTSentimentModel {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 10 |     config: ModelConfig,
[INFO] [stdout] 11 |     device: Device,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     labels: Vec<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: fields `device` and `labels` are never read
[INFO] [stdout]   --> src/models/distilbert.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DistilBERTSentimentModel {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 10 |     config: ModelConfig,
[INFO] [stdout] 11 |     device: Device,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     labels: Vec<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: unused import: `warn`
[INFO] [stdout]  --> src/models/distilbert.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{info, instrument, warn};
[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: `warn`
[INFO] [stdout]  --> src/models/distilbert.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{info, instrument, warn};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `use_cache` and `batch_size` are never read
[INFO] [stdout]   --> src/api/handlers.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AnalyzeRequest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub use_cache: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 17 |     #[serde(default = "default_batch_size")]
[INFO] [stdout] 18 |     pub batch_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnalyzeRequest` 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: fields `config`, `device`, and `labels` are never read
[INFO] [stdout]   --> src/models/distilbert.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DistilBERTSentimentModel {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 10 |     config: ModelConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     device: Device,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     labels: Vec<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_length`, `use_gpu`, and `batch_size` are never read
[INFO] [stdout]   --> src/models/model_trait.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ModelConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 18 |     pub model_id: String,
[INFO] [stdout] 19 |     pub max_length: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 20 |     pub use_gpu: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 21 |     pub batch_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `predict_batch` and `config` are never used
[INFO] [stdout]   --> src/models/model_trait.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait SentimentModel: Send + Sync {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn predict_batch(&self, texts: &[String]) -> Result<Vec<ClassificationResult>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 41 |     fn config(&self) -> &ModelConfig;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ModelError` is never used
[INFO] [stdout]   --> src/models/model_trait.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum ModelError {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `use_cache` and `batch_size` are never read
[INFO] [stdout]   --> src/api/handlers.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AnalyzeRequest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub use_cache: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 17 |     #[serde(default = "default_batch_size")]
[INFO] [stdout] 18 |     pub batch_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnalyzeRequest` 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: fields `config`, `device`, and `labels` are never read
[INFO] [stdout]   --> src/models/distilbert.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DistilBERTSentimentModel {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 10 |     config: ModelConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     device: Device,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     labels: Vec<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_length`, `use_gpu`, and `batch_size` are never read
[INFO] [stdout]   --> src/models/model_trait.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ModelConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 18 |     pub model_id: String,
[INFO] [stdout] 19 |     pub max_length: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 20 |     pub use_gpu: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 21 |     pub batch_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `predict_batch` and `config` are never used
[INFO] [stdout]   --> src/models/model_trait.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait SentimentModel: Send + Sync {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 40 |     async fn predict_batch(&self, texts: &[String]) -> Result<Vec<ClassificationResult>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 41 |     fn config(&self) -> &ModelConfig;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ModelError` is never used
[INFO] [stdout]   --> src/models/model_trait.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum ModelError {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s
[INFO] running `Command { std: "docker" "inspect" "5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747", kill_on_drop: false }`
[INFO] [stdout] 5e8a059ecb6162f95896e318bd4053ab176068eff62250cbacc7236250ef4747
