[INFO] cloning repository https://github.com/ytfh44/Eliza-glm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ytfh44/Eliza-glm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytfh44%2FEliza-glm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytfh44%2FEliza-glm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90c05e14553b7b585959edd1d629c000f9645c0c [INFO] building ytfh44/Eliza-glm against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fytfh44%2FEliza-glm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ytfh44/Eliza-glm on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ytfh44/Eliza-glm [INFO] finished tweaking git repo https://github.com/ytfh44/Eliza-glm [INFO] tweaked toml for git repo https://github.com/ytfh44/Eliza-glm written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ytfh44/Eliza-glm 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] babe83d801992c8d47e99347f5d5153a2e6e1c0c335a6d486d141282b51aae26 [INFO] running `Command { std: "docker" "start" "-a" "babe83d801992c8d47e99347f5d5153a2e6e1c0c335a6d486d141282b51aae26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "babe83d801992c8d47e99347f5d5153a2e6e1c0c335a6d486d141282b51aae26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "babe83d801992c8d47e99347f5d5153a2e6e1c0c335a6d486d141282b51aae26", kill_on_drop: false }` [INFO] [stdout] babe83d801992c8d47e99347f5d5153a2e6e1c0c335a6d486d141282b51aae26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3686c0888a4be36afdd93d3cd8bb96bc8c48d754b235fa7fef50c7b4055c0348 [INFO] running `Command { std: "docker" "start" "-a" "3686c0888a4be36afdd93d3cd8bb96bc8c48d754b235fa7fef50c7b4055c0348", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling eliza-glm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImportanceLevel` and `MemoType` [INFO] [stdout] --> src/api/client.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::models::memo::{MemoStore, MemoType, ImportanceLevel}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `OpenOptions` [INFO] [stdout] --> src/models/facts.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fs::{self, File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/models/facts.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::client::GlmClient` [INFO] [stdout] --> src/models/memo.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::api::client::GlmClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::logger::DebugLogger` [INFO] [stdout] --> src/models/memo.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::debug::logger::DebugLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/client.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut client = Self { [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: unused variable: `fact_ids` [INFO] [stdout] --> src/api/client.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let fact_ids = match self.memo_store.extract_facts(user_input, &context, &self.connector) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fact_ids` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/api/analyzer.rs:530:54 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn analyze_facts(&self, history: &[Message], input: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_components` and `send_request` are never used [INFO] [stdout] --> src/api/client.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl GlmClient { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn new_with_components(connector: C, analyzer: Analyzer, debug: DebugLogger) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn send_request(&self, request: GlmRequest) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_facts` is never used [INFO] [stdout] --> src/api/analyzer.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Analyzer { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn analyze_facts(&self, history: &[Message], input: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_emoji` is never used [INFO] [stdout] --> src/models/facts.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl FactCategory { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn as_emoji(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactManager` is never constructed [INFO] [stdout] --> src/models/facts.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct FactManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/facts.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl FactManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn new() -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn add_fact(&mut self, fact: Fact) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_relevant_facts(&self, context: &str, limit: usize) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn read_facts(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn update_fact(&self, old_fact: &Fact, new_fact: &Fact) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn calculate_similarity(&self, text1: &str, text2: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | fn calculate_recency_score(&self, timestamp: &DateTime) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn calculate_mentions_score(&self, mentions: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `upsert` and `link_memos` are never used [INFO] [stdout] --> src/models/memo.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl MemoStore { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn upsert(&mut self, content: String, memo_type: MemoType, importance: ImportanceLevel, connector: &C) -> io::Re... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn link_memos(&mut self, id1: &str, id2: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_response` is never used [INFO] [stdout] --> src/chat/interface.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl ChatInterface { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | fn generate_response(&self, analysis: &AnalysisResult) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "3686c0888a4be36afdd93d3cd8bb96bc8c48d754b235fa7fef50c7b4055c0348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3686c0888a4be36afdd93d3cd8bb96bc8c48d754b235fa7fef50c7b4055c0348", kill_on_drop: false }` [INFO] [stdout] 3686c0888a4be36afdd93d3cd8bb96bc8c48d754b235fa7fef50c7b4055c0348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2703bed59b5c3c0b1bc2125f248f7666e477d7a14c9f59be2726c4c467f2796 [INFO] running `Command { std: "docker" "start" "-a" "c2703bed59b5c3c0b1bc2125f248f7666e477d7a14c9f59be2726c4c467f2796", kill_on_drop: false }` [INFO] [stderr] Compiling eliza-glm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImportanceLevel` and `MemoType` [INFO] [stdout] --> src/api/client.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::models::memo::{MemoStore, MemoType, ImportanceLevel}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `OpenOptions` [INFO] [stdout] --> src/models/facts.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fs::{self, File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/models/facts.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{self, Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::client::GlmClient` [INFO] [stdout] --> src/models/memo.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::api::client::GlmClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::logger::DebugLogger` [INFO] [stdout] --> src/models/memo.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::debug::logger::DebugLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/client.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut client = Self { [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: unused variable: `fact_ids` [INFO] [stdout] --> src/api/client.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let fact_ids = match self.memo_store.extract_facts(user_input, &context, &self.connector) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fact_ids` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/api/analyzer.rs:530:54 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn analyze_facts(&self, history: &[Message], input: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_components` and `send_request` are never used [INFO] [stdout] --> src/api/client.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl GlmClient { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn new_with_components(connector: C, analyzer: Analyzer, debug: DebugLogger) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn send_request(&self, request: GlmRequest) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_facts` is never used [INFO] [stdout] --> src/api/analyzer.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Analyzer { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn analyze_facts(&self, history: &[Message], input: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockGlmConnector` is never constructed [INFO] [stdout] --> src/api/connector.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct MockGlmConnector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_emoji` is never used [INFO] [stdout] --> src/models/facts.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl FactCategory { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn as_emoji(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactManager` is never constructed [INFO] [stdout] --> src/models/facts.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct FactManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/facts.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl FactManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn new() -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn add_fact(&mut self, fact: Fact) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_relevant_facts(&self, context: &str, limit: usize) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn read_facts(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn update_fact(&self, old_fact: &Fact, new_fact: &Fact) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn calculate_similarity(&self, text1: &str, text2: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | fn calculate_recency_score(&self, timestamp: &DateTime) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn calculate_mentions_score(&self, mentions: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/models/memo.rs:793:9 [INFO] [stdout] | [INFO] [stdout] 792 | struct MockConnector { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 793 | debug: DebugLogger, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockConnector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_response` is never used [INFO] [stdout] --> src/chat/interface.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl ChatInterface { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | fn generate_response(&self, analysis: &AnalysisResult) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "c2703bed59b5c3c0b1bc2125f248f7666e477d7a14c9f59be2726c4c467f2796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2703bed59b5c3c0b1bc2125f248f7666e477d7a14c9f59be2726c4c467f2796", kill_on_drop: false }` [INFO] [stdout] c2703bed59b5c3c0b1bc2125f248f7666e477d7a14c9f59be2726c4c467f2796