[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] building Fodi999/monolit against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodi999%2Fmonolit" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fodi999/monolit on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 monostate-impl v0.1.14 [INFO] [stderr] Downloaded monostate v0.1.14 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded rtoolbox v0.0.3 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.0 [INFO] [stderr] Downloaded safetensors v0.5.3 [INFO] [stderr] Downloaded vader_sentiment v0.1.1 [INFO] [stderr] Downloaded sysinfo v0.28.4 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded tokenizers v0.21.1 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded rpassword v7.4.0 [INFO] [stderr] Downloaded spm_precompiled v0.1.4 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3aa09a01ac9617731691c1ff6c756724e1fc270ccd2f6490cd5bffd7f316d7d [INFO] running `Command { std: "docker" "start" "-a" "e3aa09a01ac9617731691c1ff6c756724e1fc270ccd2f6490cd5bffd7f316d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3aa09a01ac9617731691c1ff6c756724e1fc270ccd2f6490cd5bffd7f316d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3aa09a01ac9617731691c1ff6c756724e1fc270ccd2f6490cd5bffd7f316d7d", kill_on_drop: false }` [INFO] [stdout] e3aa09a01ac9617731691c1ff6c756724e1fc270ccd2f6490cd5bffd7f316d7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0dff1ffce191585301510ce295d50b305419ea2bc379869a1e70e486bb21f39 [INFO] running `Command { std: "docker" "start" "-a" "e0dff1ffce191585301510ce295d50b305419ea2bc379869a1e70e486bb21f39", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling unicode-width v0.2.0 [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 itertools v0.11.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling sysinfo v0.28.4 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling vader_sentiment v0.1.1 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling monostate v0.1.14 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling tokenizers v0.21.1 [INFO] [stderr] Compiling safetensors v0.5.3 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.14s [INFO] running `Command { std: "docker" "inspect" "e0dff1ffce191585301510ce295d50b305419ea2bc379869a1e70e486bb21f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0dff1ffce191585301510ce295d50b305419ea2bc379869a1e70e486bb21f39", kill_on_drop: false }` [INFO] [stdout] e0dff1ffce191585301510ce295d50b305419ea2bc379869a1e70e486bb21f39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09f3a55a96c503851ea912d1bfc83d6610df897754e9c5b11126085649147711 [INFO] running `Command { std: "docker" "start" "-a" "09f3a55a96c503851ea912d1bfc83d6610df897754e9c5b11126085649147711", kill_on_drop: false }` [INFO] [stderr] Compiling auraya v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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: 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "09f3a55a96c503851ea912d1bfc83d6610df897754e9c5b11126085649147711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f3a55a96c503851ea912d1bfc83d6610df897754e9c5b11126085649147711", kill_on_drop: false }` [INFO] [stdout] 09f3a55a96c503851ea912d1bfc83d6610df897754e9c5b11126085649147711