[INFO] cloning repository https://github.com/NginX-W/simple_client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NginX-W/simple_client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNginX-W%2Fsimple_client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNginX-W%2Fsimple_client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 054e15f9c51407b8e56b1312741a1a7db7bf5c2a
[INFO] checking NginX-W/simple_client against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNginX-W%2Fsimple_client" "/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/NginX-W/simple_client
[INFO] finished tweaking git repo https://github.com/NginX-W/simple_client
[INFO] tweaked toml for git repo https://github.com/NginX-W/simple_client written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NginX-W/simple_client on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NginX-W/simple_client 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e4f3c1c1d57e1b43cdfcab8569fc2ad0241dd5239050c6aa1d09dd66ccf6c532
[INFO] running `Command { std: "docker" "start" "-a" "e4f3c1c1d57e1b43cdfcab8569fc2ad0241dd5239050c6aa1d09dd66ccf6c532", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e4f3c1c1d57e1b43cdfcab8569fc2ad0241dd5239050c6aa1d09dd66ccf6c532", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4f3c1c1d57e1b43cdfcab8569fc2ad0241dd5239050c6aa1d09dd66ccf6c532", kill_on_drop: false }`
[INFO] [stdout] e4f3c1c1d57e1b43cdfcab8569fc2ad0241dd5239050c6aa1d09dd66ccf6c532
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f08da6baddaa4479068bcdb3165a347f0adc15bf1941c4404d63e8278658dbab
[INFO] running `Command { std: "docker" "start" "-a" "f08da6baddaa4479068bcdb3165a347f0adc15bf1941c4404d63e8278658dbab", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr]    Compiling libc v0.2.107
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.69
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking yaml-rust v0.3.5
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]    Compiling tokio v1.13.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling tokio-macros v1.5.1
[INFO] [stderr]     Checking simple_client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(bool_to_option)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(bool_to_option)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut socket = TcpStream::connect(addr).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: `thread`
[INFO] [stdout]   --> src/server.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let thread: JoinHandle<_> = tokio::spawn(async move {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> src/server.rs:105:35
[INFO] [stdout]     |
[INFO] [stdout] 105 |             client.get(addr).map(|user| {}).or_else(|| {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut socket = TcpStream::connect(addr).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`
[INFO] [stdout]   --> src/client.rs:61:58
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub async fn send(&mut self, data: &str, name: &str, user: String) -> io::Result<usize> {
[INFO] [stdout]    |                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread`
[INFO] [stdout]   --> src/server.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let thread: JoinHandle<_> = tokio::spawn(async move {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread`
[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/main.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let mut c = Client::connect(username, password, addr).await?;
[INFO] [stdout]    |                 ----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/main.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let count = c.send(send_msg, recv, c.account.username.clone()).await?;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> src/server.rs:105:35
[INFO] [stdout]     |
[INFO] [stdout] 105 |             client.get(addr).map(|user| {}).or_else(|| {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `msg_buffer` is never read
[INFO] [stdout]   --> src/server.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Server {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     msg_buffer: Arc<RwLock<HashMap<String, Vec<Vec<u8>>>>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `serve` is never used
[INFO] [stdout]   --> src/server.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl<'a> Server {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub async fn serve(&mut self, msg: &Message, socket: &mut TcpStream, addr: &SocketAddr) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RECEIVE` is never used
[INFO] [stdout]  --> src/client.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const RECEIVE: bool = false;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `password` is never read
[INFO] [stdout]   --> src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct Account {
[INFO] [stdout]    |                   ------- field in this struct
[INFO] [stdout] 12 |     pub username: String,
[INFO] [stdout] 13 |     password: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/client.rs:61:58
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub async fn send(&mut self, data: &str, name: &str, user: String) -> io::Result<usize> {
[INFO] [stdout]    |                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> src/main.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             c.receive();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let mut c = Client::connect(username, password, addr).await?;
[INFO] [stdout]    |                 ----^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/main.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let count = c.send(send_msg, recv, c.account.username.clone()).await?;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `msg_buffer` is never read
[INFO] [stdout]   --> src/server.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Server {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     msg_buffer: Arc<RwLock<HashMap<String, Vec<Vec<u8>>>>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `serve` is never used
[INFO] [stdout]   --> src/server.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl<'a> Server {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub async fn serve(&mut self, msg: &Message, socket: &mut TcpStream, addr: &SocketAddr) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RECEIVE` is never used
[INFO] [stdout]  --> src/client.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const RECEIVE: bool = false;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `password` is never read
[INFO] [stdout]   --> src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct Account {
[INFO] [stdout]    |                   ------- field in this struct
[INFO] [stdout] 12 |     pub username: String,
[INFO] [stdout] 13 |     password: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> src/main.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             c.receive();
[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 13.45s
[INFO] running `Command { std: "docker" "inspect" "f08da6baddaa4479068bcdb3165a347f0adc15bf1941c4404d63e8278658dbab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f08da6baddaa4479068bcdb3165a347f0adc15bf1941c4404d63e8278658dbab", kill_on_drop: false }`
[INFO] [stdout] f08da6baddaa4479068bcdb3165a347f0adc15bf1941c4404d63e8278658dbab
