[INFO] cloning repository https://github.com/Fodi999/monolit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fodi999/monolit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fmonolit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fmonolit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2237595f0666e8628b92a71433bb1182b5046db [INFO] checking Fodi999/monolit/b2237595f0666e8628b92a71433bb1182b5046db against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fmonolit" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Fodi999/monolit [INFO] finished tweaking git repo https://github.com/Fodi999/monolit [INFO] tweaked toml for git repo https://github.com/Fodi999/monolit written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fodi999/monolit on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Fodi999/monolit 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded safetensors v0.5.3 [INFO] [stderr] Downloaded monostate v0.1.14 [INFO] [stderr] Downloaded monostate-impl v0.1.14 [INFO] [stderr] Downloaded tokenizers v0.21.1 [INFO] [stderr] Downloaded vader_sentiment v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b7ce79c7d629c2eb40ed91656517e04d35b20672a9c1d9fec757e434ab064fe [INFO] running `Command { std: "docker" "start" "-a" "7b7ce79c7d629c2eb40ed91656517e04d35b20672a9c1d9fec757e434ab064fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b7ce79c7d629c2eb40ed91656517e04d35b20672a9c1d9fec757e434ab064fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7ce79c7d629c2eb40ed91656517e04d35b20672a9c1d9fec757e434ab064fe", kill_on_drop: false }` [INFO] [stdout] 7b7ce79c7d629c2eb40ed91656517e04d35b20672a9c1d9fec757e434ab064fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b85839b800d0fba090286acb8c9be3c68c5eef20f87c124b697d4237bdc12e8 [INFO] running `Command { std: "docker" "start" "-a" "5b85839b800d0fba090286acb8c9be3c68c5eef20f87c124b697d4237bdc12e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking rtoolbox v0.0.3 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking rpassword v7.4.0 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking vader_sentiment v0.1.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking sysinfo v0.28.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling monostate-impl v0.1.14 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking monostate v0.1.14 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking tokenizers v0.21.1 [INFO] [stderr] Checking safetensors v0.5.3 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking auraya v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rpassword::read_password` [INFO] [stdout] --> src/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rpassword::read_password; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/tokens.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rpassword::read_password` [INFO] [stdout] --> src/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rpassword::read_password; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/progress.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/progress.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut instr: Vec = rule.chars().filter(|c| !c.is_whitespace()).collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut instr: Vec = rule.chars().filter(|c| !c.is_whitespace()).collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/drive_watcher.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut rl = crate::rl::RLTrainer::new( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/profile.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut profile = UserProfile { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth_keys`, `llm_model_path`, and `context_size` are never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 8 | pub auth_keys: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub llm_model_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub context_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_screen` is never used [INFO] [stdout] --> src/terminal.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn clear_screen() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slow_print` is never used [INFO] [stdout] --> src/terminal.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn slow_print(text: &str, delay_ms: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_password` is never used [INFO] [stdout] --> src/terminal.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ask_password(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auraya_name` is never used [INFO] [stdout] --> src/identity.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn auraya_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_identity` is never used [INFO] [stdout] --> src/identity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn show_identity() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_manifest` is never used [INFO] [stdout] --> src/identity.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn show_manifest() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recent_entries` is never used [INFO] [stdout] --> src/memory.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn recent_entries(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_memory` is never used [INFO] [stdout] --> src/memory.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn clear_memory() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_vectors` is never used [INFO] [stdout] --> src/memory_vector.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn load_vectors() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_vectors` is never used [INFO] [stdout] --> src/memory_vector.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn search_vectors(predicate: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextBuffer` is never constructed [INFO] [stdout] --> src/context.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ContextBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ContextBuffer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | /// Создать новый буфер с заданной ёмкостью. [INFO] [stdout] 15 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn push_user(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push_assistant(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn push(&mut self, entry: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn history(&self) -> &VecDeque { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/llm_pure.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Transformer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn generate(&self, prompt: &str, _max_new: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmotionModel` is never constructed [INFO] [stdout] --> src/emotion.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct EmotionModel<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `analyze`, `update`, and `current_mood` are never used [INFO] [stdout] --> src/emotion.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> EmotionModel<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(emotions: &[String], threshold: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn analyze(&self, text: &str) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn update(&mut self, sentiment: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn current_mood(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE_FILE` is never used [INFO] [stdout] --> src/profile.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PROFILE_FILE: &str = "data/profile.json"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProfile` is never constructed [INFO] [stdout] --> src/profile.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserProfile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/profile.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl UserProfile { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 23 | /// Загружает профиль из файла, если он есть, иначе создаёт пустой [INFO] [stdout] 24 | pub fn load() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_name(&mut self, name: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn add_interest(&mut self, interest: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn remove_interest(&mut self, interest: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_fact(&mut self, key: impl Into, value: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_fact(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_print` is never used [INFO] [stdout] --> src/typing_effect.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn type_print(text: &str, _min_delay: u64, _max_delay: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_listen` is never used [INFO] [stdout] --> src/audio.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn maybe_listen() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_speak` is never used [INFO] [stdout] --> src/audio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn maybe_speak(_text: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_path` is never read [INFO] [stdout] --> src/ontology.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Ontology { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | source_path: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_related`, `is_related`, and `is_empty` are never used [INFO] [stdout] --> src/ontology.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Ontology { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_related(&self, concept: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_related(&self, concept1: &str, concept2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentManager` is never constructed [INFO] [stdout] --> src/agents.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct AgentManager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tick` are never used [INFO] [stdout] --> src/agents.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl AgentManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 5 | /// Инициализация [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn tick(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_GOAL` is never used [INFO] [stdout] --> src/progress.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TOKEN_GOAL: usize = 10_000_000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAR_WIDTH` is never used [INFO] [stdout] --> src/progress.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const BAR_WIDTH: usize = 30; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_progress` is never used [INFO] [stdout] --> src/progress.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn show_progress() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_rules` is never used [INFO] [stdout] --> src/progress.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn count_rules() -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/drive_watcher.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut rl = crate::rl::RLTrainer::new( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth_keys`, `llm_model_path`, and `context_size` are never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 8 | pub auth_keys: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub llm_model_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub context_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slow_print` is never used [INFO] [stdout] --> src/terminal.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn slow_print(text: &str, delay_ms: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_password` is never used [INFO] [stdout] --> src/terminal.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ask_password(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auraya_name` is never used [INFO] [stdout] --> src/identity.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn auraya_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_identity` is never used [INFO] [stdout] --> src/identity.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn show_identity() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_manifest` is never used [INFO] [stdout] --> src/identity.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn show_manifest() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `capacity` is never used [INFO] [stdout] --> src/context.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ContextBuffer { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/llm_pure.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Transformer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn generate(&self, prompt: &str, _max_new: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `emotions` is never read [INFO] [stdout] --> src/emotion.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct EmotionModel<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub emotions: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_mood` is never used [INFO] [stdout] --> src/emotion.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> EmotionModel<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn current_mood(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE_FILE` is never used [INFO] [stdout] --> src/profile.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PROFILE_FILE: &str = "data/profile.json"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `save`, `set_name`, `add_interest`, `remove_interest`, and `add_fact` are never used [INFO] [stdout] --> src/profile.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl UserProfile { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 23 | /// Загружает профиль из файла, если он есть, иначе создаёт пустой [INFO] [stdout] 24 | pub fn load() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn save(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_name(&mut self, name: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn add_interest(&mut self, interest: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn remove_interest(&mut self, interest: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_fact(&mut self, key: impl Into, value: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_print` is never used [INFO] [stdout] --> src/typing_effect.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn type_print(text: &str, _min_delay: u64, _max_delay: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_listen` is never used [INFO] [stdout] --> src/audio.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn maybe_listen() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_speak` is never used [INFO] [stdout] --> src/audio.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn maybe_speak(_text: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_path` is never read [INFO] [stdout] --> src/ontology.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Ontology { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | source_path: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_related`, `is_related`, and `is_empty` are never used [INFO] [stdout] --> src/ontology.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Ontology { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_related(&self, concept: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_related(&self, concept1: &str, concept2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentManager` is never constructed [INFO] [stdout] --> src/agents.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct AgentManager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tick` are never used [INFO] [stdout] --> src/agents.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl AgentManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 5 | /// Инициализация [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn tick(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_GOAL` is never used [INFO] [stdout] --> src/progress.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const TOKEN_GOAL: usize = 10_000_000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAR_WIDTH` is never used [INFO] [stdout] --> src/progress.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const BAR_WIDTH: usize = 30; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_progress` is never used [INFO] [stdout] --> src/progress.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn show_progress() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_rules` is never used [INFO] [stdout] --> src/progress.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn count_rules() -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.30s [INFO] running `Command { std: "docker" "inspect" "5b85839b800d0fba090286acb8c9be3c68c5eef20f87c124b697d4237bdc12e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b85839b800d0fba090286acb8c9be3c68c5eef20f87c124b697d4237bdc12e8", kill_on_drop: false }` [INFO] [stdout] 5b85839b800d0fba090286acb8c9be3c68c5eef20f87c124b697d4237bdc12e8