[INFO] cloning repository https://github.com/volundmush/mudcrab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volundmush/mudcrab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fmudcrab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fmudcrab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d606116508225afd4829f5058f325ffb9e197b09 [INFO] checking volundmush/mudcrab against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fmudcrab" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/volundmush/mudcrab on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/volundmush/mudcrab [INFO] finished tweaking git repo https://github.com/volundmush/mudcrab [INFO] tweaked toml for git repo https://github.com/volundmush/mudcrab written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 packages [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding erased-serde v0.3.31 (latest: v0.4.4) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding mio v0.7.14 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding ntapi v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.9) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.1) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding rustls v0.19.1 (latest: v0.23.4) [INFO] [stderr] Adding sct v0.6.1 (latest: v0.7.1) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding webpki v0.21.4 (latest: v0.22.4) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xmltree v0.10.3 [INFO] [stderr] Downloaded xml-rs v0.8.20 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.92 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.92 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Downloaded legion_codegen v0.4.0 [INFO] [stderr] Downloaded utf8-width v0.1.7 [INFO] [stderr] Downloaded atomic_refcell v0.1.13 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded scoped-tls-hkt v0.1.4 [INFO] [stderr] Downloaded colori v0.1.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.60 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.92 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded js-sys v0.3.69 [INFO] [stderr] Downloaded chrono v0.4.37 [INFO] [stderr] Downloaded rayon v1.10.0 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded web-sys v0.3.69 [INFO] [stderr] Downloaded wasm-bindgen v0.2.92 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded legion v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b9b1c583e90333287a4adbfabeb5245d7d456d4b3f0bffd3e4419011b7c2771 [INFO] running `Command { std: "docker" "start" "-a" "1b9b1c583e90333287a4adbfabeb5245d7d456d4b3f0bffd3e4419011b7c2771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b9b1c583e90333287a4adbfabeb5245d7d456d4b3f0bffd3e4419011b7c2771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9b1c583e90333287a4adbfabeb5245d7d456d4b3f0bffd3e4419011b7c2771", kill_on_drop: false }` [INFO] [stdout] 1b9b1c583e90333287a4adbfabeb5245d7d456d4b3f0bffd3e4419011b7c2771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3eb57fe7644845ede19145660443b5d87f8d67cad8a84bc55e1a6a7c30660d1 [INFO] running `Command { std: "docker" "start" "-a" "b3eb57fe7644845ede19145660443b5d87f8d67cad8a84bc55e1a6a7c30660d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking scoped-tls-hkt v0.1.4 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking colori v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling legion_codegen v0.4.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking legion v0.4.0 [INFO] [stderr] Checking mudcrab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::engine::Delta` [INFO] [stdout] --> src/engine/systems.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::engine::Delta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProtocolOutEvent`, `ProtocolStatus`, `ProtocolType`, `TransportType` [INFO] [stdout] --> src/engine/systems.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::net::{ConnectionComponent, ListenerComponent, TransportType, ProtocolStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Protocol, ConnType, ConnectionStatus, ProtocolComponent, ProtocolType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | ProtocolEvent, ProtocolOutEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/engine/systems.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Error, ErrorKind, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Events`, `Poll`, `Token` [INFO] [stdout] --> src/engine/systems.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use mio::{Events, Poll, Token, Interest}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::net::TcpStream` [INFO] [stdout] --> src/engine/systems.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/engine/systems.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `VecDeque` [INFO] [stdout] --> src/engine/systems.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{VecDeque, HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PendingUserCreations` [INFO] [stdout] --> src/engine/systems.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::game::resources::{ProcessCounter, ProcessIndex, PendingUserCreations}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransportType` [INFO] [stdout] --> src/engine/resources.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::net::{PollHandler, Protocol, ConnType, TransportType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Result` [INFO] [stdout] --> src/engine/resources.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Result, Error}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Events`, `Poll`, `Token` [INFO] [stdout] --> src/engine/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::{Events, Poll, Token, Interest}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::net::TcpStream` [INFO] [stdout] --> src/engine/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `Read`, `Write`, `copy` [INFO] [stdout] --> src/engine/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Result, Read, Write, Error, ErrorKind, copy}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/engine/mod.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, `Bytes` [INFO] [stdout] --> src/engine/mod.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yield_now` [INFO] [stdout] --> src/engine/mod.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::{sleep, yield_now}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::value::Value::Object` [INFO] [stdout] --> src/engine/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use serde_json::value::Value::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Pending` [INFO] [stdout] --> src/engine/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::future::Pending; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/net/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Bytes` [INFO] [stdout] --> src/net/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/net/mod.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use rustls::{ServerSession, StreamOwned, ServerConfig, Session}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/net/telnet/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/net/telnet/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionComponent`, `ProtocolComponent` [INFO] [stdout] --> src/net/telnet/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::net::{ConnectionComponent, ProtocolComponent, ProtocolCapabilities, ProtocolEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Bytes` [INFO] [stdout] --> src/net/telnet/mod.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/net/mod.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/game/objects.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/game/resources.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `legion::*` [INFO] [stdout] --> src/game/login_cmds.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use legion::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::objects::MudSession` [INFO] [stdout] --> src/game/login_cmds.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::objects::MudSession; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PendingUserCreations`, `PendingUserLogins` [INFO] [stdout] --> src/game/login_cmds.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::resources::{PendingUserCreations, PendingUserLogins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HslColor` [INFO] [stdout] --> src/mudstring/color.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use colori::{RgbColor, HslColor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::Delta` [INFO] [stdout] --> src/engine/systems.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::engine::Delta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProtocolOutEvent`, `ProtocolStatus`, `ProtocolType`, `TransportType` [INFO] [stdout] --> src/engine/systems.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::net::{ConnectionComponent, ListenerComponent, TransportType, ProtocolStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Protocol, ConnType, ConnectionStatus, ProtocolComponent, ProtocolType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | ProtocolEvent, ProtocolOutEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/engine/systems.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Error, ErrorKind, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Events`, `Poll`, `Token` [INFO] [stdout] --> src/engine/systems.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use mio::{Events, Poll, Token, Interest}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::net::TcpStream` [INFO] [stdout] --> src/engine/systems.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/engine/systems.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `VecDeque` [INFO] [stdout] --> src/engine/systems.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{VecDeque, HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PendingUserCreations` [INFO] [stdout] --> src/engine/systems.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::game::resources::{ProcessCounter, ProcessIndex, PendingUserCreations}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransportType` [INFO] [stdout] --> src/engine/resources.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::net::{PollHandler, Protocol, ConnType, TransportType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Result` [INFO] [stdout] --> src/engine/resources.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Result, Error}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Events`, `Poll`, `Token` [INFO] [stdout] --> src/engine/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::{Events, Poll, Token, Interest}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mudstring/color.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | let color_number = (16 + 36 * (trip.red * 5) + 6 * (trip.green * 5) + (trip.blue * 5)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - let color_number = (16 + 36 * (trip.red * 5) + 6 * (trip.green * 5) + (trip.blue * 5)); [INFO] [stdout] 219 + let color_number = 16 + 36 * (trip.red * 5) + 6 * (trip.green * 5) + (trip.blue * 5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::net::TcpStream` [INFO] [stdout] --> src/engine/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColorType` [INFO] [stdout] --> src/mudstring/style.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | color::{Color, ColorType, ColorSystem} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `Read`, `Write`, `copy` [INFO] [stdout] --> src/engine/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Result, Read, Write, Error, ErrorKind, copy}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/mudstring/style.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/engine/mod.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, `Bytes` [INFO] [stdout] --> src/engine/mod.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yield_now` [INFO] [stdout] --> src/engine/mod.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::{sleep, yield_now}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::value::Value::Object` [INFO] [stdout] --> src/engine/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use serde_json::value::Value::Object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Pending` [INFO] [stdout] --> src/engine/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::future::Pending; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/net/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Bytes` [INFO] [stdout] --> src/net/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/net/mod.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use rustls::{ServerSession, StreamOwned, ServerConfig, Session}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/net/telnet/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/net/telnet/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionComponent`, `ProtocolComponent` [INFO] [stdout] --> src/net/telnet/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::net::{ConnectionComponent, ProtocolComponent, ProtocolCapabilities, ProtocolEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Bytes` [INFO] [stdout] --> src/net/telnet/mod.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/net/mod.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/game/objects.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/game/resources.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `legion::*` [INFO] [stdout] --> src/game/login_cmds.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use legion::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::objects::MudSession` [INFO] [stdout] --> src/game/login_cmds.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::objects::MudSession; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PendingUserCreations`, `PendingUserLogins` [INFO] [stdout] --> src/game/login_cmds.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::resources::{PendingUserCreations, PendingUserLogins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HslColor` [INFO] [stdout] --> src/mudstring/color.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use colori::{RgbColor, HslColor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mudstring/color.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | let color_number = (16 + 36 * (trip.red * 5) + 6 * (trip.green * 5) + (trip.blue * 5)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - let color_number = (16 + 36 * (trip.red * 5) + 6 * (trip.green * 5) + (trip.blue * 5)); [INFO] [stdout] 219 + let color_number = 16 + 36 * (trip.red * 5) + 6 * (trip.green * 5) + (trip.blue * 5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColorType` [INFO] [stdout] --> src/mudstring/style.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | color::{Color, ColorType, ColorSystem} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/mudstring/style.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engine/systems.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | if let Err(e) = con_poll.handler.poller.registry().register(&mut t, tok.clone(), Interest::READABLE | Interest::WRITABLE) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/engine/systems.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn process_connection_read(ent: &Entity, conn: &mut ConnectionComponent, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prot` [INFO] [stdout] --> src/engine/systems.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | ... prot: &mut ProtocolComponent, #[resource] conn_poll: &ConnPoll) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/engine/systems.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(user) = prot.user { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/engine/systems.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwargs` [INFO] [stdout] --> src/engine/systems.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/engine/systems.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | ProtocolEvent::CreateUser(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/engine/systems.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | ProtocolEvent::CreateUser(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/engine/systems.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | ProtocolEvent::Login(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/engine/systems.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | ProtocolEvent::Login(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/engine/systems.rs:156:34 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn execute_connection_events(ent: &Entity, conn: &mut ConnectionComponent, prot: &mut ProtocolComponent, #[resource] lcmds: &mut Logi... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/engine/systems.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn execute_connection_events(ent: &Entity, conn: &mut ConnectionComponent, prot: &mut ProtocolComponent, #[resource] lcmds: &mut Logi... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn transfer_events(cmd: &mut CommandBuffer, wrl: &mut World, msess: &mut MudSession) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/systems.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | if let Ok(mut prot) = entry.get_component_mut::() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/engine/systems.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | if let Err(e) = con_poll.handler.poller.registry().register(&mut t, tok.clone(), Interest::READABLE | Interest::WRITABLE) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/engine/systems.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwargs` [INFO] [stdout] --> src/engine/systems.rs:227:43 [INFO] [stdout] | [INFO] [stdout] 227 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/systems.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | let mut process = ProcessComponent::from_command(msess, pid.0, s); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/systems.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | let mut ent = cmd.push((process, )); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/engine/systems.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn execute_process(ent: &Entity, proc: &mut ProcessComponent, wrl: &mut World, cmd: &mut CommandBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrl` [INFO] [stdout] --> src/engine/systems.rs:241:67 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn execute_process(ent: &Entity, proc: &mut ProcessComponent, wrl: &mut World, cmd: &mut CommandBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:241:84 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn execute_process(ent: &Entity, proc: &mut ProcessComponent, wrl: &mut World, cmd: &mut CommandBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/engine/systems.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn process_connection_read(ent: &Entity, conn: &mut ConnectionComponent, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prot` [INFO] [stdout] --> src/engine/systems.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | ... prot: &mut ProtocolComponent, #[resource] conn_poll: &ConnPoll) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/engine/systems.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(user) = prot.user { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/engine/systems.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwargs` [INFO] [stdout] --> src/engine/systems.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/engine/systems.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | ProtocolEvent::CreateUser(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/engine/systems.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | ProtocolEvent::CreateUser(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/mod.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut world = World::new(w_options); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/engine/systems.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | ProtocolEvent::Login(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/engine/systems.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | ProtocolEvent::Login(user, pass) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/engine/systems.rs:156:34 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn execute_connection_events(ent: &Entity, conn: &mut ConnectionComponent, prot: &mut ProtocolComponent, #[resource] lcmds: &mut Logi... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/engine/mod.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut entity = self.world.push((listen,)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/engine/systems.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn execute_connection_events(ent: &Entity, conn: &mut ConnectionComponent, prot: &mut ProtocolComponent, #[resource] lcmds: &mut Logi... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn transfer_events(cmd: &mut CommandBuffer, wrl: &mut World, msess: &mut MudSession) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut entity = self.world.push((listen,)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/engine/mod.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | if let Ok(tok) = self.register_listener(plain_telnet.clone(), Protocol::Telnet, ConnType::Plain) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/systems.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | if let Ok(mut prot) = entry.get_component_mut::() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/engine/systems.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwargs` [INFO] [stdout] --> src/engine/systems.rs:227:43 [INFO] [stdout] | [INFO] [stdout] 227 | ProtocolEvent::OOB(cmd, args, kwargs) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/systems.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | let mut process = ProcessComponent::from_command(msess, pid.0, s); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/systems.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | let mut ent = cmd.push((process, )); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ent` [INFO] [stdout] --> src/engine/systems.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn execute_process(ent: &Entity, proc: &mut ProcessComponent, wrl: &mut World, cmd: &mut CommandBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrl` [INFO] [stdout] --> src/engine/systems.rs:241:67 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn execute_process(ent: &Entity, proc: &mut ProcessComponent, wrl: &mut World, cmd: &mut CommandBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/engine/systems.rs:241:84 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn execute_process(ent: &Entity, proc: &mut ProcessComponent, wrl: &mut World, cmd: &mut CommandBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/mod.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut interval = Duration::from_millis(10); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/mod.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut world = World::new(w_options); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/engine/mod.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let mut entity = self.world.push((listen,)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut entity = self.world.push((listen,)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/engine/mod.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | if let Ok(tok) = self.register_listener(plain_telnet.clone(), Protocol::Telnet, ConnType::Plain) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/net/telnet/mod.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | for (key, val) in telnet_options.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut handshakes_left = TelnetHandshakes::default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn send_text(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:169:35 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn send_prompt(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/net/telnet/mod.rs:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn send_prompt(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn send_prompt(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn send_line(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_data(&self, mut writer: &mut impl Write, data: impl AsRef<[u8]>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/mod.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut interval = Duration::from_millis(10); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:183:64 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn send_sub(&mut self, op: u8, data: impl AsRef<[u8]>, mut writer: &mut impl Write) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn start(&mut self, mut writer: &mut impl Write) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:205:59 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn process_message(&mut self, msg: TelnetMessage, mut out: &mut VecDeque, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:206:28 [INFO] [stdout] | [INFO] [stdout] 206 | ... mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:206:57 [INFO] [stdout] | [INFO] [stdout] 206 | ... mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/net/telnet/mod.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:215:52 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:215:91 [INFO] [stdout] | [INFO] [stdout] 215 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capabilities` [INFO] [stdout] --> src/net/telnet/mod.rs:215:120 [INFO] [stdout] | [INFO] [stdout] 215 | ...: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capabilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:215:48 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:215:87 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:215:116 [INFO] [stdout] | [INFO] [stdout] 215 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:219:54 [INFO] [stdout] | [INFO] [stdout] 219 | fn receive_sub(&mut self, op: u8, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:219:93 [INFO] [stdout] | [INFO] [stdout] 219 | fn receive_sub(&mut self, op: u8, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:219:122 [INFO] [stdout] | [INFO] [stdout] 219 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | fn receive_mtts(&mut self, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:237:86 [INFO] [stdout] | [INFO] [stdout] 237 | fn receive_mtts(&mut self, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:237:115 [INFO] [stdout] | [INFO] [stdout] 237 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:289:52 [INFO] [stdout] | [INFO] [stdout] 289 | fn receive_mtts_0(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:289:91 [INFO] [stdout] | [INFO] [stdout] 289 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | fn receive_mtts_0(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:289:87 [INFO] [stdout] | [INFO] [stdout] 289 | fn receive_mtts_0(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:289:116 [INFO] [stdout] | [INFO] [stdout] 289 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:341:52 [INFO] [stdout] | [INFO] [stdout] 341 | fn receive_mtts_1(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:341:91 [INFO] [stdout] | [INFO] [stdout] 341 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:341:48 [INFO] [stdout] | [INFO] [stdout] 341 | fn receive_mtts_1(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:341:87 [INFO] [stdout] | [INFO] [stdout] 341 | fn receive_mtts_1(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:341:116 [INFO] [stdout] | [INFO] [stdout] 341 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:347:52 [INFO] [stdout] | [INFO] [stdout] 347 | fn receive_mtts_2(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:347:91 [INFO] [stdout] | [INFO] [stdout] 347 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/net/telnet/mod.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | for (key, val) in telnet_options.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 347 | fn receive_mtts_2(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:347:87 [INFO] [stdout] | [INFO] [stdout] 347 | fn receive_mtts_2(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:347:116 [INFO] [stdout] | [INFO] [stdout] 347 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:392:55 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:392:94 [INFO] [stdout] | [INFO] [stdout] 392 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:51 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:90 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:119 [INFO] [stdout] | [INFO] [stdout] 392 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut handshakes_left = TelnetHandshakes::default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:401:47 [INFO] [stdout] | [INFO] [stdout] 401 | fn receive_data(&mut self, data: Vec, mut out: &mut VecDeque) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn send_text(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:169:35 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn send_prompt(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handshake` is assigned to, but never used [INFO] [stdout] --> src/net/telnet/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut handshake: u8 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_handshake` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/net/telnet/mod.rs:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn send_prompt(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn send_prompt(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn send_line(&self, mut writer: &mut impl Write, data: String) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | fn send_data(&self, mut writer: &mut impl Write, data: impl AsRef<[u8]>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:183:64 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn send_sub(&mut self, op: u8, data: impl AsRef<[u8]>, mut writer: &mut impl Write) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:412:58 [INFO] [stdout] | [INFO] [stdout] 412 | fn receive_negotiate(&mut self, command: u8, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabili... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:412:97 [INFO] [stdout] | [INFO] [stdout] 412 | fn receive_negotiate(&mut self, command: u8, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabili... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:412:126 [INFO] [stdout] | [INFO] [stdout] 412 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:520:44 [INFO] [stdout] | [INFO] [stdout] 520 | fn enable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | fn enable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:520:79 [INFO] [stdout] | [INFO] [stdout] 520 | fn enable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:536:45 [INFO] [stdout] | [INFO] [stdout] 536 | fn enable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn start(&mut self, mut writer: &mut impl Write) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:536:41 [INFO] [stdout] | [INFO] [stdout] 536 | fn enable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:536:80 [INFO] [stdout] | [INFO] [stdout] 536 | fn enable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:553:46 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:553:85 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:205:59 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn process_message(&mut self, msg: TelnetMessage, mut out: &mut VecDeque, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:553:42 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:206:28 [INFO] [stdout] | [INFO] [stdout] 206 | ... mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:553:81 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:206:57 [INFO] [stdout] | [INFO] [stdout] 206 | ... mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:554:22 [INFO] [stdout] | [INFO] [stdout] 554 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:572:45 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/net/telnet/mod.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:572:84 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:215:52 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:215:91 [INFO] [stdout] | [INFO] [stdout] 215 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:572:41 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capabilities` [INFO] [stdout] --> src/net/telnet/mod.rs:215:120 [INFO] [stdout] | [INFO] [stdout] 215 | ...: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capabilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:572:80 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:215:48 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:573:23 [INFO] [stdout] | [INFO] [stdout] 573 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:215:87 [INFO] [stdout] | [INFO] [stdout] 215 | fn receive_command(&mut self, command: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:215:116 [INFO] [stdout] | [INFO] [stdout] 215 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:219:54 [INFO] [stdout] | [INFO] [stdout] 219 | fn receive_sub(&mut self, op: u8, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:219:93 [INFO] [stdout] | [INFO] [stdout] 219 | fn receive_sub(&mut self, op: u8, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:219:122 [INFO] [stdout] | [INFO] [stdout] 219 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | fn receive_mtts(&mut self, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:237:86 [INFO] [stdout] | [INFO] [stdout] 237 | fn receive_mtts(&mut self, data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:237:115 [INFO] [stdout] | [INFO] [stdout] 237 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:289:52 [INFO] [stdout] | [INFO] [stdout] 289 | fn receive_mtts_0(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:289:91 [INFO] [stdout] | [INFO] [stdout] 289 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | fn receive_mtts_0(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:289:87 [INFO] [stdout] | [INFO] [stdout] 289 | fn receive_mtts_0(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:289:116 [INFO] [stdout] | [INFO] [stdout] 289 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:341:52 [INFO] [stdout] | [INFO] [stdout] 341 | fn receive_mtts_1(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:341:91 [INFO] [stdout] | [INFO] [stdout] 341 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:341:48 [INFO] [stdout] | [INFO] [stdout] 341 | fn receive_mtts_1(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:341:87 [INFO] [stdout] | [INFO] [stdout] 341 | fn receive_mtts_1(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:341:116 [INFO] [stdout] | [INFO] [stdout] 341 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:347:52 [INFO] [stdout] | [INFO] [stdout] 347 | fn receive_mtts_2(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:347:91 [INFO] [stdout] | [INFO] [stdout] 347 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 347 | fn receive_mtts_2(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:347:87 [INFO] [stdout] | [INFO] [stdout] 347 | fn receive_mtts_2(&mut self, data: String, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &mut... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:347:116 [INFO] [stdout] | [INFO] [stdout] 347 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:392:55 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:392:94 [INFO] [stdout] | [INFO] [stdout] 392 | ...VecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:51 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:90 [INFO] [stdout] | [INFO] [stdout] 392 | fn receive_naws(&mut self, mut data: Vec, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabilities: &... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:392:119 [INFO] [stdout] | [INFO] [stdout] 392 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:401:47 [INFO] [stdout] | [INFO] [stdout] 401 | fn receive_data(&mut self, data: Vec, mut out: &mut VecDeque) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handshake` is assigned to, but never used [INFO] [stdout] --> src/net/telnet/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut handshake: u8 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_handshake` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handshake` is never read [INFO] [stdout] --> src/net/telnet/mod.rs:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | handshake = op; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:412:58 [INFO] [stdout] | [INFO] [stdout] 412 | fn receive_negotiate(&mut self, command: u8, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabili... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:412:97 [INFO] [stdout] | [INFO] [stdout] 412 | fn receive_negotiate(&mut self, command: u8, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, mut capabili... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:412:126 [INFO] [stdout] | [INFO] [stdout] 412 | ...ecDeque, mut writer: &mut impl Write, mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:520:44 [INFO] [stdout] | [INFO] [stdout] 520 | fn enable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/mod.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut listener = TcpListener::bind(addr)?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | fn enable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/net/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | Self::TLS(stream) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:520:79 [INFO] [stdout] | [INFO] [stdout] 520 | fn enable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:536:45 [INFO] [stdout] | [INFO] [stdout] 536 | fn enable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:536:41 [INFO] [stdout] | [INFO] [stdout] 536 | fn enable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:536:80 [INFO] [stdout] | [INFO] [stdout] 536 | fn enable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:553:46 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:553:85 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:553:42 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:553:81 [INFO] [stdout] | [INFO] [stdout] 553 | fn disable_remote(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:554:22 [INFO] [stdout] | [INFO] [stdout] 554 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/net/telnet/mod.rs:572:45 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/net/telnet/mod.rs:572:84 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:572:41 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:572:80 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_local(&mut self, op: u8, mut out: &mut VecDeque, mut writer: &mut impl Write, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/telnet/mod.rs:573:23 [INFO] [stdout] | [INFO] [stdout] 573 | mut capabilities: &mut ProtocolCapabilities) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/mod.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut listener = TcpListener::bind(addr)?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/net/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | Self::TLS(stream) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/mod.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn start(&mut self, mut conn: &mut ConnectionComponent) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/net/mod.rs:359:36 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn health_check(&mut self, conn: &mut ConnectionComponent) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/mod.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let mut poller = Poll::new()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/mod.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn start(&mut self, mut conn: &mut ConnectionComponent) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/net/mod.rs:359:36 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn health_check(&mut self, conn: &mut ConnectionComponent) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net/mod.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let mut poller = Poll::new()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmds` [INFO] [stdout] --> src/game/login_cmds.rs:95:73 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn login_create_command(prot: &mut ProtocolComponent, args: String, cmds: &Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cmds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmds` [INFO] [stdout] --> src/game/login_cmds.rs:110:72 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn login_login_command(prot: &mut ProtocolComponent, args: String, cmds: &Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cmds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `color_number` is never read [INFO] [stdout] --> src/mudstring/color.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut color_number : u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mudstring/color.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let mut rgb = RgbColor(trip.red, trip.green, trip.blue); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmds` [INFO] [stdout] --> src/game/login_cmds.rs:95:73 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn login_create_command(prot: &mut ProtocolComponent, args: String, cmds: &Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cmds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmds` [INFO] [stdout] --> src/game/login_cmds.rs:110:72 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn login_login_command(prot: &mut ProtocolComponent, args: String, cmds: &Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cmds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mudstring/text.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut span = Span { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Delta(Duration); [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Delta(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conns` is never read [INFO] [stdout] --> src/engine/resources.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ListenPoll { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 81 | pub handler: PollHandler, [INFO] [stdout] 82 | pub conns: Vec<(TcpStream, SocketAddr, Protocol, ConnType)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct InventoryComponent(InventoryBase); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `InventoryComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 80 | pub struct InventoryComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FuelBayComponent(InventoryBase); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `FuelBayComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FuelBayComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ResourceHopperComponent(InventoryBase); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ResourceHopperComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ResourceHopperComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ShipHangarComponent(InventoryBase); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ShipHangarComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ShipHangarComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `color_number` is never read [INFO] [stdout] --> src/mudstring/color.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut color_number : u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mudstring/color.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | let mut rgb = RgbColor(trip.red, trip.green, trip.blue); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net/telnet/mod.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | writer.write_all(data.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = writer.write_all(data.as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mudstring/text.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut span = Span { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Delta(Duration); [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Delta(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conns` is never read [INFO] [stdout] --> src/engine/resources.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ListenPoll { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 81 | pub handler: PollHandler, [INFO] [stdout] 82 | pub conns: Vec<(TcpStream, SocketAddr, Protocol, ConnType)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct InventoryComponent(InventoryBase); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `InventoryComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 80 | pub struct InventoryComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FuelBayComponent(InventoryBase); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `FuelBayComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FuelBayComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ResourceHopperComponent(InventoryBase); [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ResourceHopperComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ResourceHopperComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/objects.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ShipHangarComponent(InventoryBase); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ShipHangarComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ShipHangarComponent(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 154 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net/telnet/mod.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | writer.write_all(data.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = writer.write_all(data.as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 154 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.20s [INFO] running `Command { std: "docker" "inspect" "b3eb57fe7644845ede19145660443b5d87f8d67cad8a84bc55e1a6a7c30660d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3eb57fe7644845ede19145660443b5d87f8d67cad8a84bc55e1a6a7c30660d1", kill_on_drop: false }` [INFO] [stdout] b3eb57fe7644845ede19145660443b5d87f8d67cad8a84bc55e1a6a7c30660d1 [INFO] checking volundmush/mudcrab against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fmudcrab" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/volundmush/mudcrab on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/volundmush/mudcrab [INFO] finished tweaking git repo https://github.com/volundmush/mudcrab [INFO] tweaked toml for git repo https://github.com/volundmush/mudcrab written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3fc530bbceafaf876d898c710ff850d3bfeb33775e62232836bd15ab4f72284 [INFO] running `Command { std: "docker" "start" "-a" "e3fc530bbceafaf876d898c710ff850d3bfeb33775e62232836bd15ab4f72284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3fc530bbceafaf876d898c710ff850d3bfeb33775e62232836bd15ab4f72284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3fc530bbceafaf876d898c710ff850d3bfeb33775e62232836bd15ab4f72284", kill_on_drop: false }` [INFO] [stdout] e3fc530bbceafaf876d898c710ff850d3bfeb33775e62232836bd15ab4f72284 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34d445d9ee23235d386b196828bfab034f16c2a7c017fc0de9ec9c1e9adb84c7 [INFO] running `Command { std: "docker" "start" "-a" "34d445d9ee23235d386b196828bfab034f16c2a7c017fc0de9ec9c1e9adb84c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking scoped-tls-hkt v0.1.4 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking colori v0.1.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crossbeam-utils-0.8.19/src/sync/parker.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | / match self.state.swap(EMPTY, SeqCst) { [INFO] [stdout] 371 | | NOTIFIED | PARKED => return, [INFO] [stdout] 372 | | n => panic!("inconsistent park_timeout state: {}", n), [INFO] [stdout] 373 | | }; [INFO] [stdout] | |_________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 351 | buf_get_impl!(self, u16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 371 | buf_get_impl!(self, u16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 394 | buf_get_impl!(self, u16::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 414 | buf_get_impl!(self, i16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 434 | buf_get_impl!(self, i16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 457 | buf_get_impl!(self, i16::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 477 | buf_get_impl!(self, u32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 497 | buf_get_impl!(self, u32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 520 | buf_get_impl!(self, u32::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 540 | buf_get_impl!(self, i32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 560 | buf_get_impl!(self, i32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 583 | buf_get_impl!(self, i32::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 603 | buf_get_impl!(self, u64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 623 | buf_get_impl!(self, u64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 646 | buf_get_impl!(self, u64::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 666 | buf_get_impl!(self, i64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 686 | buf_get_impl!(self, i64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crossbeam-utils` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 709 | buf_get_impl!(self, i64::from_ne_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 729 | buf_get_impl!(self, u128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 749 | buf_get_impl!(self, u128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 772 | buf_get_impl!(self, u128::from_ne_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 792 | buf_get_impl!(self, i128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 812 | buf_get_impl!(self, i128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.0/src/buf/buf_impl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / if let Some(ret) = ret { [INFO] [stdout] 30 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 31 | | $this.advance(SIZE); [INFO] [stdout] 32 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 37 | | return $typ::$conv(buf); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 835 | buf_get_impl!(self, i128::from_ne_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "34d445d9ee23235d386b196828bfab034f16c2a7c017fc0de9ec9c1e9adb84c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34d445d9ee23235d386b196828bfab034f16c2a7c017fc0de9ec9c1e9adb84c7", kill_on_drop: false }` [INFO] [stdout] 34d445d9ee23235d386b196828bfab034f16c2a7c017fc0de9ec9c1e9adb84c7