[INFO] cloning repository https://github.com/San-ni26/Agent-ia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/San-ni26/Agent-ia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSan-ni26%2FAgent-ia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSan-ni26%2FAgent-ia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6101151525d2696497daf463e31daff577e540a4
[INFO] checking San-ni26/Agent-ia against 8d1a76430406c877b35d0b627e7f796dcf0dfeca+rustflags=-Aunfulfilled-lint-expectations for pr-163637
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSan-ni26%2FAgent-ia" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/San-ni26/Agent-ia
[INFO] finished tweaking git repo https://github.com/San-ni26/Agent-ia
[INFO] tweaked toml for git repo https://github.com/San-ni26/Agent-ia written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/San-ni26/Agent-ia on toolchain 8d1a76430406c877b35d0b627e7f796dcf0dfeca
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/San-ni26/Agent-ia 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" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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] 9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d
[INFO] running `Command { std: "docker" "start" "9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d", 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" "9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d" "/opt/rustwide/cargo-home/bin/cargo" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d", 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 -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d" "/opt/rustwide/cargo-home/bin/cargo" "+8d1a76430406c877b35d0b627e7f796dcf0dfeca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling tokio-macros v2.7.1
[INFO] [stderr]    Compiling cc v1.3.0
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]    Compiling zerocopy v0.8.55
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking futures-task v0.3.33
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling pest v2.8.8
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking futures-channel v0.3.33
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking http-body-util v0.1.4
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]     Checking serde_json v1.0.151
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]     Checking ucd-trie v0.1.7
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking syn v2.0.119
[INFO] [stderr]     Checking uuid v1.24.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling pest_meta v2.8.8
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling pest_generator v2.8.8
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling pest_derive v2.8.8
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling async-trait v0.1.91
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking h2 v0.4.15
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking hyper v1.11.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking agent-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `docs_handler` is never used
[INFO] [stdout]   --> src/api/handlers/health.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn docs_handler() -> &'static str {
[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 `generate_mock_code` is never used
[INFO] [stdout]    --> src/agent/orchestrator.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl Orchestrator {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn generate_mock_code(&self, query: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/agent/planner.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl AgentIntent {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 13 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/agent/planner.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Planner {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 38 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryEntry` is never constructed
[INFO] [stdout]  --> src/agent/memory.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct MemoryEntry {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/agent/memory.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl MemoryEntry {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(role: &str, content: &str, metadata: serde_json::Value) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AgentMemory` is never constructed
[INFO] [stdout]   --> src/agent/memory.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AgentMemory {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, `get_history`, `clear`, and `len` are never used
[INFO] [stdout]   --> src/agent/memory.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AgentMemory {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn add(&mut self, role: &str, content: &str, metadata: serde_json::Value) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_history(&self) -> Vec<MemoryEntry> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Context` is never constructed
[INFO] [stdout]  --> src/agent/context.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Context {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/agent/context.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Context {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 9 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_prompt` is never used
[INFO] [stdout]  --> src/agent/prompts/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn load_prompt(name: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stderr`, `exit_code`, and `duration_ms` are never read
[INFO] [stdout]   --> src/sandbox/traits.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ExecutionResult {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout]  9 |     pub stdout: String,
[INFO] [stdout] 10 |     pub stderr: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 11 |     pub exit_code: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 12 |     pub duration_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceLimits` is never constructed
[INFO] [stdout]  --> src/sandbox/resources.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ResourceLimits {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DynamicAnalyzer` is never constructed
[INFO] [stdout]  --> src/audit/dynamic_analyzer.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DynamicAnalyzer;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `analyze` are never used
[INFO] [stdout]   --> src/audit/dynamic_analyzer.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl DynamicAnalyzer {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout]  6 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn analyze(&self, code: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VulnerabilityDB` is never constructed
[INFO] [stdout]  --> src/audit/vulnerability_db.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VulnerabilityDB {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `check` are never used
[INFO] [stdout]   --> src/audit/vulnerability_db.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl VulnerabilityDB {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn check(&self, package: &str) -> Option<Vec<String>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnsafeRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/unsafe_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct UnsafeRule;
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/unsafe_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl UnsafeRule {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InjectionRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/injection_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct InjectionRule;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/injection_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl InjectionRule {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HardcodedRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/hardcoded_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct HardcodedRule;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/hardcoded_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl HardcodedRule {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DependenciesRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/dependencies_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DependenciesRule;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/dependencies_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl DependenciesRule {
[INFO] [stdout]   | --------------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReportFormatter` is never constructed
[INFO] [stdout]  --> src/audit/report.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ReportFormatter;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `to_json` and `to_text` are never used
[INFO] [stdout]   --> src/audit/report.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl ReportFormatter {
[INFO] [stdout]    | -------------------- associated functions in this implementation
[INFO] [stdout]  8 |     pub fn to_json(report: &AuditReport) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn to_text(report: &AuditReport) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_recent` and `clear` are never used
[INFO] [stdout]   --> src/storage/history.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HistoryStore {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn load_recent(&self, count: usize) -> Result<Vec<String>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn clear(&self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AgentError` is never used
[INFO] [stdout]  --> src/utils/mod.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum AgentError {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Crypto` is never constructed
[INFO] [stdout]  --> src/utils/crypto.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Crypto;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `encrypt` and `decrypt` are never used
[INFO] [stdout]   --> src/utils/crypto.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Crypto {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn encrypt(data: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn decrypt(data: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_code` is never used
[INFO] [stdout]  --> src/utils/hash.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn hash_code(code: &str) -> u64 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AgentError` is never used
[INFO] [stdout]  --> src/utils/errors.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum AgentError {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `batch_size` and `learning_rate` are never read
[INFO] [stdout]   --> src/training/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct TrainingConfig {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 20 |     pub epochs: usize,
[INFO] [stdout] 21 |     pub batch_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 22 |     pub learning_rate: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/training/dataset.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Dataset {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 12 |     pub fn from_file(path: &PathBuf) -> Result<Self, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `docs_handler` is never used
[INFO] [stdout]   --> src/api/handlers/health.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn docs_handler() -> &'static str {
[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 `generate_mock_code` is never used
[INFO] [stdout]    --> src/agent/orchestrator.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl Orchestrator {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn generate_mock_code(&self, query: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/agent/planner.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl AgentIntent {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 13 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/agent/planner.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Planner {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 38 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryEntry` is never constructed
[INFO] [stdout]  --> src/agent/memory.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct MemoryEntry {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/agent/memory.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl MemoryEntry {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(role: &str, content: &str, metadata: serde_json::Value) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AgentMemory` is never constructed
[INFO] [stdout]   --> src/agent/memory.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AgentMemory {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, `get_history`, `clear`, and `len` are never used
[INFO] [stdout]   --> src/agent/memory.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AgentMemory {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn add(&mut self, role: &str, content: &str, metadata: serde_json::Value) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn get_history(&self) -> Vec<MemoryEntry> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Context` is never constructed
[INFO] [stdout]  --> src/agent/context.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Context {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/agent/context.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Context {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 9 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_prompt` is never used
[INFO] [stdout]  --> src/agent/prompts/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn load_prompt(name: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stderr`, `exit_code`, and `duration_ms` are never read
[INFO] [stdout]   --> src/sandbox/traits.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ExecutionResult {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout]  9 |     pub stdout: String,
[INFO] [stdout] 10 |     pub stderr: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 11 |     pub exit_code: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 12 |     pub duration_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceLimits` is never constructed
[INFO] [stdout]  --> src/sandbox/resources.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ResourceLimits {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DynamicAnalyzer` is never constructed
[INFO] [stdout]  --> src/audit/dynamic_analyzer.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DynamicAnalyzer;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `analyze` are never used
[INFO] [stdout]   --> src/audit/dynamic_analyzer.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl DynamicAnalyzer {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout]  6 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn analyze(&self, code: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VulnerabilityDB` is never constructed
[INFO] [stdout]  --> src/audit/vulnerability_db.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VulnerabilityDB {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `check` are never used
[INFO] [stdout]   --> src/audit/vulnerability_db.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl VulnerabilityDB {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn check(&self, package: &str) -> Option<Vec<String>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnsafeRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/unsafe_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct UnsafeRule;
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/unsafe_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl UnsafeRule {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InjectionRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/injection_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct InjectionRule;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/injection_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl InjectionRule {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HardcodedRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/hardcoded_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct HardcodedRule;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/hardcoded_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl HardcodedRule {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DependenciesRule` is never constructed
[INFO] [stdout]  --> src/audit/rules/dependencies_rule.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DependenciesRule;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `check` is never used
[INFO] [stdout]  --> src/audit/rules/dependencies_rule.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl DependenciesRule {
[INFO] [stdout]   | --------------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn check(code: &str) -> Vec<Issue> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReportFormatter` is never constructed
[INFO] [stdout]  --> src/audit/report.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ReportFormatter;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `to_json` and `to_text` are never used
[INFO] [stdout]   --> src/audit/report.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl ReportFormatter {
[INFO] [stdout]    | -------------------- associated functions in this implementation
[INFO] [stdout]  8 |     pub fn to_json(report: &AuditReport) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn to_text(report: &AuditReport) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_recent` and `clear` are never used
[INFO] [stdout]   --> src/storage/history.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HistoryStore {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn load_recent(&self, count: usize) -> Result<Vec<String>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn clear(&self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AgentError` is never used
[INFO] [stdout]  --> src/utils/mod.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum AgentError {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Crypto` is never constructed
[INFO] [stdout]  --> src/utils/crypto.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Crypto;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `encrypt` and `decrypt` are never used
[INFO] [stdout]   --> src/utils/crypto.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Crypto {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn encrypt(data: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn decrypt(data: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_code` is never used
[INFO] [stdout]  --> src/utils/hash.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn hash_code(code: &str) -> u64 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AgentError` is never used
[INFO] [stdout]  --> src/utils/errors.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum AgentError {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `batch_size` and `learning_rate` are never read
[INFO] [stdout]   --> src/training/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct TrainingConfig {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 20 |     pub epochs: usize,
[INFO] [stdout] 21 |     pub batch_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 22 |     pub learning_rate: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/training/dataset.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Dataset {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 12 |     pub fn from_file(path: &PathBuf) -> Result<Self, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `anyhow`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | anyhow = "1.0.89"
[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: unused dependency `config`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | config = "0.14.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `config`
[INFO] [stderr] warning: unused dependency `syn`
[INFO] [stderr]   --> Cargo.toml:22:15
[INFO] [stderr]    |
[INFO] [stderr] 22 | [dependencies.syn]
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `syn`
[INFO] [stderr] warning: unused dependency `tower`
[INFO] [stderr]   --> Cargo.toml:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | tower = "0.4.13"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tower`
[INFO] [stderr] warning: unused dependency `uuid`
[INFO] [stderr]   --> Cargo.toml:38:15
[INFO] [stderr]    |
[INFO] [stderr] 38 | [dependencies.uuid]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `uuid`
[INFO] [stderr] warning: `agent-core` (manifest) generated 5 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.50s
[INFO] running `Command { std: "docker" "inspect" "9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d", kill_on_drop: false }`
[INFO] [stdout] 9fe12ca7e9c0d8b673570af6cbfcddac4d5a0b7e071a2f4b382d3a8e5ca4027d
