[INFO] cloning repository https://github.com/bartavelle/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/bartavelle/chatserver-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartavelle%2Fchatserver-lab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartavelle%2Fchatserver-lab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c160ca4ee823ab06fc2316f960696cdd767d02b2 [INFO] checking bartavelle/chatserver-lab against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartavelle%2Fchatserver-lab" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bartavelle/chatserver-lab [INFO] finished tweaking git repo https://github.com/bartavelle/chatserver-lab [INFO] tweaked toml for git repo https://github.com/bartavelle/chatserver-lab written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bartavelle/chatserver-lab on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bartavelle/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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ratatui v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ad0491ad7533f9e9b34668c0c7c8eaf58bf2a732ca82cd0803270ae39c07448 [INFO] running `Command { std: "docker" "start" "-a" "8ad0491ad7533f9e9b34668c0c7c8eaf58bf2a732ca82cd0803270ae39c07448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ad0491ad7533f9e9b34668c0c7c8eaf58bf2a732ca82cd0803270ae39c07448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ad0491ad7533f9e9b34668c0c7c8eaf58bf2a732ca82cd0803270ae39c07448", kill_on_drop: false }` [INFO] [stdout] 8ad0491ad7533f9e9b34668c0c7c8eaf58bf2a732ca82cd0803270ae39c07448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c796fd04b25b43932f70a04d0f1b0702799ce3b17ee71107a6c807862197bbe3 [INFO] running `Command { std: "docker" "start" "-a" "c796fd04b25b43932f70a04d0f1b0702799ce3b17ee71107a6c807862197bbe3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking futures-lite v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking openssl-sys v0.9.104 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ratatui v0.24.0 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking openssl v0.10.68 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking chatproto v0.1.0 (/opt/rustwide/workdir/chatproto) [INFO] [stdout] warning: unused imports: `LittleEndian` and `ReadBytesExt` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder::{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: `LittleEndian` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder::{LittleEndian, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [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: `FutureExt` and `select` [INFO] [stdout] --> chatproto/src/solutions/sample.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{FutureExt, 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 imports: `LittleEndian` and `ReadBytesExt` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder::{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: `LittleEndian` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder::{LittleEndian, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [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: `FutureExt` and `select` [INFO] [stdout] --> chatproto/src/solutions/sample.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{FutureExt, 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: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn u128(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | fn uuid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn clientid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn serverid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn string(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn auth(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn client(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn client_replies(rd: &mut R) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn client_poll_reply(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn server(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn userlist(rd: &mut R) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn client_query(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn sequence(rd: &mut R, d: DEC) -> anyhow::Result> [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:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn sequence(rd: &mut R, d: DEC) -> anyhow::Result> [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:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | fn uuid(w: &mut W, m: &Uuid) -> 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:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn uuid(w: &mut W, m: &Uuid) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clientid(w: &mut W, m: &ClientId) -> 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:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clientid(w: &mut W, m: &ClientId) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn serverid(w: &mut W, m: &ServerId) -> 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:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn serverid(w: &mut W, m: &ServerId) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn string(w: &mut W, m: &str) -> 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:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn string(w: &mut W, m: &str) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn server(w: &mut W, m: &ServerMessage) -> 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:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn server(w: &mut W, m: &ServerMessage) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn client(w: &mut W, m: &ClientMessage) -> 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:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn client(w: &mut W, m: &ClientMessage) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn client_replies(w: &mut W, m: &[ClientReply]) -> 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:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn client_replies(w: &mut W, m: &[ClientReply]) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn client_poll_reply(w: &mut W, m: &ClientPollReply) -> 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:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn client_poll_reply(w: &mut W, m: &ClientPollReply) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn userlist(w: &mut W, m: &HashMap) -> 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:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn userlist(w: &mut W, m: &HashMap) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn client_query(w: &mut W, m: &ClientQuery) -> 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:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn client_query(w: &mut W, m: &ClientQuery) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sequence(w: &mut W, m: &Sequence, 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:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sequence(w: &mut W, m: &Sequence, 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:154:56 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sequence(w: &mut W, m: &Sequence, 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 { [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 { [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, [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 { [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 { [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> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid` is never used [INFO] [stdout] --> chatproto/src/netproto/decode.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn uuid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid` is never used [INFO] [stdout] --> chatproto/src/netproto/encode.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn uuid(w: &mut W, m: &Uuid) -> std::io::Result<()> [INFO] [stdout] | ^^^^ [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 { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | checker: C, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn u128(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | fn uuid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn clientid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn serverid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn string(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn auth(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn client(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn client_replies(rd: &mut R) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn client_poll_reply(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn server(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn userlist(rd: &mut R) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn client_query(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn sequence(rd: &mut R, d: DEC) -> anyhow::Result> [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:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn sequence(rd: &mut R, d: DEC) -> anyhow::Result> [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:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | fn uuid(w: &mut W, m: &Uuid) -> 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:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn uuid(w: &mut W, m: &Uuid) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clientid(w: &mut W, m: &ClientId) -> 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:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clientid(w: &mut W, m: &ClientId) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn serverid(w: &mut W, m: &ServerId) -> 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:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn serverid(w: &mut W, m: &ServerId) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn string(w: &mut W, m: &str) -> 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:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn string(w: &mut W, m: &str) -> std::io::Result<()> [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [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: unused variable: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn server(w: &mut W, m: &ServerMessage) -> 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:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn server(w: &mut W, m: &ServerMessage) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn client(w: &mut W, m: &ClientMessage) -> 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:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn client(w: &mut W, m: &ClientMessage) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn client_replies(w: &mut W, m: &[ClientReply]) -> 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:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn client_replies(w: &mut W, m: &[ClientReply]) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn client_poll_reply(w: &mut W, m: &ClientPollReply) -> 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:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn client_poll_reply(w: &mut W, m: &ClientPollReply) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn userlist(w: &mut W, m: &HashMap) -> 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:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn userlist(w: &mut W, m: &HashMap) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn client_query(w: &mut W, m: &ClientQuery) -> 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:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn client_query(w: &mut W, m: &ClientQuery) -> 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: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sequence(w: &mut W, m: &Sequence, 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:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sequence(w: &mut W, m: &Sequence, 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:154:56 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sequence(w: &mut W, m: &Sequence, 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 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: 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 { [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 { [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, [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 { [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 { [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> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid` is never used [INFO] [stdout] --> chatproto/src/netproto/decode.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn uuid(rd: &mut R) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid` is never used [INFO] [stdout] --> chatproto/src/netproto/encode.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn uuid(w: &mut W, m: &Uuid) -> std::io::Result<()> [INFO] [stdout] | ^^^^ [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 { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | checker: C, [INFO] [stdout] | ^^^^^^^ [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: 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 20.72s [INFO] running `Command { std: "docker" "inspect" "c796fd04b25b43932f70a04d0f1b0702799ce3b17ee71107a6c807862197bbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c796fd04b25b43932f70a04d0f1b0702799ce3b17ee71107a6c807862197bbe3", kill_on_drop: false }` [INFO] [stdout] c796fd04b25b43932f70a04d0f1b0702799ce3b17ee71107a6c807862197bbe3