[INFO] cloning repository https://github.com/awdemos/merlin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awdemos/merlin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawdemos%2Fmerlin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawdemos%2Fmerlin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 34a18c351c7a67fcc3cdffdcf44ad04247efd6c3
[INFO] testing awdemos/merlin against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawdemos%2Fmerlin" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/awdemos/merlin
[INFO] finished tweaking git repo https://github.com/awdemos/merlin
[INFO] tweaked toml for git repo https://github.com/awdemos/merlin written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/awdemos/merlin on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/awdemos/merlin 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap_derive v4.5.47
[INFO] [stderr]   Downloaded fragile v2.0.1
[INFO] [stderr]   Downloaded mockall v0.11.4
[INFO] [stderr]   Downloaded mockall_derive v0.11.4
[INFO] [stderr]   Downloaded predicates v2.1.5
[INFO] [stderr]   Downloaded anstream v0.6.20
[INFO] [stderr]   Downloaded clap v4.5.47
[INFO] [stderr]   Downloaded prometheus v0.13.4
[INFO] [stderr]   Downloaded clap_builder v4.5.47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 978be0869bbfe4c6ed384cfcfb433d14487f45b0f847d147e6ab531ae6d21fc7
[INFO] running `Command { std: "docker" "start" "-a" "978be0869bbfe4c6ed384cfcfb433d14487f45b0f847d147e6ab531ae6d21fc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "978be0869bbfe4c6ed384cfcfb433d14487f45b0f847d147e6ab531ae6d21fc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "978be0869bbfe4c6ed384cfcfb433d14487f45b0f847d147e6ab531ae6d21fc7", kill_on_drop: false }`
[INFO] [stdout] 978be0869bbfe4c6ed384cfcfb433d14487f45b0f847d147e6ab531ae6d21fc7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 45a92bf866d3dedf9b806648c05254ea7170fa947f246cd7d03c76b911a07f13
[INFO] running `Command { std: "docker" "start" "-a" "45a92bf866d3dedf9b806648c05254ea7170fa947f246cd7d03c76b911a07f13", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-retry v0.3.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling redis v0.25.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling merlin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/api/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use model_select::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ the name `UserPreferences` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use preferences::*;
[INFO] [stdout]   |         -------------- but the name `UserPreferences` in the type namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose`
[INFO] [stdout]  --> src/providers/bedrock.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use base64::{Engine as _, engine::general_purpose};
[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: `factory::ProviderFactory`
[INFO] [stdout]   --> src/providers/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use factory::ProviderFactory;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QualityScores`
[INFO] [stdout]   --> src/providers/mod.rs:20:61
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use capabilities::{ModelCapabilities, CapabilityLoader, QualityScores};
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/preferences/manager.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/preferences/manager.rs:94:35
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]    --> src/preferences/manager.rs:332:35
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]    --> src/preferences/manager.rs:349:35
[INFO] [stdout]     |
[INFO] [stdout] 349 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/server/enhanced_model_select.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut feedback_storage = app_state.feedback_processor.lock().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: unused variable: `user_preferences`
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |         user_preferences: Option<&UserPreferences>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_preferences`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let reward = if success { 1.0 } else { 0.0 };
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:36
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_aws_signature(&self, method: &str, service: &str, region: &str, host: &str, path: &str, payload: &str, datetime: &Date...
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:79
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...ervice: &str, region: &str, host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:91
[INFO] [stdout]    |
[INFO] [stdout] 31 | ..., region: &str, host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:103
[INFO] [stdout]    |
[INFO] [stdout] 31 | ... host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amz_date`
[INFO] [stdout]   --> src/providers/bedrock.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let amz_date = datetime.format("%Y%m%dT%H%M%SZ").to_string();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amz_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `feedback_storage`
[INFO] [stdout]    --> src/server/enhanced_model_select.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut feedback_storage = app_state.feedback_processor.lock().await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feedback_storage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `feature_dim` is never read
[INFO] [stdout]   --> src/ab_testing/enhanced_model_selector.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct EnhancedModelSelector {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     feature_dim: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `strengths`, `max_tokens`, `creativity_score`, `reasoning_score`, and `code_score` are never read
[INFO] [stdout]   --> src/ab_testing/enhanced_model_selector.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct ModelCapabilities {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 29 |     pub name: String,
[INFO] [stdout] 30 |     pub strengths: Vec<DomainCategory>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub max_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 34 |     pub quality_score: f32, // 0.0 - 1.0
[INFO] [stdout] 35 |     pub creativity_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     pub reasoning_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     pub code_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelCapabilities` 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: fields `capability_loader`, `metrics`, `model_history`, and `feature_dim` are never read
[INFO] [stdout]   --> src/model_selector.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct IntelligentModelSelector {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 16 |     capability_loader: Arc<tokio::sync::Mutex<crate::providers::CapabilityLoader>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     metrics: MetricCollector,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     model_history: HashMap<String, ModelPerformanceHistory>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     embedding_manager: EmbeddingManager,
[INFO] [stdout] 22 |     feature_dim: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `max_tokens`, `creativity_score`, `reasoning_score`, and `code_score` are never read
[INFO] [stdout]   --> src/model_selector.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct InternalModelCapabilities {
[INFO] [stdout]    |        ------------------------- fields in this struct
[INFO] [stdout] 42 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub max_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 47 |     pub quality_score: f32, // 0.0 - 1.0
[INFO] [stdout] 48 |     pub creativity_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     pub reasoning_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     pub code_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InternalModelCapabilities` 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: fields `total_requests`, `successful_requests`, `avg_rating`, `avg_latency`, and `total_cost` are never read
[INFO] [stdout]   --> src/model_selector.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct ModelPerformanceHistory {
[INFO] [stdout]    |        ----------------------- fields in this struct
[INFO] [stdout] 55 |     pub total_requests: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 56 |     pub successful_requests: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub avg_rating: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub avg_latency: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 59 |     pub total_cost: f64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelPerformanceHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_model_score` and `generate_reasoning` are never used
[INFO] [stdout]    --> src/model_selector.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl IntelligentModelSelector {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn calculate_model_score(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 428 |     fn generate_reasoning(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `embedding_manager` is never read
[INFO] [stdout]   --> src/preferences/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PreferenceManager {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     embedding_manager: EmbeddingManager,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_history_size` is never read
[INFO] [stdout]  --> src/preferences/learning.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PreferenceLearner {
[INFO] [stdout]   |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     max_history_size: usize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `domain_patterns` and `total_interactions` are never read
[INFO] [stdout]    --> src/preferences/learning.rs:453:5
[INFO] [stdout]     |
[INFO] [stdout] 451 | struct SessionAnalysis {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 452 |     model_performance: HashMap<String, ModelPerformance>,
[INFO] [stdout] 453 |     domain_patterns: HashMap<String, DomainStats>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 |     total_interactions: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SessionAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `secret_key` is never read
[INFO] [stdout]   --> src/providers/bedrock.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct BedrockProvider {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     secret_key: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]    --> src/providers/config.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl MerlinConfig {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn validate(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_manager` is never used
[INFO] [stdout]   --> src/server/preferences.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn extract_manager<T>(state: &State<T>) -> Arc<PreferenceManager>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_manager_from_app_state` is never used
[INFO] [stdout]   --> src/server/preferences.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn extract_manager_from_app_state(state: &AppState) -> Arc<PreferenceManager> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `futures::Future` that must be used
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |         self.metrics.record_success(model_name, 0); // Placeholder for actual token count
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.90s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "45a92bf866d3dedf9b806648c05254ea7170fa947f246cd7d03c76b911a07f13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45a92bf866d3dedf9b806648c05254ea7170fa947f246cd7d03c76b911a07f13", kill_on_drop: false }`
[INFO] [stdout] 45a92bf866d3dedf9b806648c05254ea7170fa947f246cd7d03c76b911a07f13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4eab90b3a02f55e0ad7a04a88dbcfa3168019ff9dbf663669e1b450b08cd49a6
[INFO] running `Command { std: "docker" "start" "-a" "4eab90b3a02f55e0ad7a04a88dbcfa3168019ff9dbf663669e1b450b08cd49a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling fragile v2.0.1
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling mockall_derive v0.11.4
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling predicates v2.1.5
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-retry v0.3.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling mockall v0.11.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling redis v0.25.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling merlin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/api/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use model_select::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ the name `UserPreferences` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use preferences::*;
[INFO] [stdout]   |         -------------- but the name `UserPreferences` in the type namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose`
[INFO] [stdout]  --> src/providers/bedrock.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use base64::{Engine as _, engine::general_purpose};
[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: `factory::ProviderFactory`
[INFO] [stdout]   --> src/providers/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use factory::ProviderFactory;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QualityScores`
[INFO] [stdout]   --> src/providers/mod.rs:20:61
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use capabilities::{ModelCapabilities, CapabilityLoader, QualityScores};
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/preferences/manager.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/preferences/manager.rs:94:35
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]    --> src/preferences/manager.rs:332:35
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]    --> src/preferences/manager.rs:349:35
[INFO] [stdout]     |
[INFO] [stdout] 349 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/server/enhanced_model_select.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut feedback_storage = app_state.feedback_processor.lock().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: unused variable: `user_preferences`
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |         user_preferences: Option<&UserPreferences>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_preferences`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let reward = if success { 1.0 } else { 0.0 };
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/api/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use model_select::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ the name `UserPreferences` in the type namespace is first re-exported here
[INFO] [stdout] 9 | pub use preferences::*;
[INFO] [stdout]   |         -------------- but the name `UserPreferences` in the type namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FeedbackRequest`
[INFO] [stdout]    --> src/feedback/processor.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |     use crate::api::{FeedbackRequest, FeedbackType};
[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::collections::HashMap`
[INFO] [stdout]    --> src/feedback/processor.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose`
[INFO] [stdout]  --> src/providers/bedrock.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use base64::{Engine as _, engine::general_purpose};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MerlinConfig`
[INFO] [stdout]   --> src/providers/registry.rs:66:52
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use crate::providers::config::{ProviderConfig, MerlinConfig};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `factory::ProviderFactory`
[INFO] [stdout]   --> src/providers/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use factory::ProviderFactory;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QualityScores`
[INFO] [stdout]   --> src/providers/mod.rs:20:61
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use capabilities::{ModelCapabilities, CapabilityLoader, QualityScores};
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/preferences/manager.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/preferences/manager.rs:94:35
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]    --> src/preferences/manager.rs:332:35
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]    --> src/preferences/manager.rs:349:35
[INFO] [stdout]     |
[INFO] [stdout] 349 |             let mut conn = client.get_async_connection().await?;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/server/enhanced_model_select.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut feedback_storage = app_state.feedback_processor.lock().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: unused variable: `method`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:36
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_aws_signature(&self, method: &str, service: &str, region: &str, host: &str, path: &str, payload: &str, datetime: &Date...
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:79
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...ervice: &str, region: &str, host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:91
[INFO] [stdout]    |
[INFO] [stdout] 31 | ..., region: &str, host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:103
[INFO] [stdout]    |
[INFO] [stdout] 31 | ... host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amz_date`
[INFO] [stdout]   --> src/providers/bedrock.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let amz_date = datetime.format("%Y%m%dT%H%M%SZ").to_string();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amz_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `feedback_storage`
[INFO] [stdout]    --> src/server/enhanced_model_select.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut feedback_storage = app_state.feedback_processor.lock().await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feedback_storage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `feature_dim` is never read
[INFO] [stdout]   --> src/ab_testing/enhanced_model_selector.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct EnhancedModelSelector {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     feature_dim: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `strengths`, `max_tokens`, `creativity_score`, `reasoning_score`, and `code_score` are never read
[INFO] [stdout]   --> src/ab_testing/enhanced_model_selector.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct ModelCapabilities {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 29 |     pub name: String,
[INFO] [stdout] 30 |     pub strengths: Vec<DomainCategory>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub max_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 34 |     pub quality_score: f32, // 0.0 - 1.0
[INFO] [stdout] 35 |     pub creativity_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     pub reasoning_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     pub code_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelCapabilities` 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: fields `capability_loader`, `metrics`, `model_history`, and `feature_dim` are never read
[INFO] [stdout]   --> src/model_selector.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct IntelligentModelSelector {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 16 |     capability_loader: Arc<tokio::sync::Mutex<crate::providers::CapabilityLoader>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     metrics: MetricCollector,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     model_history: HashMap<String, ModelPerformanceHistory>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     embedding_manager: EmbeddingManager,
[INFO] [stdout] 22 |     feature_dim: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `max_tokens`, `creativity_score`, `reasoning_score`, and `code_score` are never read
[INFO] [stdout]   --> src/model_selector.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct InternalModelCapabilities {
[INFO] [stdout]    |        ------------------------- fields in this struct
[INFO] [stdout] 42 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub max_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 47 |     pub quality_score: f32, // 0.0 - 1.0
[INFO] [stdout] 48 |     pub creativity_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     pub reasoning_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     pub code_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InternalModelCapabilities` 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: fields `total_requests`, `successful_requests`, `avg_rating`, `avg_latency`, and `total_cost` are never read
[INFO] [stdout]   --> src/model_selector.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct ModelPerformanceHistory {
[INFO] [stdout]    |        ----------------------- fields in this struct
[INFO] [stdout] 55 |     pub total_requests: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 56 |     pub successful_requests: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub avg_rating: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub avg_latency: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 59 |     pub total_cost: f64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelPerformanceHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_model_score` and `generate_reasoning` are never used
[INFO] [stdout]    --> src/model_selector.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl IntelligentModelSelector {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn calculate_model_score(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 428 |     fn generate_reasoning(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `embedding_manager` is never read
[INFO] [stdout]   --> src/preferences/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PreferenceManager {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     embedding_manager: EmbeddingManager,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_history_size` is never read
[INFO] [stdout]  --> src/preferences/learning.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PreferenceLearner {
[INFO] [stdout]   |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     max_history_size: usize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `domain_patterns` and `total_interactions` are never read
[INFO] [stdout]    --> src/preferences/learning.rs:453:5
[INFO] [stdout]     |
[INFO] [stdout] 451 | struct SessionAnalysis {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 452 |     model_performance: HashMap<String, ModelPerformance>,
[INFO] [stdout] 453 |     domain_patterns: HashMap<String, DomainStats>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 |     total_interactions: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SessionAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `secret_key` is never read
[INFO] [stdout]   --> src/providers/bedrock.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct BedrockProvider {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     secret_key: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]    --> src/providers/config.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl MerlinConfig {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn validate(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_manager` is never used
[INFO] [stdout]   --> src/server/preferences.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn extract_manager<T>(state: &State<T>) -> Arc<PreferenceManager>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_manager_from_app_state` is never used
[INFO] [stdout]   --> src/server/preferences.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn extract_manager_from_app_state(state: &AppState) -> Arc<PreferenceManager> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `futures::Future` that must be used
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |         self.metrics.record_success(model_name, 0); // Placeholder for actual token count
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_preferences`
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |         user_preferences: Option<&UserPreferences>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_preferences`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let reward = if success { 1.0 } else { 0.0 };
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `analytical_features`
[INFO] [stdout]    --> src/features/extractor.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let analytical_features = PromptFeatures::analyze(&[
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analytical_features`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `learner`
[INFO] [stdout]    --> src/preferences/learning.rs:603:13
[INFO] [stdout]     |
[INFO] [stdout] 603 |         let learner = PreferenceLearner::new();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:36
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn create_aws_signature(&self, method: &str, service: &str, region: &str, host: &str, path: &str, payload: &str, datetime: &Date...
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:79
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...ervice: &str, region: &str, host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:91
[INFO] [stdout]    |
[INFO] [stdout] 31 | ..., region: &str, host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]   --> src/providers/bedrock.rs:31:103
[INFO] [stdout]    |
[INFO] [stdout] 31 | ... host: &str, path: &str, payload: &str, datetime: &DateTime<Utc>) -> String {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amz_date`
[INFO] [stdout]   --> src/providers/bedrock.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let amz_date = datetime.format("%Y%m%dT%H%M%SZ").to_string();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amz_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `loader` is never read
[INFO] [stdout]    --> src/providers/capabilities.rs:206:26
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let mut loader = CapabilityLoader::new();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `feedback_storage`
[INFO] [stdout]    --> src/server/enhanced_model_select.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut feedback_storage = app_state.feedback_processor.lock().await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feedback_storage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `feature_dim` is never read
[INFO] [stdout]   --> src/ab_testing/enhanced_model_selector.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct EnhancedModelSelector {
[INFO] [stdout]    |            --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     feature_dim: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `strengths`, `max_tokens`, `creativity_score`, `reasoning_score`, and `code_score` are never read
[INFO] [stdout]   --> src/ab_testing/enhanced_model_selector.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct ModelCapabilities {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 29 |     pub name: String,
[INFO] [stdout] 30 |     pub strengths: Vec<DomainCategory>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub max_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 34 |     pub quality_score: f32, // 0.0 - 1.0
[INFO] [stdout] 35 |     pub creativity_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     pub reasoning_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     pub code_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelCapabilities` 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: fields `capability_loader`, `metrics`, `model_history`, and `feature_dim` are never read
[INFO] [stdout]   --> src/model_selector.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct IntelligentModelSelector {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 16 |     capability_loader: Arc<tokio::sync::Mutex<crate::providers::CapabilityLoader>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     metrics: MetricCollector,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     model_history: HashMap<String, ModelPerformanceHistory>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     embedding_manager: EmbeddingManager,
[INFO] [stdout] 22 |     feature_dim: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `max_tokens`, `creativity_score`, `reasoning_score`, and `code_score` are never read
[INFO] [stdout]   --> src/model_selector.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct InternalModelCapabilities {
[INFO] [stdout]    |        ------------------------- fields in this struct
[INFO] [stdout] 42 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub max_tokens: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 47 |     pub quality_score: f32, // 0.0 - 1.0
[INFO] [stdout] 48 |     pub creativity_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     pub reasoning_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     pub code_score: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InternalModelCapabilities` 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: fields `total_requests`, `successful_requests`, `avg_rating`, `avg_latency`, and `total_cost` are never read
[INFO] [stdout]   --> src/model_selector.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct ModelPerformanceHistory {
[INFO] [stdout]    |        ----------------------- fields in this struct
[INFO] [stdout] 55 |     pub total_requests: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 56 |     pub successful_requests: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub avg_rating: f32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub avg_latency: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 59 |     pub total_cost: f64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelPerformanceHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_model_score` and `generate_reasoning` are never used
[INFO] [stdout]    --> src/model_selector.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl IntelligentModelSelector {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn calculate_model_score(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 428 |     fn generate_reasoning(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `embedding_manager` is never read
[INFO] [stdout]   --> src/preferences/manager.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PreferenceManager {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     embedding_manager: EmbeddingManager,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_history_size` is never read
[INFO] [stdout]  --> src/preferences/learning.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PreferenceLearner {
[INFO] [stdout]   |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     max_history_size: usize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `domain_patterns` and `total_interactions` are never read
[INFO] [stdout]    --> src/preferences/learning.rs:453:5
[INFO] [stdout]     |
[INFO] [stdout] 451 | struct SessionAnalysis {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 452 |     model_performance: HashMap<String, ModelPerformance>,
[INFO] [stdout] 453 |     domain_patterns: HashMap<String, DomainStats>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 |     total_interactions: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SessionAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `secret_key` is never read
[INFO] [stdout]   --> src/providers/bedrock.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct BedrockProvider {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     secret_key: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `validate` is never used
[INFO] [stdout]    --> src/providers/config.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl MerlinConfig {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn validate(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_manager` is never used
[INFO] [stdout]   --> src/server/preferences.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn extract_manager<T>(state: &State<T>) -> Arc<PreferenceManager>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_manager_from_app_state` is never used
[INFO] [stdout]   --> src/server/preferences.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn extract_manager_from_app_state(state: &AppState) -> Arc<PreferenceManager> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `futures::Future` that must be used
[INFO] [stdout]    --> src/ab_testing/enhanced_model_selector.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |         self.metrics.record_success(model_name, 0); // Placeholder for actual token count
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `default_model`, `timeout` and `tradeoff` in initializer of `ModelSelectRequest`
[INFO] [stdout]   --> examples/model_selection_demo.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let tech_request = ModelSelectRequest {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ missing `default_model`, `timeout` and `tradeoff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AppState`
[INFO] [stdout]  --> tests/preferences_api_test.rs:9:48
[INFO] [stdout]   |
[INFO] [stdout] 9 | use merlin::server::{create_server_with_state, AppState};
[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: `merlin::server::preferences::PreferenceServerState`
[INFO] [stdout]   --> tests/preferences_api_test.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use merlin::server::preferences::PreferenceServerState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `default_model`, `timeout` and `tradeoff` in initializer of `ModelSelectRequest`
[INFO] [stdout]   --> examples/model_selection_demo.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let simple_request = ModelSelectRequest {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^ missing `default_model`, `timeout` and `tradeoff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `default_model`, `timeout` and `tradeoff` in initializer of `ModelSelectRequest`
[INFO] [stdout]    --> examples/model_selection_demo.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let creative_request = ModelSelectRequest {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^ missing `default_model`, `timeout` and `tradeoff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `merlin` (example "model_selection_demo") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]   --> tests/preferences_api_test.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let app = create_test_app().await;
[INFO] [stdout]    |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 62 |     app.oneshot(
[INFO] [stdout]    |     --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 74 |     let response = app
[INFO] [stdout]    |                    ^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 62 |     app.clone().oneshot(
[INFO] [stdout]    |        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:124:20
[INFO] [stdout]     |
[INFO] [stdout]  96 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 105 |     app.oneshot(
[INFO] [stdout]     |     --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 124 |     let response = app
[INFO] [stdout]     |                    ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 105 |     app.clone().oneshot(
[INFO] [stdout]     |        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:168:20
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 156 |     app.oneshot(
[INFO] [stdout]     |     --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 168 |     let response = app
[INFO] [stdout]     |                    ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 156 |     app.clone().oneshot(
[INFO] [stdout]     |        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:186:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 168 |     let response = app
[INFO] [stdout]     |                    --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 186 |     let get_response = app
[INFO] [stdout]     |                        ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let response = app.clone()
[INFO] [stdout]     |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:225:20
[INFO] [stdout]     |
[INFO] [stdout] 203 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 206 |     for i in 0..3 {
[INFO] [stdout]     |     ------------- inside of this loop
[INFO] [stdout] ...
[INFO] [stdout] 212 |         app.oneshot(
[INFO] [stdout]     |         --- value moved here, in previous iteration of loop
[INFO] [stdout] ...
[INFO] [stdout] 225 |     let response = app
[INFO] [stdout]     |                    ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]     |
[INFO] [stdout] 206 ~     let mut value = app.oneshot(
[INFO] [stdout] 207 +             Request::builder()
[INFO] [stdout] 208 +                 .method("POST")
[INFO] [stdout] 209 +                 .uri("/preferences/users")
[INFO] [stdout] 210 +                 .header("content-type", "application/json")
[INFO] [stdout] 211 +                 .body(Body::from(serde_json::to_vec(&request).unwrap()))
[INFO] [stdout] 212 +                 .unwrap(),
[INFO] [stdout] 213 +         );
[INFO] [stdout] 214 ~     for i in 0..3 {
[INFO] [stdout] 215 |         let request = json!({
[INFO] [stdout] ...
[INFO] [stdout] 219 |
[INFO] [stdout] 220 ~         value
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 212 |         app.clone().oneshot(
[INFO] [stdout]     |            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:282:20
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 254 |     app.oneshot(
[INFO] [stdout]     |     --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 282 |     let response = app
[INFO] [stdout]     |                    ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 254 |     app.clone().oneshot(
[INFO] [stdout]     |        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:338:5
[INFO] [stdout]     |
[INFO] [stdout] 303 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 311 |     app.oneshot(
[INFO] [stdout]     |     --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 338 |     app.oneshot(
[INFO] [stdout]     |     ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 311 |     app.clone().oneshot(
[INFO] [stdout]     |        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:350:20
[INFO] [stdout]     |
[INFO] [stdout] 303 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 338 |     app.oneshot(
[INFO] [stdout]     |     --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 350 |     let response = app
[INFO] [stdout]     |                    ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 338 |     app.clone().oneshot(
[INFO] [stdout]     |        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:401:20
[INFO] [stdout]     |
[INFO] [stdout] 372 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 381 |     for (user_id, optimize_for, learning_enabled) in users {
[INFO] [stdout]     |     ------------------------------------------------------ inside of this loop
[INFO] [stdout] ...
[INFO] [stdout] 388 |         app.oneshot(
[INFO] [stdout]     |         --- value moved here, in previous iteration of loop
[INFO] [stdout] ...
[INFO] [stdout] 401 |     let response = app
[INFO] [stdout]     |                    ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]     |
[INFO] [stdout] 381 ~     let mut value = app.oneshot(
[INFO] [stdout] 382 +             Request::builder()
[INFO] [stdout] 383 +                 .method("POST")
[INFO] [stdout] 384 +                 .uri("/preferences/users")
[INFO] [stdout] 385 +                 .header("content-type", "application/json")
[INFO] [stdout] 386 +                 .body(Body::from(serde_json::to_vec(&request).unwrap()))
[INFO] [stdout] 387 +                 .unwrap(),
[INFO] [stdout] 388 +         );
[INFO] [stdout] 389 ~     for (user_id, optimize_for, learning_enabled) in users {
[INFO] [stdout] 390 |         let request = json!({
[INFO] [stdout] ...
[INFO] [stdout] 395 |
[INFO] [stdout] 396 ~         value
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 388 |         app.clone().oneshot(
[INFO] [stdout]     |            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `app`
[INFO] [stdout]    --> tests/preferences_api_test.rs:477:20
[INFO] [stdout]     |
[INFO] [stdout] 431 |     let app = create_test_app().await;
[INFO] [stdout]     |         --- move occurs because `app` has type `axum::Router`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 445 |     let response = app
[INFO] [stdout]     |                    --- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 477 |     let response = app
[INFO] [stdout]     |                    ^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let response = app.clone()
[INFO] [stdout]     |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `merlin` (test "preferences_api_test") due to 10 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4eab90b3a02f55e0ad7a04a88dbcfa3168019ff9dbf663669e1b450b08cd49a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4eab90b3a02f55e0ad7a04a88dbcfa3168019ff9dbf663669e1b450b08cd49a6", kill_on_drop: false }`
[INFO] [stdout] 4eab90b3a02f55e0ad7a04a88dbcfa3168019ff9dbf663669e1b450b08cd49a6
