[INFO] cloning repository https://github.com/JacksonKyoshi/rust_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JacksonKyoshi/rust_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacksonKyoshi%2Frust_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacksonKyoshi%2Frust_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3ba02915b37ca64594c794e20249a450e37167f [INFO] building JacksonKyoshi/rust_project against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacksonKyoshi%2Frust_project" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JacksonKyoshi/rust_project [INFO] finished tweaking git repo https://github.com/JacksonKyoshi/rust_project [INFO] tweaked toml for git repo https://github.com/JacksonKyoshi/rust_project written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JacksonKyoshi/rust_project on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JacksonKyoshi/rust_project 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded value-bag v1.10.0 [INFO] [stderr] Downloaded itoa v1.0.13 [INFO] [stderr] Downloaded async-std v1.13.0 [INFO] [stderr] Downloaded libc v0.2.164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de2ef98d9289228994d4918f36da2a701cf595b383e780627ee86ea4358bcad7 [INFO] running `Command { std: "docker" "start" "-a" "de2ef98d9289228994d4918f36da2a701cf595b383e780627ee86ea4358bcad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de2ef98d9289228994d4918f36da2a701cf595b383e780627ee86ea4358bcad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2ef98d9289228994d4918f36da2a701cf595b383e780627ee86ea4358bcad7", kill_on_drop: false }` [INFO] [stdout] de2ef98d9289228994d4918f36da2a701cf595b383e780627ee86ea4358bcad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e7a25e09a99f4c813e7eea45893abe1f791180c4da6591a986ea8528122c399 [INFO] running `Command { std: "docker" "start" "-a" "7e7a25e09a99f4c813e7eea45893abe1f791180c4da6591a986ea8528122c399", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.24.0 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling chatproto v0.1.0 (/opt/rustwide/workdir/chatproto) [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::write; [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: `std::io::ErrorKind` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::ServerReply::Error` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::messages::ServerReply::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockReadGuard` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::sync::{RwLock, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{future, select}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::messages::ClientPollReply::{Message, Nothing}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Delayed` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::messages::ClientReply::{Delayed, Delivered, Error, Transfer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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] = 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:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | 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:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | 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:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | 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:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | 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:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | 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:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | 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:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | 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:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | 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:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | 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:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | 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:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | 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:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | 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:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | 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:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | 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:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | 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:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | 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:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 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:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | 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:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | 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:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | 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:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:56 [INFO] [stdout] | [INFO] [stdout] 171 | 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: `client_id` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | for (client_id, server_id) in msgServ.dsts.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_ip` is never read [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ClientInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 38 | src_ip: IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 49 | struct RemoteClientInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 50 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `msgServ` should have a snake case name [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | ServerMessage::Message(msgServ) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `msg_serv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `SpamChecker` [INFO] [stdout] --> server/src/main.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chatproto::core::{DefaultChecker, MessageServer, SpamChecker}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_cursor` is never used [INFO] [stdout] --> client/src/inputbox.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl IBox { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn reset_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.87s [INFO] running `Command { std: "docker" "inspect" "7e7a25e09a99f4c813e7eea45893abe1f791180c4da6591a986ea8528122c399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7a25e09a99f4c813e7eea45893abe1f791180c4da6591a986ea8528122c399", kill_on_drop: false }` [INFO] [stdout] 7e7a25e09a99f4c813e7eea45893abe1f791180c4da6591a986ea8528122c399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63eb1bed1cb734cecc417c5859779bc4ca25a2c5dfd1a23f7b6dbab1ea306702 [INFO] running `Command { std: "docker" "start" "-a" "63eb1bed1cb734cecc417c5859779bc4ca25a2c5dfd1a23f7b6dbab1ea306702", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::write; [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: `std::io::ErrorKind` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::ServerReply::Error` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::messages::ServerReply::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockReadGuard` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::sync::{RwLock, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{future, select}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::messages::ClientPollReply::{Message, Nothing}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Delayed` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::messages::ClientReply::{Delayed, Delivered, Error, Transfer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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] = 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:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | 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:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | 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:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | 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:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | 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:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | 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:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | 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:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | 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:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | 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:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | 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:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | 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:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | 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] [stderr] Compiling chatproto v0.1.0 (/opt/rustwide/workdir/chatproto) [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | 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] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | 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:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | 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:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | 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:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | 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:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 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:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | 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:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | 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:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | 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:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:56 [INFO] [stdout] | [INFO] [stdout] 171 | 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: `client_id` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | for (client_id, server_id) in msgServ.dsts.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_ip` is never read [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ClientInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 38 | src_ip: IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 49 | struct RemoteClientInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 50 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `msgServ` should have a snake case name [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | ServerMessage::Message(msgServ) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `msg_serv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::write; [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: `std::io::ErrorKind` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::ServerReply::Error` [INFO] [stdout] --> chatproto/src/netproto/encode.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::messages::ServerReply::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockReadGuard` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::sync::{RwLock, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{future, select}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::messages::ClientPollReply::{Message, Nothing}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Delayed` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::messages::ClientReply::{Delayed, Delivered, Error, Transfer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpamChecker` [INFO] [stdout] --> server/src/main.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use chatproto::core::{DefaultChecker, MessageServer, SpamChecker}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_cursor` is never used [INFO] [stdout] --> client/src/inputbox.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl IBox { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn reset_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd` [INFO] [stdout] --> chatproto/src/netproto/decode.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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] = 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:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | 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:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | 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:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | 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:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | 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:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | 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:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | 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:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | 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:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | 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:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | 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:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | 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:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | 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:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | 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:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | 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:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | 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:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | 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:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | 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:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 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:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | 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:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | 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:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | 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:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | 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:171:56 [INFO] [stdout] | [INFO] [stdout] 171 | 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: `client_id` [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | for (client_id, server_id) in msgServ.dsts.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `src_ip` is never read [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ClientInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 38 | src_ip: IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 49 | struct RemoteClientInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 50 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `msgServ` should have a snake case name [INFO] [stdout] --> chatproto/src/solutions/debian_lover.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | ServerMessage::Message(msgServ) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `msg_serv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "63eb1bed1cb734cecc417c5859779bc4ca25a2c5dfd1a23f7b6dbab1ea306702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63eb1bed1cb734cecc417c5859779bc4ca25a2c5dfd1a23f7b6dbab1ea306702", kill_on_drop: false }` [INFO] [stdout] 63eb1bed1cb734cecc417c5859779bc4ca25a2c5dfd1a23f7b6dbab1ea306702