[INFO] cloning repository https://github.com/kiss-kedaya/openclaw-observational-memory
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kiss-kedaya/openclaw-observational-memory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiss-kedaya%2Fopenclaw-observational-memory", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiss-kedaya%2Fopenclaw-observational-memory'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 71154a94b59705a5c9667d6460cc9e3a1d0ce7c7
[INFO] testing kiss-kedaya/openclaw-observational-memory against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiss-kedaya%2Fopenclaw-observational-memory" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kiss-kedaya/openclaw-observational-memory
[INFO] finished tweaking git repo https://github.com/kiss-kedaya/openclaw-observational-memory
[INFO] tweaked toml for git repo https://github.com/kiss-kedaya/openclaw-observational-memory written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kiss-kedaya/openclaw-observational-memory on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kiss-kedaya/openclaw-observational-memory 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d685135bfba035f3d791dfc292c23182e9622446d18d45c29b477f4f1130b8a
[INFO] running `Command { std: "docker" "start" "-a" "3d685135bfba035f3d791dfc292c23182e9622446d18d45c29b477f4f1130b8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d685135bfba035f3d791dfc292c23182e9622446d18d45c29b477f4f1130b8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d685135bfba035f3d791dfc292c23182e9622446d18d45c29b477f4f1130b8a", kill_on_drop: false }`
[INFO] [stdout] 3d685135bfba035f3d791dfc292c23182e9622446d18d45c29b477f4f1130b8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84f188ab5a5e2e0211179eb09a0acd726ec62f95bf9e8d7fe7ccb1d54998c494
[INFO] running `Command { std: "docker" "start" "-a" "84f188ab5a5e2e0211179eb09a0acd726ec62f95bf9e8d7fe7ccb1d54998c494", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling ownedbytes v0.7.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling bitpacking v0.9.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling tantivy-bitpacker v0.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling murmurhash32 v0.3.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tantivy-fst v0.5.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling fastdivide v0.4.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling measure_time v0.8.3
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling memmap2 v0.9.10
[INFO] [stderr]    Compiling arc-swap v1.8.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling tantivy-query-grammar v0.22.0
[INFO] [stderr]    Compiling fs4 v0.8.4
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tempfile v3.26.0
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling census v0.4.2
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling oneshot v0.1.13
[INFO] [stderr]    Compiling lz4_flex v0.11.5
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling htmlescape v0.3.1
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling levenshtein_automata v0.2.1
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling sysinfo v0.30.13
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tantivy-common v0.7.0
[INFO] [stderr]    Compiling sketches-ddsketch v0.2.2
[INFO] [stderr]    Compiling tantivy-tokenizer-api v0.3.0
[INFO] [stderr]    Compiling rust-stemmers v1.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling tantivy-stacker v0.3.0
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling tantivy-sstable v0.3.0
[INFO] [stderr]    Compiling tantivy-columnar v0.3.0
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tantivy v0.22.1
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling r2d2_sqlite v0.25.0
[INFO] [stderr]    Compiling observational-memory v2.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/api/mod.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post, delete},
[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 imports: `BackupManager` and `DataExporter`
[INFO] [stdout]   --> src/api/mod.rs:13:145
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...chEngine, SummaryGenerator, KnowledgeGraphBuilder, DataExporter, BackupManager};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/ai_search.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/summary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/knowledge_graph.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use db::models::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ the name `SearchResult` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use core::*;
[INFO] [stdout]   |         ------- but the name `SearchResult` in the type namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use db::models::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ the name `ToolSuggestion` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use core::*;
[INFO] [stdout]   |         ------- but the name `ToolSuggestion` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api/mod.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut results = engine.search(all_obs, &req.query, 0.1);  // 降低阈值
[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: unused variable: `days_offset`
[INFO] [stdout]    --> src/core/ai_search.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         for (keyword, days_offset) in &self.time_keywords {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/core/summary.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let stats = self.calculate_stats(messages);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_backup_time`
[INFO] [stdout]   --> src/core/backup.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_backup_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/api/mod.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post, delete},
[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 imports: `BackupManager` and `DataExporter`
[INFO] [stdout]   --> src/api/mod.rs:13:145
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...chEngine, SummaryGenerator, KnowledgeGraphBuilder, DataExporter, BackupManager};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/ai_search.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/summary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/knowledge_graph.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IntentType` and `QueryIntent`
[INFO] [stdout]   --> src/core/mod.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use ai_search::{AISearchEngine, QueryIntent, IntentType};
[INFO] [stdout]    |                                     ^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SummaryType`
[INFO] [stdout]   --> src/core/mod.rs:16:46
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use summary::{SummaryGenerator, Summary, SummaryType};
[INFO] [stdout]    |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Edge`, `NodeType`, and `RelationType`
[INFO] [stdout]   --> src/core/mod.rs:17:72
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use knowledge_graph::{KnowledgeGraphBuilder, KnowledgeGraph, Node, Edge, NodeType, RelationType};
[INFO] [stdout]    |                                                                        ^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataImporter`, `ExportConfig`, `ExportData`, and `ExportFormat`
[INFO] [stdout]   --> src/core/mod.rs:18:32
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use export::{DataExporter, DataImporter, ExportData, ExportConfig, ExportFormat};
[INFO] [stdout]    |                                ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BackupInfo` and `BackupType`
[INFO] [stdout]   --> src/core/mod.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use backup::{BackupManager, BackupInfo, BackupType};
[INFO] [stdout]    |                                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::queries`
[INFO] [stdout]   --> src/memory/patterns.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use crate::db::queries;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Conflict`, `deduplicate_observation`, and `detect_conflicts`
[INFO] [stdout]  --> src/memory/mod.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use deduplication::{deduplicate_observation, detect_conflicts, Conflict};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `calculate_relevance_score`, `get_relevant_observations`, and `update_access_record`
[INFO] [stdout]  --> src/memory/mod.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use relevance::{calculate_relevance_score, update_access_record, get_relevant_observations};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PatternType`, `Pattern`, `analyze_temporal_patterns`, `cluster_observations`, `identify_recurring_tasks`, and `mine_association_rules`
[INFO] [stdout]  --> src/memory/mod.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | ...ns::{Pattern, PatternType, cluster_observations, analyze_temporal_patterns, mine_association_rules, identify_recurring_tasks};
[INFO] [stdout]   |         ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `archive_low_priority_memories`, `auto_consolidation_task`, `consolidate_memories`, and `generate_weekly_summary`
[INFO] [stdout]  --> src/memory/mod.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use consolidation::{consolidate_memories, archive_low_priority_memories, generate_weekly_summary, auto_consolidation_task};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api/mod.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut results = engine.search(all_obs, &req.query, 0.1);  // 降低阈值
[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: unused variable: `days_offset`
[INFO] [stdout]    --> src/core/ai_search.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         for (keyword, days_offset) in &self.time_keywords {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/core/summary.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let stats = self.calculate_stats(messages);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_backup_time`
[INFO] [stdout]   --> src/core/backup.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_backup_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_priority`
[INFO] [stdout]    --> src/memory/consolidation.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 |     let low_priority: Vec<_> = observations.iter()
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_priority`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `generate_daily_summary`, `generate_weekly_summary`, `group_by_topic`, `identify_topic`, and `calculate_stats` are never used
[INFO] [stdout]    --> src/core/summary.rs:68:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl SummaryGenerator {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn generate_daily_summary(&self, messages: &[String]) -> Summary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn generate_weekly_summary(&self, messages: &[String]) -> Summary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn group_by_topic(&self, points: &[String]) -> HashMap<String, Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn identify_topic(&self, text: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |     fn calculate_stats(&self, messages: &[String]) -> HashMap<String, usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_shortest_path` is never used
[INFO] [stdout]    --> src/core/knowledge_graph.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl KnowledgeGraphBuilder {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn find_shortest_path(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExportConfig` is never constructed
[INFO] [stdout]  --> src/core/export.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ExportConfig {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExportFormat` is never used
[INFO] [stdout]   --> src/core/export.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum ExportFormat {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeRange` is never constructed
[INFO] [stdout]   --> src/core/export.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct TimeRange {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExportData` is never constructed
[INFO] [stdout]   --> src/core/export.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct ExportData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SessionExport` is never constructed
[INFO] [stdout]   --> src/core/export.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct SessionExport {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MessageExport` is never constructed
[INFO] [stdout]   --> src/core/export.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MessageExport {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObservationExport` is never constructed
[INFO] [stdout]   --> src/core/export.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct ObservationExport {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExportMetadata` is never constructed
[INFO] [stdout]   --> src/core/export.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct ExportMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataExporter` is never constructed
[INFO] [stdout]   --> src/core/export.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct DataExporter;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `export_to_json`, `export_to_csv`, `export_to_markdown`, and `escape_csv` are never used
[INFO] [stdout]    --> src/core/export.rs:72:12
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl DataExporter {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  72 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn export_to_json(&self, data: &ExportData, path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     pub fn export_to_csv(&self, data: &ExportData, path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn export_to_markdown(&self, data: &ExportData, path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn escape_csv(s: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataImporter` is never constructed
[INFO] [stdout]    --> src/core/export.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub struct DataImporter;
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `import_from_json`, and `validate_import_data` are never used
[INFO] [stdout]    --> src/core/export.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl DataImporter {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 181 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn import_from_json(&self, path: &Path) -> Result<ExportData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn validate_import_data(&self, data: &ExportData) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackupInfo` is never constructed
[INFO] [stdout]  --> src/core/backup.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct BackupInfo {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BackupType` is never used
[INFO] [stdout]   --> src/core/backup.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum BackupType {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackupManager` is never constructed
[INFO] [stdout]   --> src/core/backup.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BackupManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/core/backup.rs:28:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl BackupManager {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  28 |     pub fn new(backup_dir: &Path) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn create_full_backup(&self, db_path: &Path) -> Result<BackupInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn restore_backup(&self, backup_info: &BackupInfo, target_path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn list_backups(&self) -> Result<Vec<BackupInfo>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn delete_backup(&self, backup_info: &BackupInfo) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn cleanup_old_backups(&self, keep_count: usize) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn get_backup_dir_size(&self) -> Result<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]   --> src/db/models.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct SearchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolSuggestion` is never constructed
[INFO] [stdout]   --> src/db/models.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct ToolSuggestion {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conflict` is never constructed
[INFO] [stdout]   --> src/db/models.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Conflict {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_full_text` is never used
[INFO] [stdout]    --> src/db/queries.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn search_full_text(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deduplicate_observation` is never used
[INFO] [stdout]  --> src/memory/deduplication.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn deduplicate_observation(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_similar_observations` is never used
[INFO] [stdout]   --> src/memory/deduplication.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub async fn search_similar_observations(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_similarity` is never used
[INFO] [stdout]   --> src/memory/deduplication.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn calculate_similarity(text1: &str, text2: &str) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_observations` is never used
[INFO] [stdout]   --> src/memory/deduplication.rs:81:10
[INFO] [stdout]    |
[INFO] [stdout] 81 | async fn merge_observations(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_conflicts` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub async fn detect_conflicts(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_related_observations` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 132 | async fn search_related_observations(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_contradictory` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn is_contradictory(old_obs: &Observation, new_obs: &Observation) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_conflict_score` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn calculate_conflict_score(old_obs: &Observation, new_obs: &Observation) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conflict` is never constructed
[INFO] [stdout]    --> src/memory/deduplication.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct Conflict {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_relevance_score` is never used
[INFO] [stdout]  --> src/memory/relevance.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn calculate_relevance_score(obs: &Observation, query_time: DateTime<Utc>) -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_access_record` is never used
[INFO] [stdout]   --> src/memory/relevance.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn update_access_record(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_relevant_observations` is never used
[INFO] [stdout]   --> src/memory/relevance.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub async fn get_relevant_observations(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_priority_score` is never used
[INFO] [stdout]   --> src/memory/relevance.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn calculate_priority_score(content: &str) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PatternType` is never used
[INFO] [stdout]  --> src/memory/patterns.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum PatternType {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pattern` is never constructed
[INFO] [stdout]   --> src/memory/patterns.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Pattern {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cluster_observations` is never used
[INFO] [stdout]   --> src/memory/patterns.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn cluster_observations(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_observations` is never used
[INFO] [stdout]   --> src/memory/patterns.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | async fn get_all_observations(pool: &DbPool) -> Result<Vec<Observation>> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `analyze_temporal_patterns` is never used
[INFO] [stdout]   --> src/memory/patterns.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub async fn analyze_temporal_patterns(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mine_association_rules` is never used
[INFO] [stdout]    --> src/memory/patterns.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub async fn mine_association_rules(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `identify_recurring_tasks` is never used
[INFO] [stdout]    --> src/memory/patterns.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub async fn identify_recurring_tasks(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_pattern` is never used
[INFO] [stdout]    --> src/memory/patterns.rs:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub async fn save_pattern(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consolidate_memories` is never used
[INFO] [stdout]  --> src/memory/consolidation.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn consolidate_memories(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_observations` is never used
[INFO] [stdout]   --> src/memory/consolidation.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn get_all_observations(pool: &DbPool) -> Result<Vec<Observation>> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_similar_observations` is never used
[INFO] [stdout]   --> src/memory/consolidation.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | async fn merge_similar_observations(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `archive_low_priority_memories` is never used
[INFO] [stdout]   --> src/memory/consolidation.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn archive_low_priority_memories(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `archive_observation` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 | async fn archive_observation(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_weekly_summary` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub async fn generate_weekly_summary(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_summary` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:219:14
[INFO] [stdout]     |
[INFO] [stdout] 219 | pub async fn save_summary(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auto_consolidation_task` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:244:14
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub async fn auto_consolidation_task(pool: &DbPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s
[INFO] running `Command { std: "docker" "inspect" "84f188ab5a5e2e0211179eb09a0acd726ec62f95bf9e8d7fe7ccb1d54998c494", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84f188ab5a5e2e0211179eb09a0acd726ec62f95bf9e8d7fe7ccb1d54998c494", kill_on_drop: false }`
[INFO] [stdout] 84f188ab5a5e2e0211179eb09a0acd726ec62f95bf9e8d7fe7ccb1d54998c494
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c71df1f4e9298694c3072b187b92d13be7f4d6956087a7dc8340adddda6223ea
[INFO] running `Command { std: "docker" "start" "-a" "c71df1f4e9298694c3072b187b92d13be7f4d6956087a7dc8340adddda6223ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling tantivy-common v0.7.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rust-stemmers v1.2.0
[INFO] [stderr]    Compiling tantivy-tokenizer-api v0.3.0
[INFO] [stderr]    Compiling sketches-ddsketch v0.2.2
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling tantivy-stacker v0.3.0
[INFO] [stderr]    Compiling tantivy-sstable v0.3.0
[INFO] [stderr]    Compiling tantivy-columnar v0.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tantivy v0.22.1
[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 tower-http v0.6.8
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling observational-memory v2.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/api/mod.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post, delete},
[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 imports: `BackupManager` and `DataExporter`
[INFO] [stdout]   --> src/api/mod.rs:13:145
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...chEngine, SummaryGenerator, KnowledgeGraphBuilder, DataExporter, BackupManager};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/ai_search.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/summary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/knowledge_graph.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use db::models::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ the name `SearchResult` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use core::*;
[INFO] [stdout]   |         ------- but the name `SearchResult` in the type namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use db::models::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ the name `ToolSuggestion` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use core::*;
[INFO] [stdout]   |         ------- but the name `ToolSuggestion` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api/mod.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut results = engine.search(all_obs, &req.query, 0.1);  // 降低阈值
[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: unused variable: `days_offset`
[INFO] [stdout]    --> src/core/ai_search.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         for (keyword, days_offset) in &self.time_keywords {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/core/summary.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let stats = self.calculate_stats(messages);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_backup_time`
[INFO] [stdout]   --> src/core/backup.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_backup_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/api/mod.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post, delete},
[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 imports: `BackupManager` and `DataExporter`
[INFO] [stdout]   --> src/api/mod.rs:13:145
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...chEngine, SummaryGenerator, KnowledgeGraphBuilder, DataExporter, BackupManager};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/ai_search.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/summary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/knowledge_graph.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use db::models::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ the name `SearchResult` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use core::*;
[INFO] [stdout]   |         ------- but the name `SearchResult` in the type namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use db::models::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ the name `ToolSuggestion` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use core::*;
[INFO] [stdout]   |         ------- but the name `ToolSuggestion` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `observational_memory::*`
[INFO] [stdout]  --> tests/integration_test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use observational_memory::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api/mod.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut results = engine.search(all_obs, &req.query, 0.1);  // 降低阈值
[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: unused import: `delete`
[INFO] [stdout]  --> src/api/mod.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post, delete},
[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 imports: `BackupManager` and `DataExporter`
[INFO] [stdout]   --> src/api/mod.rs:13:145
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...chEngine, SummaryGenerator, KnowledgeGraphBuilder, DataExporter, BackupManager};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/ai_search.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/summary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/knowledge_graph.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IntentType` and `QueryIntent`
[INFO] [stdout]   --> src/core/mod.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use ai_search::{AISearchEngine, QueryIntent, IntentType};
[INFO] [stdout]    |                                     ^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SummaryType`
[INFO] [stdout]   --> src/core/mod.rs:16:46
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use summary::{SummaryGenerator, Summary, SummaryType};
[INFO] [stdout]    |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Edge`, `NodeType`, and `RelationType`
[INFO] [stdout]   --> src/core/mod.rs:17:72
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use knowledge_graph::{KnowledgeGraphBuilder, KnowledgeGraph, Node, Edge, NodeType, RelationType};
[INFO] [stdout]    |                                                                        ^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataImporter`, `ExportConfig`, `ExportData`, and `ExportFormat`
[INFO] [stdout]   --> src/core/mod.rs:18:32
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use export::{DataExporter, DataImporter, ExportData, ExportConfig, ExportFormat};
[INFO] [stdout]    |                                ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BackupInfo` and `BackupType`
[INFO] [stdout]   --> src/core/mod.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use backup::{BackupManager, BackupInfo, BackupType};
[INFO] [stdout]    |                                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::queries`
[INFO] [stdout]   --> src/memory/patterns.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use crate::db::queries;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Conflict`, `deduplicate_observation`, and `detect_conflicts`
[INFO] [stdout]  --> src/memory/mod.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use deduplication::{deduplicate_observation, detect_conflicts, Conflict};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `calculate_relevance_score`, `get_relevant_observations`, and `update_access_record`
[INFO] [stdout]  --> src/memory/mod.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use relevance::{calculate_relevance_score, update_access_record, get_relevant_observations};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PatternType`, `Pattern`, `analyze_temporal_patterns`, `cluster_observations`, `identify_recurring_tasks`, and `mine_association_rules`
[INFO] [stdout]  --> src/memory/mod.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | ...ns::{Pattern, PatternType, cluster_observations, analyze_temporal_patterns, mine_association_rules, identify_recurring_tasks};
[INFO] [stdout]   |         ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `archive_low_priority_memories`, `auto_consolidation_task`, `consolidate_memories`, and `generate_weekly_summary`
[INFO] [stdout]  --> src/memory/mod.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use consolidation::{consolidate_memories, archive_low_priority_memories, generate_weekly_summary, auto_consolidation_task};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/api/mod.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get, post, delete},
[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 imports: `BackupManager` and `DataExporter`
[INFO] [stdout]   --> src/api/mod.rs:13:145
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...chEngine, SummaryGenerator, KnowledgeGraphBuilder, DataExporter, BackupManager};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/ai_search.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/summary.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/core/knowledge_graph.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IntentType` and `QueryIntent`
[INFO] [stdout]   --> src/core/mod.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use ai_search::{AISearchEngine, QueryIntent, IntentType};
[INFO] [stdout]    |                                     ^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SummaryType`
[INFO] [stdout]   --> src/core/mod.rs:16:46
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use summary::{SummaryGenerator, Summary, SummaryType};
[INFO] [stdout]    |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Edge`, `NodeType`, and `RelationType`
[INFO] [stdout]   --> src/core/mod.rs:17:72
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use knowledge_graph::{KnowledgeGraphBuilder, KnowledgeGraph, Node, Edge, NodeType, RelationType};
[INFO] [stdout]    |                                                                        ^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataImporter`, `ExportConfig`, `ExportData`, and `ExportFormat`
[INFO] [stdout]   --> src/core/mod.rs:18:32
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use export::{DataExporter, DataImporter, ExportData, ExportConfig, ExportFormat};
[INFO] [stdout]    |                                ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BackupInfo` and `BackupType`
[INFO] [stdout]   --> src/core/mod.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use backup::{BackupManager, BackupInfo, BackupType};
[INFO] [stdout]    |                                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::queries`
[INFO] [stdout]   --> src/memory/patterns.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use crate::db::queries;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Conflict`, `deduplicate_observation`, and `detect_conflicts`
[INFO] [stdout]  --> src/memory/mod.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use deduplication::{deduplicate_observation, detect_conflicts, Conflict};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `calculate_relevance_score`, `get_relevant_observations`, and `update_access_record`
[INFO] [stdout]  --> src/memory/mod.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use relevance::{calculate_relevance_score, update_access_record, get_relevant_observations};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PatternType`, `Pattern`, `analyze_temporal_patterns`, `cluster_observations`, `identify_recurring_tasks`, and `mine_association_rules`
[INFO] [stdout]  --> src/memory/mod.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | ...ns::{Pattern, PatternType, cluster_observations, analyze_temporal_patterns, mine_association_rules, identify_recurring_tasks};
[INFO] [stdout]   |         ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `archive_low_priority_memories`, `auto_consolidation_task`, `consolidate_memories`, and `generate_weekly_summary`
[INFO] [stdout]  --> src/memory/mod.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use consolidation::{consolidate_memories, archive_low_priority_memories, generate_weekly_summary, auto_consolidation_task};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api/mod.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut results = engine.search(all_obs, &req.query, 0.1);  // 降低阈值
[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] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/vector.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/vector.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/tools.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let obs = Observation {
[INFO] [stdout]    |                   ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/tools.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let obs = Observation {
[INFO] [stdout]    |                   ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/tools.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let obs = Observation {
[INFO] [stdout]     |                   ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/memory.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/memory.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Observation {
[INFO] [stdout]     |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/memory.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Observation {
[INFO] [stdout]     |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/memory.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             Observation {
[INFO] [stdout]     |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api/mod.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let mut results = engine.search(all_obs, &req.query, 0.1);  // 降低阈值
[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] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/vector.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/vector.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/tools.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let obs = Observation {
[INFO] [stdout]    |                   ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/tools.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let obs = Observation {
[INFO] [stdout]    |                   ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/tools.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let obs = Observation {
[INFO] [stdout]     |                   ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/memory.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]   --> src/core/memory.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             Observation {
[INFO] [stdout]    |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Observation {
[INFO] [stdout]     |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/memory.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Observation {
[INFO] [stdout]     |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `access_count`, `last_accessed_at` and `merged_from` in initializer of `models::Observation`
[INFO] [stdout]    --> src/core/memory.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             Observation {
[INFO] [stdout]     |             ^^^^^^^^^^^ missing `access_count`, `last_accessed_at` and `merged_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `days_offset`
[INFO] [stdout]    --> src/core/ai_search.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         for (keyword, days_offset) in &self.time_keywords {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/core/summary.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let stats = self.calculate_stats(messages);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `days_offset`
[INFO] [stdout]    --> src/core/ai_search.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         for (keyword, days_offset) in &self.time_keywords {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/core/summary.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let stats = self.calculate_stats(messages);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_backup_time`
[INFO] [stdout]   --> src/core/backup.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_backup_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `observational-memory` (lib test) due to 10 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `last_backup_time`
[INFO] [stdout]   --> src/core/backup.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_backup_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_priority`
[INFO] [stdout]    --> src/memory/consolidation.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 |     let low_priority: Vec<_> = observations.iter()
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_priority`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `generate_daily_summary`, `generate_weekly_summary`, `group_by_topic`, `identify_topic`, and `calculate_stats` are never used
[INFO] [stdout]    --> src/core/summary.rs:68:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl SummaryGenerator {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn generate_daily_summary(&self, messages: &[String]) -> Summary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn generate_weekly_summary(&self, messages: &[String]) -> Summary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     fn group_by_topic(&self, points: &[String]) -> HashMap<String, Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn identify_topic(&self, text: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |     fn calculate_stats(&self, messages: &[String]) -> HashMap<String, usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_shortest_path` is never used
[INFO] [stdout]    --> src/core/knowledge_graph.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl KnowledgeGraphBuilder {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn find_shortest_path(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExportConfig` is never constructed
[INFO] [stdout]  --> src/core/export.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ExportConfig {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExportFormat` is never used
[INFO] [stdout]   --> src/core/export.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum ExportFormat {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeRange` is never constructed
[INFO] [stdout]   --> src/core/export.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct TimeRange {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExportData` is never constructed
[INFO] [stdout]   --> src/core/export.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct ExportData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SessionExport` is never constructed
[INFO] [stdout]   --> src/core/export.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct SessionExport {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MessageExport` is never constructed
[INFO] [stdout]   --> src/core/export.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MessageExport {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObservationExport` is never constructed
[INFO] [stdout]   --> src/core/export.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct ObservationExport {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExportMetadata` is never constructed
[INFO] [stdout]   --> src/core/export.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct ExportMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataExporter` is never constructed
[INFO] [stdout]   --> src/core/export.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct DataExporter;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `export_to_json`, `export_to_csv`, `export_to_markdown`, and `escape_csv` are never used
[INFO] [stdout]    --> src/core/export.rs:72:12
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl DataExporter {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  72 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn export_to_json(&self, data: &ExportData, path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     pub fn export_to_csv(&self, data: &ExportData, path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn export_to_markdown(&self, data: &ExportData, path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn escape_csv(s: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataImporter` is never constructed
[INFO] [stdout]    --> src/core/export.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub struct DataImporter;
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `import_from_json`, and `validate_import_data` are never used
[INFO] [stdout]    --> src/core/export.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl DataImporter {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 181 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn import_from_json(&self, path: &Path) -> Result<ExportData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn validate_import_data(&self, data: &ExportData) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackupInfo` is never constructed
[INFO] [stdout]  --> src/core/backup.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct BackupInfo {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BackupType` is never used
[INFO] [stdout]   --> src/core/backup.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum BackupType {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackupManager` is never constructed
[INFO] [stdout]   --> src/core/backup.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BackupManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/core/backup.rs:28:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl BackupManager {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  28 |     pub fn new(backup_dir: &Path) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn create_full_backup(&self, db_path: &Path) -> Result<BackupInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn restore_backup(&self, backup_info: &BackupInfo, target_path: &Path) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn list_backups(&self) -> Result<Vec<BackupInfo>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn delete_backup(&self, backup_info: &BackupInfo) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn cleanup_old_backups(&self, keep_count: usize) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn get_backup_dir_size(&self) -> Result<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchResult` is never constructed
[INFO] [stdout]   --> src/db/models.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct SearchResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolSuggestion` is never constructed
[INFO] [stdout]   --> src/db/models.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct ToolSuggestion {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conflict` is never constructed
[INFO] [stdout]   --> src/db/models.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Conflict {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_full_text` is never used
[INFO] [stdout]    --> src/db/queries.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn search_full_text(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deduplicate_observation` is never used
[INFO] [stdout]  --> src/memory/deduplication.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn deduplicate_observation(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_similar_observations` is never used
[INFO] [stdout]   --> src/memory/deduplication.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub async fn search_similar_observations(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_similarity` is never used
[INFO] [stdout]   --> src/memory/deduplication.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn calculate_similarity(text1: &str, text2: &str) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_observations` is never used
[INFO] [stdout]   --> src/memory/deduplication.rs:81:10
[INFO] [stdout]    |
[INFO] [stdout] 81 | async fn merge_observations(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_conflicts` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub async fn detect_conflicts(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `search_related_observations` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 132 | async fn search_related_observations(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_contradictory` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn is_contradictory(old_obs: &Observation, new_obs: &Observation) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_conflict_score` is never used
[INFO] [stdout]    --> src/memory/deduplication.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn calculate_conflict_score(old_obs: &Observation, new_obs: &Observation) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conflict` is never constructed
[INFO] [stdout]    --> src/memory/deduplication.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct Conflict {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_relevance_score` is never used
[INFO] [stdout]  --> src/memory/relevance.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn calculate_relevance_score(obs: &Observation, query_time: DateTime<Utc>) -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_access_record` is never used
[INFO] [stdout]   --> src/memory/relevance.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn update_access_record(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_relevant_observations` is never used
[INFO] [stdout]   --> src/memory/relevance.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub async fn get_relevant_observations(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_priority_score` is never used
[INFO] [stdout]   --> src/memory/relevance.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn calculate_priority_score(content: &str) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PatternType` is never used
[INFO] [stdout]  --> src/memory/patterns.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum PatternType {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pattern` is never constructed
[INFO] [stdout]   --> src/memory/patterns.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Pattern {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cluster_observations` is never used
[INFO] [stdout]   --> src/memory/patterns.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn cluster_observations(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_observations` is never used
[INFO] [stdout]   --> src/memory/patterns.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | async fn get_all_observations(pool: &DbPool) -> Result<Vec<Observation>> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `analyze_temporal_patterns` is never used
[INFO] [stdout]   --> src/memory/patterns.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub async fn analyze_temporal_patterns(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mine_association_rules` is never used
[INFO] [stdout]    --> src/memory/patterns.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub async fn mine_association_rules(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `identify_recurring_tasks` is never used
[INFO] [stdout]    --> src/memory/patterns.rs:161:14
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub async fn identify_recurring_tasks(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_pattern` is never used
[INFO] [stdout]    --> src/memory/patterns.rs:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub async fn save_pattern(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consolidate_memories` is never used
[INFO] [stdout]  --> src/memory/consolidation.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn consolidate_memories(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_observations` is never used
[INFO] [stdout]   --> src/memory/consolidation.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn get_all_observations(pool: &DbPool) -> Result<Vec<Observation>> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_similar_observations` is never used
[INFO] [stdout]   --> src/memory/consolidation.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | async fn merge_similar_observations(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `archive_low_priority_memories` is never used
[INFO] [stdout]   --> src/memory/consolidation.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn archive_low_priority_memories(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `archive_observation` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:137:10
[INFO] [stdout]     |
[INFO] [stdout] 137 | async fn archive_observation(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_weekly_summary` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub async fn generate_weekly_summary(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_summary` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:219:14
[INFO] [stdout]     |
[INFO] [stdout] 219 | pub async fn save_summary(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auto_consolidation_task` is never used
[INFO] [stdout]    --> src/memory/consolidation.rs:244:14
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub async fn auto_consolidation_task(pool: &DbPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `days_offset`
[INFO] [stdout]    --> src/core/ai_search.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         for (keyword, days_offset) in &self.time_keywords {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stats`
[INFO] [stdout]    --> src/core/summary.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let stats = self.calculate_stats(messages);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_backup_time`
[INFO] [stdout]   --> src/core/backup.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn create_incremental_backup(&self, db_path: &Path, last_backup_time: &str) -> Result<BackupInfo> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_backup_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `low_priority`
[INFO] [stdout]    --> src/memory/consolidation.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 |     let low_priority: Vec<_> = observations.iter()
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_priority`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `observational-memory` (bin "observational-memory" test) due to 10 previous errors; 20 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c71df1f4e9298694c3072b187b92d13be7f4d6956087a7dc8340adddda6223ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c71df1f4e9298694c3072b187b92d13be7f4d6956087a7dc8340adddda6223ea", kill_on_drop: false }`
[INFO] [stdout] c71df1f4e9298694c3072b187b92d13be7f4d6956087a7dc8340adddda6223ea
