[INFO] cloning repository https://github.com/laonger/chatbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laonger/chatbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaonger%2Fchatbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaonger%2Fchatbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d38282f825a25919e5f3867ec2e4a0ec3f1d9be
[INFO] checking laonger/chatbot against master#bad50269f8eb0fda214f0478c3afb2c6fbb427fd for pr-149195-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaonger%2Fchatbot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/laonger/chatbot
[INFO] finished tweaking git repo https://github.com/laonger/chatbot
[INFO] tweaked toml for git repo https://github.com/laonger/chatbot written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/laonger/chatbot on toolchain bad50269f8eb0fda214f0478c3afb2c6fbb427fd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/laonger/chatbot 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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/laonger/simple_openai.git`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62fe9571c0de60e586fbcb4c419359cff93f37b4aa3eb2bf66bf95f2109fd563
[INFO] running `Command { std: "docker" "start" "-a" "62fe9571c0de60e586fbcb4c419359cff93f37b4aa3eb2bf66bf95f2109fd563", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62fe9571c0de60e586fbcb4c419359cff93f37b4aa3eb2bf66bf95f2109fd563", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62fe9571c0de60e586fbcb4c419359cff93f37b4aa3eb2bf66bf95f2109fd563", kill_on_drop: false }`
[INFO] [stdout] 62fe9571c0de60e586fbcb4c419359cff93f37b4aa3eb2bf66bf95f2109fd563
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2b08eb0d5b8633e0706b6d1d7acf27dba3ad7f6fa5dc13a33efb625548d4ed1
[INFO] running `Command { std: "docker" "start" "-a" "a2b08eb0d5b8633e0706b6d1d7acf27dba3ad7f6fa5dc13a33efb625548d4ed1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling tokio v1.29.0
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]     Checking lock_api v0.4.10
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling serde_json v1.0.99
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]     Checking openssl v0.10.55
[INFO] [stderr]     Checking native-tls v0.2.11
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.20
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking simple_openai v0.1.0 (https://github.com/laonger/simple_openai.git#68b0184a)
[INFO] [stderr]     Checking chatbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/server/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     debug,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`, and `self`
[INFO] [stdout]   --> src/server/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         self, 
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 15 |         AsyncReadExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 16 |         AsyncWriteExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/server/handler.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{prelude::*, BufReader},
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt` and `time::sleep`
[INFO] [stdout]   --> src/server/handler.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     time::sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |         AsyncReadExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `simple_openai::RoleType`
[INFO] [stdout]   --> src/server/handler.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use simple_openai::RoleType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `BufReader`, and `prelude::*`
[INFO] [stdout]   --> src/server/commands.rs:6:10
[INFO] [stdout]    |
[INFO] [stdout]  6 |     io::{prelude::*, BufReader},
[INFO] [stdout]    |          ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |         Arc,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::{
[INFO] [stdout]              //time::sleep,
[INFO] [stdout]              //io::{
[INFO] [stdout]              //    self, 
[INFO] [stdout]              //    AsyncReadExt,
[INFO] [stdout]              //    AsyncWriteExt,
[INFO] [stdout]              //},
[INFO] [stdout]              //sync::Mutex,
[INFO] [stdout]              //net::{
[INFO] [stdout]              //    TcpListener,
[INFO] [stdout]              //    TcpStream,
[INFO] [stdout]              //},
[INFO] [stdout]          }`
[INFO] [stdout]   --> src/server/commands.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |   use tokio::{
[INFO] [stdout]    |  _____^
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | | };
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::TcpStream`
[INFO] [stdout]   --> src/server/commands.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     net::TcpStream,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/server/cache.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_derive::{Deserialize, Serialize};
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/server/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     debug,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`, and `self`
[INFO] [stdout]   --> src/server/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         self, 
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 15 |         AsyncReadExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 16 |         AsyncWriteExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/server/handler.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{prelude::*, BufReader},
[INFO] [stdout]   |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt` and `time::sleep`
[INFO] [stdout]   --> src/server/handler.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     time::sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |         AsyncReadExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `simple_openai::RoleType`
[INFO] [stdout]   --> src/server/handler.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use simple_openai::RoleType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `BufReader`, and `prelude::*`
[INFO] [stdout]   --> src/server/commands.rs:6:10
[INFO] [stdout]    |
[INFO] [stdout]  6 |     io::{prelude::*, BufReader},
[INFO] [stdout]    |          ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |         Arc,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::{
[INFO] [stdout]              //time::sleep,
[INFO] [stdout]              //io::{
[INFO] [stdout]              //    self, 
[INFO] [stdout]              //    AsyncReadExt,
[INFO] [stdout]              //    AsyncWriteExt,
[INFO] [stdout]              //},
[INFO] [stdout]              //sync::Mutex,
[INFO] [stdout]              //net::{
[INFO] [stdout]              //    TcpListener,
[INFO] [stdout]              //    TcpStream,
[INFO] [stdout]              //},
[INFO] [stdout]          }`
[INFO] [stdout]   --> src/server/commands.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |   use tokio::{
[INFO] [stdout]    |  _____^
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | | };
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::TcpStream`
[INFO] [stdout]   --> src/server/commands.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     net::TcpStream,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/server/cache.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_derive::{Deserialize, Serialize};
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdout`
[INFO] [stdout]  --> src/client/main.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{stdin,stdout,Write, BufReader};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/server/handler.rs:120:27
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Err(e) => match e.description() {
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut res = String::new();
[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: `res`
[INFO] [stdout]   --> src/client/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut res = String::new();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdout`
[INFO] [stdout]  --> src/client/main.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{stdin,stdout,Write, BufReader};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/server/main.rs:68:39
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     Err(e) => match e.description() {
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::Error`
[INFO] [stdout]  --> src/server/handler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     error::Error as STDError,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude`
[INFO] [stdout]  --> src/server/handler.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{prelude::*, BufReader},
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `messages` is never read
[INFO] [stdout]    --> src/server/handler.rs:142:47
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut messages: Vec<openai::RoleType> = Vec::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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/server/handler.rs:120:27
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Err(e) => match e.description() {
[INFO] [stdout]     |                           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/server/cache.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         for i in 0..30 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Ok((mut tcpstream, address)) => {
[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: `address`
[INFO] [stdout]   --> src/server/main.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let (mut tcpstream, address) = match listener.accept().await {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ShareCLientList` is never used
[INFO] [stdout]   --> src/server/main.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | type ShareCLientList = Arc<Mutex<cache::Clients>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `addr` is never read
[INFO] [stdout]   --> src/server/cache.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ClientUnit {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 10 |     addr: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientUnit` 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: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/server/handler.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         drop(client);
[INFO] [stdout]     |         ^^^^^------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&mut cache::ClientUnit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 172 -         drop(client);
[INFO] [stdout] 172 +         let _ = client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/server/handler.rs:183:17
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 drop(client);
[INFO] [stdout]     |                 ^^^^^------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      argument has type `&mut cache::ClientUnit`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 183 -                 drop(client);
[INFO] [stdout] 183 +                 let _ = client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/handler.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 stream.write_all(res.as_bytes()).await;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 let _ = stream.write_all(res.as_bytes()).await;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/handler.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 stream.flush().await;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 let _ = stream.flush().await;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server/commands.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |             match s.clone() {
[INFO] [stdout]    |                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut res = String::new();
[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: `res`
[INFO] [stdout]   --> src/client/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut res = String::new();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/server/main.rs:68:39
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     Err(e) => match e.description() {
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::Error`
[INFO] [stdout]  --> src/server/handler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     error::Error as STDError,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude`
[INFO] [stdout]  --> src/server/handler.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     io::{prelude::*, BufReader},
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `messages` is never read
[INFO] [stdout]    --> src/server/handler.rs:142:47
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut messages: Vec<openai::RoleType> = Vec::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: variable does not need to be mutable
[INFO] [stdout]   --> src/server/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Ok((mut tcpstream, address)) => {
[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: `address`
[INFO] [stdout]   --> src/server/main.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let (mut tcpstream, address) = match listener.accept().await {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ShareCLientList` is never used
[INFO] [stdout]   --> src/server/main.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | type ShareCLientList = Arc<Mutex<cache::Clients>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `addr` is never read
[INFO] [stdout]   --> src/server/cache.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ClientUnit {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 10 |     addr: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientUnit` 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: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/server/handler.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         drop(client);
[INFO] [stdout]     |         ^^^^^------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&mut ClientUnit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 172 -         drop(client);
[INFO] [stdout] 172 +         let _ = client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/server/handler.rs:183:17
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 drop(client);
[INFO] [stdout]     |                 ^^^^^------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      argument has type `&mut ClientUnit`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 183 -                 drop(client);
[INFO] [stdout] 183 +                 let _ = client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/handler.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 stream.write_all(res.as_bytes()).await;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 let _ = stream.write_all(res.as_bytes()).await;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server/handler.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 stream.flush().await;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 let _ = stream.flush().await;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server/commands.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |             match s.clone() {
[INFO] [stdout]    |                    ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "a2b08eb0d5b8633e0706b6d1d7acf27dba3ad7f6fa5dc13a33efb625548d4ed1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2b08eb0d5b8633e0706b6d1d7acf27dba3ad7f6fa5dc13a33efb625548d4ed1", kill_on_drop: false }`
[INFO] [stdout] a2b08eb0d5b8633e0706b6d1d7acf27dba3ad7f6fa5dc13a33efb625548d4ed1
