[INFO] cloning repository https://github.com/imdigitalashish/LLM-Inference-Engine-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imdigitalashish/LLM-Inference-Engine-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimdigitalashish%2FLLM-Inference-Engine-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimdigitalashish%2FLLM-Inference-Engine-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 546d6864ae2a8b476f098a87b3b46ccf1112167d [INFO] testing imdigitalashish/LLM-Inference-Engine-in-Rust against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimdigitalashish%2FLLM-Inference-Engine-in-Rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imdigitalashish/LLM-Inference-Engine-in-Rust [INFO] finished tweaking git repo https://github.com/imdigitalashish/LLM-Inference-Engine-in-Rust [INFO] tweaked toml for git repo https://github.com/imdigitalashish/LLM-Inference-Engine-in-Rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imdigitalashish/LLM-Inference-Engine-in-Rust on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imdigitalashish/LLM-Inference-Engine-in-Rust 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8abd41dcc1d6507c9f8a06a97e55160f93ce6c26346b1e082af8ea615ad7701 [INFO] running `Command { std: "docker" "start" "-a" "c8abd41dcc1d6507c9f8a06a97e55160f93ce6c26346b1e082af8ea615ad7701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8abd41dcc1d6507c9f8a06a97e55160f93ce6c26346b1e082af8ea615ad7701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8abd41dcc1d6507c9f8a06a97e55160f93ce6c26346b1e082af8ea615ad7701", kill_on_drop: false }` [INFO] [stdout] c8abd41dcc1d6507c9f8a06a97e55160f93ce6c26346b1e082af8ea615ad7701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab76590a6cb9ed59e60b848fa9810eab6d6149275878a9db24223b19d1166c8 [INFO] running `Command { std: "docker" "start" "-a" "dab76590a6cb9ed59e60b848fa9810eab6d6149275878a9db24223b19d1166c8", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling pulp v0.22.2 [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling dyn-stack-macros v0.1.3 [INFO] [stderr] Compiling pulp-wasm-simd-flag v0.1.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling typed-path v0.12.2 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling socks v0.3.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zip v7.2.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling clap_builder v4.5.56 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling rayon-cond v0.4.0 [INFO] [stderr] Compiling fancy-regex v0.17.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.37 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling monostate v0.1.18 [INFO] [stderr] Compiling futures-util v0.3.31 [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 zerovec v0.11.5 [INFO] [stderr] Compiling dyn-stack v0.13.2 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling clap v4.5.56 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling safetensors v0.7.0 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling dary_heap v0.3.8 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [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.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling tokenizers v0.21.4 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling gemm-common v0.19.0 [INFO] [stderr] Compiling float8 v0.6.0 [INFO] [stderr] Compiling gemm-f32 v0.19.0 [INFO] [stderr] Compiling gemm-c64 v0.19.0 [INFO] [stderr] Compiling gemm-c32 v0.19.0 [INFO] [stderr] Compiling gemm-f64 v0.19.0 [INFO] [stderr] Compiling gemm-f16 v0.19.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling gemm v0.19.0 [INFO] [stderr] Compiling candle-core v0.9.2 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling hf-hub v0.4.3 [INFO] [stderr] Compiling candle-nn v0.9.2 [INFO] [stderr] Compiling candle-transformers v0.9.2 [INFO] [stderr] Compiling llm-inference-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::model::LanguageModel` [INFO] [stdout] --> src/api/routes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::model::LanguageModel; [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 `model`, `stream`, `presence_penalty`, and `user` are never read [INFO] [stdout] --> src/api/types.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChatCompletionRequest { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 6 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub stream: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub presence_penalty: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionRequest` 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: struct `ChatCompletionChunk` is never constructed [INFO] [stdout] --> src/api/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ChatCompletionChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamChoice` is never constructed [INFO] [stdout] --> src/api/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct StreamChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delta` is never constructed [INFO] [stdout] --> src/api/types.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Delta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model` and `stream` are never read [INFO] [stdout] --> src/api/types.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CompletionRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 101 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub stream: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionRequest` 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: variants `ModelLoad`, `Config`, and `Device` are never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum InferenceError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | #[error("Model loading error: {0}")] [INFO] [stdout] 6 | ModelLoad(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Device(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InferenceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vocab_size` is never used [INFO] [stdout] --> src/model/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait LanguageModel: Send + Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn vocab_size(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `device` are never read [INFO] [stdout] --> src/model/mistral.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MistralModel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | model: Model, [INFO] [stdout] 13 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `config` and `device` are never used [INFO] [stdout] --> src/model/mistral.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl MistralModel { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn config(&self) -> &Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn device(&self) -> &Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `decode_single`, `get_token`, and `bos_token_id` are never used [INFO] [stdout] --> src/tokenizer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TokenizerWrapper { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn decode_single(&self, id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_token(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn bos_token_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "dab76590a6cb9ed59e60b848fa9810eab6d6149275878a9db24223b19d1166c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab76590a6cb9ed59e60b848fa9810eab6d6149275878a9db24223b19d1166c8", kill_on_drop: false }` [INFO] [stdout] dab76590a6cb9ed59e60b848fa9810eab6d6149275878a9db24223b19d1166c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb22b95ee5f3e50cb51d13f4417b3805294f99b40cf788ad6521e8f7093e0495 [INFO] running `Command { std: "docker" "start" "-a" "fb22b95ee5f3e50cb51d13f4417b3805294f99b40cf788ad6521e8f7093e0495", kill_on_drop: false }` [INFO] [stderr] Compiling llm-inference-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::model::LanguageModel` [INFO] [stdout] --> src/api/routes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::model::LanguageModel; [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 `model`, `stream`, `presence_penalty`, and `user` are never read [INFO] [stdout] --> src/api/types.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChatCompletionRequest { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 6 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub stream: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub presence_penalty: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionRequest` 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: struct `ChatCompletionChunk` is never constructed [INFO] [stdout] --> src/api/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ChatCompletionChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamChoice` is never constructed [INFO] [stdout] --> src/api/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct StreamChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delta` is never constructed [INFO] [stdout] --> src/api/types.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Delta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model` and `stream` are never read [INFO] [stdout] --> src/api/types.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CompletionRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 101 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub stream: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionRequest` 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: variants `ModelLoad`, `Config`, and `Device` are never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum InferenceError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | #[error("Model loading error: {0}")] [INFO] [stdout] 6 | ModelLoad(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Device(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InferenceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vocab_size` is never used [INFO] [stdout] --> src/model/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait LanguageModel: Send + Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn vocab_size(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `device` are never read [INFO] [stdout] --> src/model/mistral.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MistralModel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | model: Model, [INFO] [stdout] 13 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `config` and `device` are never used [INFO] [stdout] --> src/model/mistral.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl MistralModel { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn config(&self) -> &Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn device(&self) -> &Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `decode_single`, `get_token`, and `bos_token_id` are never used [INFO] [stdout] --> src/tokenizer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TokenizerWrapper { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn decode_single(&self, id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_token(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn bos_token_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.78s [INFO] running `Command { std: "docker" "inspect" "fb22b95ee5f3e50cb51d13f4417b3805294f99b40cf788ad6521e8f7093e0495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb22b95ee5f3e50cb51d13f4417b3805294f99b40cf788ad6521e8f7093e0495", kill_on_drop: false }` [INFO] [stdout] fb22b95ee5f3e50cb51d13f4417b3805294f99b40cf788ad6521e8f7093e0495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a7d7015966803e13b0b53519751f28e3fbae7b11c98031f3aed096de636f363 [INFO] running `Command { std: "docker" "start" "-a" "4a7d7015966803e13b0b53519751f28e3fbae7b11c98031f3aed096de636f363", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::model::LanguageModel` [INFO] [stderr] --> src/api/routes.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::model::LanguageModel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `model`, `stream`, `presence_penalty`, and `user` are never read [INFO] [stderr] --> src/api/types.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct ChatCompletionRequest { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] 6 | pub model: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub stream: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub presence_penalty: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub user: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatCompletionRequest` 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: struct `ChatCompletionChunk` is never constructed [INFO] [stderr] --> src/api/types.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct ChatCompletionChunk { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StreamChoice` is never constructed [INFO] [stderr] --> src/api/types.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct StreamChoice { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Delta` is never constructed [INFO] [stderr] --> src/api/types.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | pub struct Delta { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `model` and `stream` are never read [INFO] [stderr] --> src/api/types.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct CompletionRequest { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 101 | pub model: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | pub stream: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompletionRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `ModelLoad`, `Config`, and `Device` are never constructed [INFO] [stderr] --> src/error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum InferenceError { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 5 | #[error("Model loading error: {0}")] [INFO] [stderr] 6 | ModelLoad(String), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | Config(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | Device(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InferenceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `vocab_size` is never used [INFO] [stderr] --> src/model/mod.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub trait LanguageModel: Send + Sync { [INFO] [stderr] | ------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 28 | fn vocab_size(&self) -> usize; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `config` and `device` are never read [INFO] [stderr] --> src/model/mistral.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MistralModel { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 12 | model: Model, [INFO] [stderr] 13 | config: Config, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 14 | device: Device, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `config` and `device` are never used [INFO] [stderr] --> src/model/mistral.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl MistralModel { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn config(&self) -> &Config { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn device(&self) -> &Device { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `decode_single`, `get_token`, and `bos_token_id` are never used [INFO] [stderr] --> src/tokenizer.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl TokenizerWrapper { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn decode_single(&self, id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn get_token(&self, id: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn bos_token_id(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `llm-inference-engine` (bin "llm-engine" test) generated 11 warnings (run `cargo fix --bin "llm-engine" -p llm-inference-engine --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/llm_engine-296fd63c58e65528) [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" "4a7d7015966803e13b0b53519751f28e3fbae7b11c98031f3aed096de636f363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7d7015966803e13b0b53519751f28e3fbae7b11c98031f3aed096de636f363", kill_on_drop: false }` [INFO] [stdout] 4a7d7015966803e13b0b53519751f28e3fbae7b11c98031f3aed096de636f363