[INFO] cloning repository https://github.com/Bib3k4u/rust_ai_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bib3k4u/rust_ai_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBib3k4u%2Frust_ai_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBib3k4u%2Frust_ai_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0a8badeec4c6587f635c976e30975afa1689282e
[INFO] checking Bib3k4u/rust_ai_backend against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBib3k4u%2Frust_ai_backend" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bib3k4u/rust_ai_backend
[INFO] finished tweaking git repo https://github.com/Bib3k4u/rust_ai_backend
[INFO] tweaked toml for git repo https://github.com/Bib3k4u/rust_ai_backend written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bib3k4u/rust_ai_backend on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bib3k4u/rust_ai_backend 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7c864f6818798eeb71b5101f4677c993383be14a535d4c9d9adacc02c3b2b97
[INFO] running `Command { std: "docker" "start" "-a" "c7c864f6818798eeb71b5101f4677c993383be14a535d4c9d9adacc02c3b2b97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7c864f6818798eeb71b5101f4677c993383be14a535d4c9d9adacc02c3b2b97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7c864f6818798eeb71b5101f4677c993383be14a535d4c9d9adacc02c3b2b97", kill_on_drop: false }`
[INFO] [stdout] c7c864f6818798eeb71b5101f4677c993383be14a535d4c9d9adacc02c3b2b97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b6663e42306dcbeead5828324dbe51c49b9eaf8e3b68dae462e7e62bb3294671
[INFO] running `Command { std: "docker" "start" "-a" "b6663e42306dcbeead5828324dbe51c49b9eaf8e3b68dae462e7e62bb3294671", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking unicase v2.8.1
[INFO] [stderr]     Checking resolv-conf v0.7.3
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking bson v2.14.0
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking mongodb v2.8.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking rust_mongodb_chatbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:7:108
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn handle_get_chats(collection: Collection<ChatMessage>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ____________________________________________________________________________________________________________^
[INFO] [stdout]  8 | |     let chats = collection.find(None, None).await.unwrap();
[INFO] [stdout]  9 | |     let chats: Vec<ChatMessage> = chats.try_collect().await.unwrap();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&chats))
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:7:108
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn handle_get_chats(collection: Collection<ChatMessage>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ____________________________________________________________________________________________________________^
[INFO] [stdout]  8 | |     let chats = collection.find(None, None).await.unwrap();
[INFO] [stdout]  9 | |     let chats: Vec<ChatMessage> = chats.try_collect().await.unwrap();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&chats))
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Ok(warp::reply::json(&chats))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let http_client = reqwest::Client::new();
[INFO] [stdout] 18 | |     let api_key = "UOO9dfJ3IYbVMivpgE7heN8uXOAkR3VN";
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let http_client = reqwest::Client::new();
[INFO] [stdout] 18 | |     let api_key = "UOO9dfJ3IYbVMivpgE7heN8uXOAkR3VN";
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     match http_client.post("https://api.mistral.ai/v1/chat/completions")
[INFO] [stdout] 26 | |         .header("Authorization", format!("Bearer {}", api_key))
[INFO] [stdout] 27 | |         .header("Content-Type", "application/json")
[INFO] [stdout] 28 | |         .json(&request_body)
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |           Ok(response) => {
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 32 | |             if response.status().is_success() {
[INFO] [stdout] 33 | |                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         },
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 | /             if response.status().is_success() {
[INFO] [stdout] 33 | |                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:32:47
[INFO] [stdout]    |
[INFO] [stdout] 32 |               if response.status().is_success() {
[INFO] [stdout]    |  _______________________________________________^
[INFO] [stdout] 33 | |                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | |             } else {
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 | /                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] 36 | |                             Ok(chat_completion) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |                       Ok(response_text) => {
[INFO] [stdout]    |  __________________________________________^
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] 36 | |                             Ok(chat_completion) => {
[INFO] [stdout] 37 | |                                 if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |                     },
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 | /                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] 36 | |                             Ok(chat_completion) => {
[INFO] [stdout] 37 | |                                 if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |                         }
[INFO] [stdout]    | |_________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:36:52
[INFO] [stdout]    |
[INFO] [stdout] 36 |   ...                   Ok(chat_completion) => {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 37 | | ...                       if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] 38 | | ...                           // Create the message we'll return first
[INFO] [stdout] 39 | | ...                           let response_message = ChatMessage {
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | ...                   },
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 | / ...                   if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] 38 | | ...                       // Create the message we'll return first
[INFO] [stdout] 39 | | ...                       let response_message = ChatMessage {
[INFO] [stdout] 40 | | ...                           question: question_request.question,
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | | ...                       Ok(warp::reply::json(&"No response from AI"))
[INFO] [stdout] 49 | | ...                   }
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:37:87
[INFO] [stdout]    |
[INFO] [stdout] 37 |   ...                   if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout]    |  _____________________________________________________________________________^
[INFO] [stdout] 38 | | ...                       // Create the message we'll return first
[INFO] [stdout] 39 | | ...                       let response_message = ChatMessage {
[INFO] [stdout] 40 | | ...                           question: question_request.question,
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | | ...                       Ok(warp::reply::json(&response_message))
[INFO] [stdout] 47 | | ...                   } else {
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...                   Ok(warp::reply::json(&response_message))
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |   ...                   } else {
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 48 | | ...                       Ok(warp::reply::json(&"No response from AI"))
[INFO] [stdout] 49 | | ...                   }
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...                   Ok(warp::reply::json(&"No response from AI"))
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |   ...                   Err(e) => {
[INFO] [stdout]    |  _________________________________^
[INFO] [stdout] 52 | | ...                       eprintln!("Failed to parse response: {}", e);
[INFO] [stdout] 53 | | ...                       Ok(warp::reply::json(&"Failed to parse response from AI"))
[INFO] [stdout] 54 | | ...                   }
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 | ...                   Ok(warp::reply::json(&"Failed to parse response from AI"))
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:57:31
[INFO] [stdout]    |
[INFO] [stdout] 57 |                       Err(e) => {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 58 | |                         eprintln!("Failed to read response: {}", e);
[INFO] [stdout] 59 | |                         Ok(warp::reply::json(&"Failed to read response from AI"))
[INFO] [stdout] 60 | |                     }
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |                         Ok(warp::reply::json(&"Failed to read response from AI"))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 62 |               } else {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 63 | |                 eprintln!("API request failed with status code: {}", response.status());
[INFO] [stdout] 64 | |                 match response.text().await {
[INFO] [stdout] 65 | |                     Ok(error_details) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | /                 match response.text().await {
[INFO] [stdout] 65 | |                     Ok(error_details) => {
[INFO] [stdout] 66 | |                         eprintln!("Error details: {}", error_details);
[INFO] [stdout] 67 | |                         Ok(warp::reply::json(&"Failed to get response from AI"))
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 |                       Ok(error_details) => {
[INFO] [stdout]    |  __________________________________________^
[INFO] [stdout] 66 | |                         eprintln!("Error details: {}", error_details);
[INFO] [stdout] 67 | |                         Ok(warp::reply::json(&"Failed to get response from AI"))
[INFO] [stdout] 68 | |                     },
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:67:25
[INFO] [stdout]    |
[INFO] [stdout] 67 |                         Ok(warp::reply::json(&"Failed to get response from AI"))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 |                       Err(e) => {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 70 | |                         eprintln!("Failed to read error details: {}", e);
[INFO] [stdout] 71 | |                         Ok(warp::reply::json(&"Failed to read error details from AI"))
[INFO] [stdout] 72 | |                     }
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |                         Ok(warp::reply::json(&"Failed to read error details from AI"))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:76:19
[INFO] [stdout]    |
[INFO] [stdout] 76 |           Err(e) => {
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 77 | |             eprintln!("Failed to send request: {}", e);
[INFO] [stdout] 78 | |             Ok(warp::reply::json(&"Failed to send request to AI"))
[INFO] [stdout] 79 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Ok(warp::reply::json(&"Failed to send request to AI"))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:7:108
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn handle_get_chats(collection: Collection<ChatMessage>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ____________________________________________________________________________________________________________^
[INFO] [stdout]  8 | |     let chats = collection.find(None, None).await.unwrap();
[INFO] [stdout]  9 | |     let chats: Vec<ChatMessage> = chats.try_collect().await.unwrap();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&chats))
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:7:108
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn handle_get_chats(collection: Collection<ChatMessage>) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ____________________________________________________________________________________________________________^
[INFO] [stdout]  8 | |     let chats = collection.find(None, None).await.unwrap();
[INFO] [stdout]  9 | |     let chats: Vec<ChatMessage> = chats.try_collect().await.unwrap();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&chats))
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Ok(warp::reply::json(&chats))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let http_client = reqwest::Client::new();
[INFO] [stdout] 18 | |     let api_key = "UOO9dfJ3IYbVMivpgE7heN8uXOAkR3VN";
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let http_client = reqwest::Client::new();
[INFO] [stdout] 18 | |     let api_key = "UOO9dfJ3IYbVMivpgE7heN8uXOAkR3VN";
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     match http_client.post("https://api.mistral.ai/v1/chat/completions")
[INFO] [stdout] 26 | |         .header("Authorization", format!("Bearer {}", api_key))
[INFO] [stdout] 27 | |         .header("Content-Type", "application/json")
[INFO] [stdout] 28 | |         .json(&request_body)
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_mongodb_chatbot` (bin "rust_mongodb_chatbot") due to 30 previous errors
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |           Ok(response) => {
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 32 | |             if response.status().is_success() {
[INFO] [stdout] 33 | |                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         },
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 | /             if response.status().is_success() {
[INFO] [stdout] 33 | |                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:32:47
[INFO] [stdout]    |
[INFO] [stdout] 32 |               if response.status().is_success() {
[INFO] [stdout]    |  _______________________________________________^
[INFO] [stdout] 33 | |                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | |             } else {
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 | /                 match response.text().await {
[INFO] [stdout] 34 | |                     Ok(response_text) => {
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] 36 | |                             Ok(chat_completion) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |                       Ok(response_text) => {
[INFO] [stdout]    |  __________________________________________^
[INFO] [stdout] 35 | |                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] 36 | |                             Ok(chat_completion) => {
[INFO] [stdout] 37 | |                                 if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |                     },
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 | /                         match serde_json::from_str::<ChatCompletionResponse>(&response_text) {
[INFO] [stdout] 36 | |                             Ok(chat_completion) => {
[INFO] [stdout] 37 | |                                 if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |                         }
[INFO] [stdout]    | |_________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:36:52
[INFO] [stdout]    |
[INFO] [stdout] 36 |   ...                   Ok(chat_completion) => {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 37 | | ...                       if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] 38 | | ...                           // Create the message we'll return first
[INFO] [stdout] 39 | | ...                           let response_message = ChatMessage {
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | ...                   },
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 | / ...                   if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout] 38 | | ...                       // Create the message we'll return first
[INFO] [stdout] 39 | | ...                       let response_message = ChatMessage {
[INFO] [stdout] 40 | | ...                           question: question_request.question,
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | | ...                       Ok(warp::reply::json(&"No response from AI"))
[INFO] [stdout] 49 | | ...                   }
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:37:87
[INFO] [stdout]    |
[INFO] [stdout] 37 |   ...                   if let Some(choice) = chat_completion.choices.first() {
[INFO] [stdout]    |  _____________________________________________________________________________^
[INFO] [stdout] 38 | | ...                       // Create the message we'll return first
[INFO] [stdout] 39 | | ...                       let response_message = ChatMessage {
[INFO] [stdout] 40 | | ...                           question: question_request.question,
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | | ...                       Ok(warp::reply::json(&response_message))
[INFO] [stdout] 47 | | ...                   } else {
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...                   Ok(warp::reply::json(&response_message))
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |   ...                   } else {
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 48 | | ...                       Ok(warp::reply::json(&"No response from AI"))
[INFO] [stdout] 49 | | ...                   }
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...                   Ok(warp::reply::json(&"No response from AI"))
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |   ...                   Err(e) => {
[INFO] [stdout]    |  _________________________________^
[INFO] [stdout] 52 | | ...                       eprintln!("Failed to parse response: {}", e);
[INFO] [stdout] 53 | | ...                       Ok(warp::reply::json(&"Failed to parse response from AI"))
[INFO] [stdout] 54 | | ...                   }
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 | ...                   Ok(warp::reply::json(&"Failed to parse response from AI"))
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:57:31
[INFO] [stdout]    |
[INFO] [stdout] 57 |                       Err(e) => {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 58 | |                         eprintln!("Failed to read response: {}", e);
[INFO] [stdout] 59 | |                         Ok(warp::reply::json(&"Failed to read response from AI"))
[INFO] [stdout] 60 | |                     }
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |                         Ok(warp::reply::json(&"Failed to read response from AI"))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 62 |               } else {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 63 | |                 eprintln!("API request failed with status code: {}", response.status());
[INFO] [stdout] 64 | |                 match response.text().await {
[INFO] [stdout] 65 | |                     Ok(error_details) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | /                 match response.text().await {
[INFO] [stdout] 65 | |                     Ok(error_details) => {
[INFO] [stdout] 66 | |                         eprintln!("Error details: {}", error_details);
[INFO] [stdout] 67 | |                         Ok(warp::reply::json(&"Failed to get response from AI"))
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 |                       Ok(error_details) => {
[INFO] [stdout]    |  __________________________________________^
[INFO] [stdout] 66 | |                         eprintln!("Error details: {}", error_details);
[INFO] [stdout] 67 | |                         Ok(warp::reply::json(&"Failed to get response from AI"))
[INFO] [stdout] 68 | |                     },
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:67:25
[INFO] [stdout]    |
[INFO] [stdout] 67 |                         Ok(warp::reply::json(&"Failed to get response from AI"))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 |                       Err(e) => {
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 70 | |                         eprintln!("Failed to read error details: {}", e);
[INFO] [stdout] 71 | |                         Ok(warp::reply::json(&"Failed to read error details from AI"))
[INFO] [stdout] 72 | |                     }
[INFO] [stdout]    | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |                         Ok(warp::reply::json(&"Failed to read error details from AI"))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:76:19
[INFO] [stdout]    |
[INFO] [stdout] 76 |           Err(e) => {
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 77 | |             eprintln!("Failed to send request: {}", e);
[INFO] [stdout] 78 | |             Ok(warp::reply::json(&"Failed to send request to AI"))
[INFO] [stdout] 79 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handlers.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Ok(warp::reply::json(&"Failed to send request to AI"))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_mongodb_chatbot` (bin "rust_mongodb_chatbot" test) due to 30 previous errors
[INFO] running `Command { std: "docker" "inspect" "b6663e42306dcbeead5828324dbe51c49b9eaf8e3b68dae462e7e62bb3294671", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6663e42306dcbeead5828324dbe51c49b9eaf8e3b68dae462e7e62bb3294671", kill_on_drop: false }`
[INFO] [stdout] b6663e42306dcbeead5828324dbe51c49b9eaf8e3b68dae462e7e62bb3294671
