[INFO] cloning repository https://github.com/Sigeth/chatserver-lab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sigeth/chatserver-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSigeth%2Fchatserver-lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSigeth%2Fchatserver-lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1158a8a6072e0881c2a99e34ac377e973f270699
[INFO] building Sigeth/chatserver-lab against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSigeth%2Fchatserver-lab" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Sigeth/chatserver-lab
[INFO] finished tweaking git repo https://github.com/Sigeth/chatserver-lab
[INFO] tweaked toml for git repo https://github.com/Sigeth/chatserver-lab written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Sigeth/chatserver-lab on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Sigeth/chatserver-lab 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded commoncrypto-sys v0.2.0
[INFO] [stderr]   Downloaded crypto-hash v0.3.4
[INFO] [stderr]   Downloaded commoncrypto v0.2.0
[INFO] [stderr]   Downloaded allocator-api2 v0.2.20
[INFO] [stderr]   Downloaded hex v0.3.2
[INFO] [stderr]   Downloaded ratatui v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 770f7bd62f87774962d0743580b318f3122723e5b9c2ae4bfccb12837174c164
[INFO] running `Command { std: "docker" "start" "-a" "770f7bd62f87774962d0743580b318f3122723e5b9c2ae4bfccb12837174c164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "770f7bd62f87774962d0743580b318f3122723e5b9c2ae4bfccb12837174c164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "770f7bd62f87774962d0743580b318f3122723e5b9c2ae4bfccb12837174c164", kill_on_drop: false }`
[INFO] [stdout] 770f7bd62f87774962d0743580b318f3122723e5b9c2ae4bfccb12837174c164
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 81ce0be1cf63324c0b31d0e742438965c683b1c3dab179923631c5d480e0cb83
[INFO] running `Command { std: "docker" "start" "-a" "81ce0be1cf63324c0b31d0e742438965c683b1c3dab179923631c5d480e0cb83", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]    Compiling value-bag v1.10.0
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling cc v1.2.1
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling futures-lite v2.5.0
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling itoa v1.0.13
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.20
[INFO] [stderr]    Compiling foldhash v0.1.3
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling hashbrown v0.15.1
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling ratatui v0.24.0
[INFO] [stderr]    Compiling async-io v2.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling async-std v1.13.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling crypto-hash v0.3.4
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling chatproto v0.1.0 (/opt/rustwide/workdir/chatproto)
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> chatproto/src/netproto/decode.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::sync::RwLock`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `future` and `select`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{future, select};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |   collections::{HashMap, HashSet, VecDeque},
[INFO] [stdout]   |                          ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FullyQualifiedMessage` and `MAILBOX_SIZE`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |   core::{MessageServer, SpamChecker, MAILBOX_SIZE},
[INFO] [stdout]    |                                      ^^^^^^^^^^^^
[INFO] [stdout] 12 |   messages::{
[INFO] [stdout] 13 |     ClientError, ClientId, ClientMessage, ClientPollReply, ClientReply, FullyQualifiedMessage,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Outgoing`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::messages::{Outgoing, ServerMessage, ServerReply};
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:230:11
[INFO] [stdout]     |
[INFO] [stdout] 230 |       for i in 0..clients_len as usize {
[INFO] [stdout]     |           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 230 |       for _i in 0..clients_len as usize {
[INFO] [stdout]     |           +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAILBOX_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 230 -       for i in 0..clients_len as usize {
[INFO] [stdout] 230 +       for core::MAILBOX_SIZE in 0..clients_len as usize {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:265:7
[INFO] [stdout]     |
[INFO] [stdout] 265 |   for i in 0..user_len as usize {
[INFO] [stdout]     |       ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 265 |   for _i in 0..user_len as usize {
[INFO] [stdout]     |       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAILBOX_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 265 -   for i in 0..user_len as usize {
[INFO] [stdout] 265 +   for core::MAILBOX_SIZE in 0..user_len as usize {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:294:34
[INFO] [stdout]     |
[INFO] [stdout] 294 | pub fn sequence<X, R: Read, DEC>(rd: &mut R, d: DEC) -> anyhow::Result<Sequence<X>>
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:294:46
[INFO] [stdout]     |
[INFO] [stdout] 294 | pub fn sequence<X, R: Read, DEC>(rd: &mut R, d: DEC) -> anyhow::Result<Sequence<X>>
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:28
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:39
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:56
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `checker`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(checker: C, id: ServerId) -> Self {
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(checker: C, id: ServerId) -> Self {
[INFO] [stdout]    |                      ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_ip`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 |   async fn register_local_client(&self, src_ip: IpAddr, name: String) -> Option<ClientId> {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:41:57
[INFO] [stdout]    |
[INFO] [stdout] 41 |   async fn register_local_client(&self, src_ip: IpAddr, name: String) -> Option<ClientId> {
[INFO] [stdout]    |                                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sequence`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     sequence: Sequence<A>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:65:41
[INFO] [stdout]    |
[INFO] [stdout] 65 |   async fn handle_client_message(&self, src: ClientId, msg: ClientMessage) -> Vec<ClientReply> {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:65:56
[INFO] [stdout]    |
[INFO] [stdout] 65 |   async fn handle_client_message(&self, src: ClientId, msg: ClientMessage) -> Vec<ClientReply> {
[INFO] [stdout]    |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 |   async fn client_poll(&self, client: ClientId) -> ClientPollReply {
[INFO] [stdout]    |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 |   async fn handle_server_message(&self, msg: ServerMessage) -> ServerReply {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `destination`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |   async fn route_to(&self, destination: ServerId) -> Option<Vec<ServerId>> {
[INFO] [stdout]    |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `checker` is never read
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Server<C: SpamChecker> {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 23 |   checker: C,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:206:24
[INFO] [stdout]     |
[INFO] [stdout] 206 |   for client_reply in m.clone() {
[INFO] [stdout]     |                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[ClientReply]` does not implement `Clone`, so calling `clone` on `&[ClientReply]` 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]    Compiling server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stderr]    Compiling client v0.1.0 (/opt/rustwide/workdir/client)
[INFO] [stdout] warning: unused import: `SpamChecker`
[INFO] [stdout]  --> server/src/main.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chatproto::core::{DefaultChecker, MessageServer, SpamChecker};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_cursor` is never used
[INFO] [stdout]   --> client/src/inputbox.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl IBox {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |   pub fn reset_cursor(&mut self) {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.97s
[INFO] running `Command { std: "docker" "inspect" "81ce0be1cf63324c0b31d0e742438965c683b1c3dab179923631c5d480e0cb83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81ce0be1cf63324c0b31d0e742438965c683b1c3dab179923631c5d480e0cb83", kill_on_drop: false }`
[INFO] [stdout] 81ce0be1cf63324c0b31d0e742438965c683b1c3dab179923631c5d480e0cb83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 21a257b6a1f08f7cf42c1f2e990ff71100995abe7ee4349765809d1f2b05ab5d
[INFO] running `Command { std: "docker" "start" "-a" "21a257b6a1f08f7cf42c1f2e990ff71100995abe7ee4349765809d1f2b05ab5d", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> chatproto/src/netproto/decode.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::sync::RwLock`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `future` and `select`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{future, select};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |   collections::{HashMap, HashSet, VecDeque},
[INFO] [stdout]   |                          ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FullyQualifiedMessage` and `MAILBOX_SIZE`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |   core::{MessageServer, SpamChecker, MAILBOX_SIZE},
[INFO] [stdout]    |                                      ^^^^^^^^^^^^
[INFO] [stdout] 12 |   messages::{
[INFO] [stdout] 13 |     ClientError, ClientId, ClientMessage, ClientPollReply, ClientReply, FullyQualifiedMessage,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Outgoing`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::messages::{Outgoing, ServerMessage, ServerReply};
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:230:11
[INFO] [stdout]     |
[INFO] [stdout] 230 |       for i in 0..clients_len as usize {
[INFO] [stdout]     |           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 230 |       for _i in 0..clients_len as usize {
[INFO] [stdout]     |           +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAILBOX_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 230 -       for i in 0..clients_len as usize {
[INFO] [stdout] 230 +       for core::MAILBOX_SIZE in 0..clients_len as usize {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:265:7
[INFO] [stdout]     |
[INFO] [stdout] 265 |   for i in 0..user_len as usize {
[INFO] [stdout]     |       ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 265 |   for _i in 0..user_len as usize {
[INFO] [stdout]     |       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAILBOX_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 265 -   for i in 0..user_len as usize {
[INFO] [stdout] 265 +   for core::MAILBOX_SIZE in 0..user_len as usize {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:294:34
[INFO] [stdout]     |
[INFO] [stdout] 294 | pub fn sequence<X, R: Read, DEC>(rd: &mut R, d: DEC) -> anyhow::Result<Sequence<X>>
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:294:46
[INFO] [stdout]     |
[INFO] [stdout] 294 | pub fn sequence<X, R: Read, DEC>(rd: &mut R, d: DEC) -> anyhow::Result<Sequence<X>>
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:28
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling chatproto v0.1.0 (/opt/rustwide/workdir/chatproto)
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:39
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:56
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling client v0.1.0 (/opt/rustwide/workdir/client)
[INFO] [stdout] warning: unused variable: `checker`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(checker: C, id: ServerId) -> Self {
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(checker: C, id: ServerId) -> Self {
[INFO] [stdout]    |                      ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_ip`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 |   async fn register_local_client(&self, src_ip: IpAddr, name: String) -> Option<ClientId> {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:41:57
[INFO] [stdout]    |
[INFO] [stdout] 41 |   async fn register_local_client(&self, src_ip: IpAddr, name: String) -> Option<ClientId> {
[INFO] [stdout]    |                                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sequence`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     sequence: Sequence<A>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:65:41
[INFO] [stdout]    |
[INFO] [stdout] 65 |   async fn handle_client_message(&self, src: ClientId, msg: ClientMessage) -> Vec<ClientReply> {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:65:56
[INFO] [stdout]    |
[INFO] [stdout] 65 |   async fn handle_client_message(&self, src: ClientId, msg: ClientMessage) -> Vec<ClientReply> {
[INFO] [stdout]    |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 |   async fn client_poll(&self, client: ClientId) -> ClientPollReply {
[INFO] [stdout]    |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 |   async fn handle_server_message(&self, msg: ServerMessage) -> ServerReply {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `destination`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |   async fn route_to(&self, destination: ServerId) -> Option<Vec<ServerId>> {
[INFO] [stdout]    |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `checker` is never read
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Server<C: SpamChecker> {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 23 |   checker: C,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:206:24
[INFO] [stdout]     |
[INFO] [stdout] 206 |   for client_reply in m.clone() {
[INFO] [stdout]     |                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[ClientReply]` does not implement `Clone`, so calling `clone` on `&[ClientReply]` 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: unused import: `BigEndian`
[INFO] [stdout]  --> chatproto/src/netproto/decode.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::sync::RwLock`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_std::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `future` and `select`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::{future, select};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 |   collections::{HashMap, HashSet, VecDeque},
[INFO] [stdout]   |                          ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> chatproto/src/solutions/sample.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FullyQualifiedMessage` and `MAILBOX_SIZE`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |   core::{MessageServer, SpamChecker, MAILBOX_SIZE},
[INFO] [stdout]    |                                      ^^^^^^^^^^^^
[INFO] [stdout] 12 |   messages::{
[INFO] [stdout] 13 |     ClientError, ClientId, ClientMessage, ClientPollReply, ClientReply, FullyQualifiedMessage,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Outgoing`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::messages::{Outgoing, ServerMessage, ServerReply};
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SpamChecker`
[INFO] [stdout]  --> server/src/main.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chatproto::core::{DefaultChecker, MessageServer, SpamChecker};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_cursor` is never used
[INFO] [stdout]   --> client/src/inputbox.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl IBox {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |   pub fn reset_cursor(&mut self) {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:230:11
[INFO] [stdout]     |
[INFO] [stdout] 230 |       for i in 0..clients_len as usize {
[INFO] [stdout]     |           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 230 |       for _i in 0..clients_len as usize {
[INFO] [stdout]     |           +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAILBOX_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 230 -       for i in 0..clients_len as usize {
[INFO] [stdout] 230 +       for core::MAILBOX_SIZE in 0..clients_len as usize {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:265:7
[INFO] [stdout]     |
[INFO] [stdout] 265 |   for i in 0..user_len as usize {
[INFO] [stdout]     |       ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 265 |   for _i in 0..user_len as usize {
[INFO] [stdout]     |       +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAILBOX_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 265 -   for i in 0..user_len as usize {
[INFO] [stdout] 265 +   for core::MAILBOX_SIZE in 0..user_len as usize {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:294:34
[INFO] [stdout]     |
[INFO] [stdout] 294 | pub fn sequence<X, R: Read, DEC>(rd: &mut R, d: DEC) -> anyhow::Result<Sequence<X>>
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> chatproto/src/netproto/decode.rs:294:46
[INFO] [stdout]     |
[INFO] [stdout] 294 | pub fn sequence<X, R: Read, DEC>(rd: &mut R, d: DEC) -> anyhow::Result<Sequence<X>>
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:28
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:39
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:293:56
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn sequence<X, W, ENC>(w: &mut W, m: &Sequence<X>, f: ENC) -> std::io::Result<()>
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `checker`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(checker: C, id: ServerId) -> Self {
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(checker: C, id: ServerId) -> Self {
[INFO] [stdout]    |                      ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_ip`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 |   async fn register_local_client(&self, src_ip: IpAddr, name: String) -> Option<ClientId> {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:41:57
[INFO] [stdout]    |
[INFO] [stdout] 41 |   async fn register_local_client(&self, src_ip: IpAddr, name: String) -> Option<ClientId> {
[INFO] [stdout]    |                                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sequence`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     sequence: Sequence<A>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:65:41
[INFO] [stdout]    |
[INFO] [stdout] 65 |   async fn handle_client_message(&self, src: ClientId, msg: ClientMessage) -> Vec<ClientReply> {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:65:56
[INFO] [stdout]    |
[INFO] [stdout] 65 |   async fn handle_client_message(&self, src: ClientId, msg: ClientMessage) -> Vec<ClientReply> {
[INFO] [stdout]    |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 |   async fn client_poll(&self, client: ClientId) -> ClientPollReply {
[INFO] [stdout]    |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 |   async fn handle_server_message(&self, msg: ServerMessage) -> ServerReply {
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `destination`
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |   async fn route_to(&self, destination: ServerId) -> Option<Vec<ServerId>> {
[INFO] [stdout]    |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `checker` is never read
[INFO] [stdout]   --> chatproto/src/solutions/sample.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Server<C: SpamChecker> {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 23 |   checker: C,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> chatproto/src/netproto/encode.rs:206:24
[INFO] [stdout]     |
[INFO] [stdout] 206 |   for client_reply in m.clone() {
[INFO] [stdout]     |                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[messages::ClientReply]` does not implement `Clone`, so calling `clone` on `&[messages::ClientReply]` 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 `test` profile [unoptimized + debuginfo] target(s) in 2.28s
[INFO] running `Command { std: "docker" "inspect" "21a257b6a1f08f7cf42c1f2e990ff71100995abe7ee4349765809d1f2b05ab5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21a257b6a1f08f7cf42c1f2e990ff71100995abe7ee4349765809d1f2b05ab5d", kill_on_drop: false }`
[INFO] [stdout] 21a257b6a1f08f7cf42c1f2e990ff71100995abe7ee4349765809d1f2b05ab5d
