[INFO] cloning repository https://github.com/KingBright/playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KingBright/playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingBright%2Fplayground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingBright%2Fplayground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88b58e9e43eeb10e47696943ebdba2702b9fc51f [INFO] checking KingBright/playground against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingBright%2Fplayground" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KingBright/playground [INFO] finished tweaking git repo https://github.com/KingBright/playground [INFO] tweaked toml for git repo https://github.com/KingBright/playground written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KingBright/playground on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KingBright/playground 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `rhai` [INFO] [stderr] --> Cargo.toml:32:25 [INFO] [stderr] | [INFO] [stderr] 32 | [workspace.dependencies.rhai] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `rhai` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] [stderr] warning: crates/api/Cargo.toml: file `/workspace/builds/worker-1-tc2/source/crates/api/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `api` [INFO] [stderr] * `bin` target `api` [INFO] [stderr] warning: `api` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf [INFO] running `Command { std: "docker" "start" "6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `rhai` [INFO] [stderr] --> Cargo.toml:32:25 [INFO] [stderr] | [INFO] [stderr] 32 | [workspace.dependencies.rhai] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `rhai` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] [stderr] warning: crates/api/Cargo.toml: file `/opt/rustwide/workdir/crates/api/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `api` [INFO] [stderr] * `bin` target `api` [INFO] [stderr] warning: `api` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking mediatype v0.19.20 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking siphasher v1.0.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking feed-rs v2.3.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Checking rhai v1.24.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/crates/common) [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/common/src/config/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> crates/common/src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> crates/common/src/llm/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> crates/common/src/testing/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 256 | struct StoredData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 260 | created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoredData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> crates/common/src/config/mod.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | if self.server.port == 0 || self.server.port > 65535 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking sysinfo v0.38.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/common/src/config/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> crates/common/src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> crates/common/src/llm/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking brain v0.1.0 (/opt/rustwide/workdir/crates/brain) [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/brain/src/api/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::sync::RwLock; [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: `HealthStatus`, `SearchFilters`, `StorageId`, and `UnifiedMemoryConfig` [INFO] [stdout] --> crates/brain/src/api/mod.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | GraphMemoryBackend, HealthStatus, HotMemoryBackend, RawArchiveBackend, RawData, SearchFilters, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 24 | StorageId, UnifiedMemory, UnifiedMemoryConfig, VectorMemoryBackend, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/brain/src/collectors/api_collector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AUTHORIZATION`, `CONTENT_TYPE`, and `HeaderMap` [INFO] [stdout] --> crates/brain/src/collectors/api_collector.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::header::{HeaderMap, HeaderValue, AUTHORIZATION, CONTENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataSource` and `RawData` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::storage::{DataSource, RawData}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/brain/src/collectors/rss_collector.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> crates/brain/src/collectors/rss_collector.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataSource` [INFO] [stdout] --> crates/brain/src/collectors/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::storage::{DataSource, RawData, StorageId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::RawData` [INFO] [stdout] --> crates/brain/src/processors/cleaner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::storage::RawData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/cleaner.rs:10:65 [INFO] [stdout] | [INFO] [stdout] 10 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/brain/src/processors/cleaner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProcessedData` and `RawData` [INFO] [stdout] --> crates/brain/src/processors/extractor.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::storage::{Entity, ProcessedData, RawData}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/extractor.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/brain/src/processors/pipeline.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::RawData` [INFO] [stdout] --> crates/brain/src/processors/summarizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::storage::RawData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/summarizer.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `ProcessedData`, and `RawData` [INFO] [stdout] --> crates/brain/src/processors/tagger.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::storage::{Entity, ProcessedData, RawData}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/tagger.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/brain/src/processors/tagger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::Result` [INFO] [stdout] --> crates/brain/src/processors/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use common::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryContext` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::storage::{HotMemoryBackend, MemoryContext}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntityRelation` and `SearchResult` [INFO] [stdout] --> crates/brain/src/storage/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | EntityRelation, GraphEdge, GraphNode, GraphResponse, MemoryType, SearchResult, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/storage/memory.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryContext` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | GraphMemoryBackend, HotMemoryBackend, MemoryContext, RawArchiveBackend, RawData, SearchFilters, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryType` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use common::memory::{MemoryType, SearchResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> crates/common/src/testing/mod.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 256 | struct StoredData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 260 | created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoredData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> crates/common/src/config/mod.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | if self.server.port == 0 || self.server.port > 65535 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/brain/src/api/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::sync::RwLock; [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: `HealthStatus`, `SearchFilters`, `StorageId`, and `UnifiedMemoryConfig` [INFO] [stdout] --> crates/brain/src/api/mod.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | GraphMemoryBackend, HealthStatus, HotMemoryBackend, RawArchiveBackend, RawData, SearchFilters, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 24 | StorageId, UnifiedMemory, UnifiedMemoryConfig, VectorMemoryBackend, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/brain/src/collectors/api_collector.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AUTHORIZATION`, `CONTENT_TYPE`, and `HeaderMap` [INFO] [stdout] --> crates/brain/src/collectors/api_collector.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use reqwest::header::{HeaderMap, HeaderValue, AUTHORIZATION, CONTENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataSource` and `RawData` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::storage::{DataSource, RawData}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/brain/src/collectors/rss_collector.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> crates/brain/src/collectors/rss_collector.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataSource` [INFO] [stdout] --> crates/brain/src/collectors/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::storage::{DataSource, RawData, StorageId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::RawData` [INFO] [stdout] --> crates/brain/src/processors/cleaner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::storage::RawData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/cleaner.rs:10:65 [INFO] [stdout] | [INFO] [stdout] 10 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/brain/src/processors/cleaner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProcessedData` and `RawData` [INFO] [stdout] --> crates/brain/src/processors/extractor.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::storage::{Entity, ProcessedData, RawData}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/extractor.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/brain/src/processors/pipeline.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::RawData` [INFO] [stdout] --> crates/brain/src/processors/summarizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::storage::RawData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/summarizer.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `ProcessedData`, and `RawData` [INFO] [stdout] --> crates/brain/src/processors/tagger.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::storage::{Entity, ProcessedData, RawData}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/processors/tagger.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/brain/src/processors/tagger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::Result` [INFO] [stdout] --> crates/brain/src/processors/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use common::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryContext` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::storage::{HotMemoryBackend, MemoryContext}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> crates/brain/src/storage/hot_memory.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntityRelation` and `SearchResult` [INFO] [stdout] --> crates/brain/src/storage/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | EntityRelation, GraphEdge, GraphNode, GraphResponse, MemoryType, SearchResult, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/storage/memory.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryContext` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | GraphMemoryBackend, HotMemoryBackend, MemoryContext, RawArchiveBackend, RawData, SearchFilters, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryType` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use common::memory::{MemoryType, SearchResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HotMemoryBackend` [INFO] [stdout] --> crates/brain/src/api/mod.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | GraphMemoryBackend, HealthStatus, HotMemoryBackend, RawArchiveBackend, RawData, SearchFilters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawArchiveBackend` [INFO] [stdout] --> crates/brain/src/api/mod.rs:23:57 [INFO] [stdout] | [INFO] [stdout] 23 | GraphMemoryBackend, HealthStatus, HotMemoryBackend, RawArchiveBackend, RawData, SearchFilters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VectorMemoryBackend` [INFO] [stdout] --> crates/brain/src/api/mod.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | StorageId, UnifiedMemory, UnifiedMemoryConfig, VectorMemoryBackend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphMemoryBackend` [INFO] [stdout] --> crates/brain/src/api/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | GraphMemoryBackend, HealthStatus, HotMemoryBackend, RawArchiveBackend, RawData, SearchFilters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collector` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::collectors::{CollectionStats, Collector}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut indices = self.node_indices.write().await; [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: field `stats` is never read [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FileHandler { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 69 | config: FileHandlerConfig, [INFO] [stdout] 70 | stats: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seen_items` is never read [INFO] [stdout] --> crates/brain/src/collectors/rss_collector.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct RssCollector { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | seen_items: Arc>>, // For deduplication [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssCollector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct InternalEdge { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | id: String, [INFO] [stdout] 26 | from: NodeIndex, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | to: NodeIndex, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalEdge` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_neighbors` is never used [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 44 | impl InMemoryGraphStore { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | async fn get_neighbors(&self, node_id: &str) -> Result<(Vec, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `config` are never read [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UnifiedMemory { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | cache: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | config: UnifiedMemoryConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnifiedMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/brain/src/storage/raw_archive.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | / tokio::fs::remove_file(&metadata.file_path) [INFO] [stdout] 348 | | .await [INFO] [stdout] 349 | | .map_err(|e| warn!("Failed to delete file {:?}: {}", metadata.file_path, e)); [INFO] [stdout] | |________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 347 | let _ = tokio::fs::remove_file(&metadata.file_path) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/brain/src/storage/raw_archive.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | / tokio::fs::remove_file(&test_file) [INFO] [stdout] 433 | | .await [INFO] [stdout] 434 | | .map_err(|e| warn!("Failed to remove health check file: {}", e)); [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 432 | let _ = tokio::fs::remove_file(&test_file) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collector` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::collectors::{CollectionStats, Collector}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/crates/engine) [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stdout] warning: unused imports: `DataSource` and `RawData` [INFO] [stdout] --> crates/brain/tests/storage_integration_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | DataSource, GraphMemoryBackend, HotMemoryBackend, RawData, VectorDocument, VectorMemoryBackend, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> crates/brain/tests/storage_integration_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/brain/tests/storage_integration_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentBehavior`, `AgentConfig`, `AgentContext`, and `AgentResult` [INFO] [stdout] --> crates/engine/src/agent/local.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::agent::{AgentAction, AgentBehavior, AgentConfig, AgentContext, AgentResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/engine/src/agent/local.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/engine/src/agent/local.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::agent::AgentContext` [INFO] [stdout] --> crates/engine/src/agent/oracle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::agent::AgentContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentInput`, `AgentOutput`, and `Agent` [INFO] [stdout] --> crates/engine/src/agent/oracle.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use common::{Agent, AgentInput, AgentOutput, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentConfig` and `AgentContext` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::agent::{AgentConfig, AgentContext}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CleanerAgent`, `ExtractorAgent`, `SummarizerAgent`, and `TaggerAgent` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | pipeline::ProcessingPipeline, CleanerAgent, ExtractorAgent, SummarizerAgent, TaggerAgent, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> crates/engine/src/api/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | extract::{Path, Query, State, WebSocketUpgrade}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionSnapshot`, `SessionStatus`, and `Session` [INFO] [stdout] --> crates/engine/src/api/mod.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::session::{Session, SessionConfig, SessionManager, SessionSnapshot, SessionStatus}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> crates/engine/src/environment/schema.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> crates/engine/src/environment/state.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChessEnvironment` and `DebateEnvironment` [INFO] [stdout] --> crates/engine/src/environment/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use examples::{ChessEnvironment, DebateEnvironment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicEnvironment`, `EnvironmentBuilder`, and `EnvironmentSchema` [INFO] [stdout] --> crates/engine/src/session/mod.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | use crate::environment::{BasicEnvironment, EnvironmentBuilder, EnvironmentSchema}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnvironmentState` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::environment::{Environment, EnvironmentState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicEnvironment` and `EnvironmentSchema` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | use crate::environment::{BasicEnvironment, EnvironmentBuilder, EnvironmentSchema}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> crates/engine/src/workflow/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/engine/src/workflow/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let handler = FileHandler::new(config); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentBehavior`, `AgentConfig`, `AgentContext`, and `AgentResult` [INFO] [stdout] --> crates/engine/src/agent/local.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::agent::{AgentAction, AgentBehavior, AgentConfig, AgentContext, AgentResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/engine/src/agent/local.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/engine/src/agent/local.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::agent::AgentContext` [INFO] [stdout] --> crates/engine/src/agent/oracle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::agent::AgentContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentInput`, `AgentOutput`, and `Agent` [INFO] [stdout] --> crates/engine/src/agent/oracle.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use common::{Agent, AgentInput, AgentOutput, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentConfig` and `AgentContext` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::agent::{AgentConfig, AgentContext}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CleanerAgent`, `ExtractorAgent`, `SummarizerAgent`, and `TaggerAgent` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | pipeline::ProcessingPipeline, CleanerAgent, ExtractorAgent, SummarizerAgent, TaggerAgent, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{Agent, AgentCapabilities, AgentInput, AgentOutput, Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/engine/src/agent/universal.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> crates/engine/src/api/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | extract::{Path, Query, State, WebSocketUpgrade}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionSnapshot`, `SessionStatus`, and `Session` [INFO] [stdout] --> crates/engine/src/api/mod.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::session::{Session, SessionConfig, SessionManager, SessionSnapshot, SessionStatus}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> crates/engine/src/environment/schema.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> crates/engine/src/environment/state.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChessEnvironment` and `DebateEnvironment` [INFO] [stdout] --> crates/engine/src/environment/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use examples::{ChessEnvironment, DebateEnvironment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnvironmentState` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::environment::{Environment, EnvironmentState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> crates/engine/src/workflow/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use common::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/engine/src/workflow/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut indices = self.node_indices.write().await; [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: field `stats` is never read [INFO] [stdout] --> crates/brain/src/collectors/file_handler.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FileHandler { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 69 | config: FileHandlerConfig, [INFO] [stdout] 70 | stats: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seen_items` is never read [INFO] [stdout] --> crates/brain/src/collectors/rss_collector.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct RssCollector { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | seen_items: Arc>>, // For deduplication [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssCollector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct InternalEdge { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | id: String, [INFO] [stdout] 26 | from: NodeIndex, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | to: NodeIndex, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalEdge` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_neighbors` is never used [INFO] [stdout] --> crates/brain/src/storage/graph_memory.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 44 | impl InMemoryGraphStore { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | async fn get_neighbors(&self, node_id: &str) -> Result<(Vec, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `config` are never read [INFO] [stdout] --> crates/brain/src/storage/unified_memory.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UnifiedMemory { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | cache: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | config: UnifiedMemoryConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnifiedMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> crates/brain/src/storage/raw_archive.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | / tokio::fs::remove_file(&metadata.file_path) [INFO] [stdout] 348 | | .await [INFO] [stdout] 349 | | .map_err(|e| warn!("Failed to delete file {:?}: {}", metadata.file_path, e)); [INFO] [stdout] | |________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 347 | let _ = tokio::fs::remove_file(&metadata.file_path) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> crates/brain/src/storage/raw_archive.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | / tokio::fs::remove_file(&test_file) [INFO] [stdout] 433 | | .await [INFO] [stdout] 434 | | .map_err(|e| warn!("Failed to remove health check file: {}", e)); [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 432 | let _ = tokio::fs::remove_file(&test_file) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Environment` [INFO] [stdout] --> crates/engine/src/agent/local.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::environment::{Environment, EnvironmentState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Environment` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::environment::{Environment, EnvironmentState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> crates/engine/src/session/mod.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let agents = self.agents.read().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snapshot` [INFO] [stdout] --> crates/engine/src/session/mod.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | let snapshot = snapshots [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Environment` [INFO] [stdout] --> crates/engine/src/agent/local.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::environment::{Environment, EnvironmentState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Environment` [INFO] [stdout] --> crates/engine/src/workflow/engine.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::environment::{Environment, EnvironmentState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> crates/engine/src/environment/state.rs:227:35 [INFO] [stdout] | [INFO] [stdout] 227 | fn validate_transition(&self, from: &EnvironmentState, to: &EnvironmentState) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> crates/engine/src/session/mod.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | update: crate::environment::StateUpdate, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> crates/engine/src/session/mod.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let agents = self.agents.read().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snapshot` [INFO] [stdout] --> crates/engine/src/session/mod.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | let snapshot = snapshots [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pending_requests` is never read [INFO] [stdout] --> crates/engine/src/agent/oracle.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct OracleProtocol { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 72 | /// 待处理的请求 [INFO] [stdout] 73 | pending_requests: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> crates/engine/src/environment/state.rs:227:35 [INFO] [stdout] | [INFO] [stdout] 227 | fn validate_transition(&self, from: &EnvironmentState, to: &EnvironmentState) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> crates/engine/src/session/mod.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | update: crate::environment::StateUpdate, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pending_requests` is never read [INFO] [stdout] --> crates/engine/src/agent/oracle.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct OracleProtocol { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 72 | /// 待处理的请求 [INFO] [stdout] 73 | pending_requests: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking synergy v0.1.0 (/opt/rustwide/workdir/crates/synergy) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/synergy/src/api/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/synergy/src/events/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/synergy/src/registry/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentDefinition` and `AgentType` [INFO] [stdout] --> crates/synergy/src/scheduler/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::registry::{AgentDefinition, AgentRegistry, AgentType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/synergy/src/api/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/synergy/src/events/mod.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/synergy/src/registry/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentDefinition` and `AgentType` [INFO] [stdout] --> crates/synergy/src/scheduler/mod.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::registry::{AgentDefinition, AgentRegistry, AgentType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crates/synergy/src/scheduler/mod.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | content: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> crates/synergy/src/scheduler/mod.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | content: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/crates/api) [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/api/src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::{error, info, warn}; [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: `error` and `warn` [INFO] [stdout] --> crates/api/src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::{error, info, warn}; [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 variable: `state` [INFO] [stdout] --> crates/api/src/main.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | async fn list_knowledge(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> crates/api/src/main.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | async fn list_knowledge(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddedAssets` is never constructed [INFO] [stdout] --> crates/api/src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct EmbeddedAssets; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> crates/api/src/main.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_app_state` is never used [INFO] [stdout] --> crates/api/src/main.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | async fn init_app_state(cli: &Cli) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_static_routes` is never used [INFO] [stdout] --> crates/api/src/main.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn create_static_routes() -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_index` is never used [INFO] [stdout] --> crates/api/src/main.rs:849:10 [INFO] [stdout] | [INFO] [stdout] 849 | async fn serve_index(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_static_or_embedded` is never used [INFO] [stdout] --> crates/api/src/main.rs:867:10 [INFO] [stdout] | [INFO] [stdout] 867 | async fn serve_static_or_embedded( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/api/src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> crates/api/tests/synergy_api_test.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(json["agents"].as_array().unwrap().len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/api/src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::{error, info, warn}; [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 variable: `state` [INFO] [stdout] --> crates/api/src/main.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | async fn list_knowledge(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> crates/api/src/main.rs:379:31 [INFO] [stdout] | [INFO] [stdout] 379 | async fn list_knowledge(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `config` [INFO] [stderr] --> crates/api/Cargo.toml:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | config = "0.14" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `config` [INFO] [stderr] warning: `api` (manifest) generated 1 warning [INFO] [stderr] warning: unused dependency `mime_guess` [INFO] [stderr] --> crates/brain/Cargo.toml:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | mime_guess.workspace = true [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `mime_guess` [INFO] [stderr] warning: unused dependency `serde_with` [INFO] [stderr] --> crates/brain/Cargo.toml:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | serde_with = "3.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_with` [INFO] [stderr] warning: `brain` (manifest) generated 2 warnings [INFO] [stderr] warning: unused dependency `anyhow` [INFO] [stderr] --> crates/common/Cargo.toml:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | anyhow.workspace = true [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `anyhow` [INFO] [stderr] warning: `common` (manifest) generated 1 warning [INFO] [stderr] warning: unused dependency `tower-http` [INFO] [stderr] --> crates/engine/Cargo.toml:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | tower-http = { workspace = true, features = ["cors"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tower-http` [INFO] [stderr] warning: `engine` (manifest) generated 1 warning [INFO] [stderr] warning: unused dependency `tokio-cron-scheduler` [INFO] [stderr] --> crates/synergy/Cargo.toml:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | tokio-cron-scheduler.workspace = true [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tokio-cron-scheduler` [INFO] [stderr] warning: `synergy` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 26s [INFO] running `Command { std: "docker" "inspect" "6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf", kill_on_drop: false }` [INFO] [stdout] 6ba13496cf3b914a38c0c8c41de87b6b595412e32d573b26098c372c6050afdf