[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 try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartavelle%2Fchatserver-lab" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bartavelle/chatserver-lab on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2911fbf9da0f842c4dd47f4845af5cd1363af5642db6c01fea69c7c24c8f2e6 [INFO] running `Command { std: "docker" "start" "-a" "f2911fbf9da0f842c4dd47f4845af5cd1363af5642db6c01fea69c7c24c8f2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2911fbf9da0f842c4dd47f4845af5cd1363af5642db6c01fea69c7c24c8f2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2911fbf9da0f842c4dd47f4845af5cd1363af5642db6c01fea69c7c24c8f2e6", kill_on_drop: false }` [INFO] [stdout] f2911fbf9da0f842c4dd47f4845af5cd1363af5642db6c01fea69c7c24c8f2e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41859274fa668a78fec872ab866cf6abff2e2d280b1cc31010f248d7d3d71c26 [INFO] running `Command { std: "docker" "start" "-a" "41859274fa668a78fec872ab866cf6abff2e2d280b1cc31010f248d7d3d71c26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking futures-lite v2.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.24.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking uuid v1.11.0 [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)]` 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: `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)]` 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 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: `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 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: `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)]` 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)]` 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 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)]` on by default [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)]` on by default [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)]` 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: 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)]` on by default [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: 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)]` on by default [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)]` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.17s [INFO] running `Command { std: "docker" "inspect" "41859274fa668a78fec872ab866cf6abff2e2d280b1cc31010f248d7d3d71c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41859274fa668a78fec872ab866cf6abff2e2d280b1cc31010f248d7d3d71c26", kill_on_drop: false }` [INFO] [stdout] 41859274fa668a78fec872ab866cf6abff2e2d280b1cc31010f248d7d3d71c26