[INFO] fetching crate meter_proxy 0.2.3... [INFO] checking meter_proxy-0.2.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate meter_proxy 0.2.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate meter_proxy 0.2.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate meter_proxy 0.2.3 [INFO] finished tweaking crates.io crate meter_proxy 0.2.3 [INFO] tweaked toml for crates.io crate meter_proxy 0.2.3 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded tokio-codec v0.1.2 [INFO] [stderr] Downloaded tokio-udp v0.1.6 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] [stderr] Downloaded tokio-fs v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d41be66f959a0c5b455ab7cae22f7621954f441617b9ff0e5caad4d22f7599c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d41be66f959a0c5b455ab7cae22f7621954f441617b9ff0e5caad4d22f7599c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d41be66f959a0c5b455ab7cae22f7621954f441617b9ff0e5caad4d22f7599c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d41be66f959a0c5b455ab7cae22f7621954f441617b9ff0e5caad4d22f7599c4", kill_on_drop: false }` [INFO] [stdout] d41be66f959a0c5b455ab7cae22f7621954f441617b9ff0e5caad4d22f7599c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65ffb77f4c8ad5f419e01119215d19ef3bed356620c1e6a81a689ddbe0de5626 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65ffb77f4c8ad5f419e01119215d19ef3bed356620c1e6a81a689ddbe0de5626", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking meter_proxy v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Yellow` [INFO] [stdout] --> src/proxy/sync/mod.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use ansi_term::Colour::{Red, Yellow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/proxy/sync/mod.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | use std::net::{TcpListener, TcpStream, Shutdown, SocketAddr,IpAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/proxy/sync/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{thread, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::setrlimit` [INFO] [stdout] --> src/proxy/sync/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::setrlimit; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/proxy/sync/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/proxy/sync/mod.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/proxy/sync/mod.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic` [INFO] [stdout] --> src/proxy/async/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/proxy/async/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> src/proxy/async/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::{SocketAddr, IpAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/proxy/async/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timeout` [INFO] [stdout] --> src/proxy/async/mod.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_core::reactor::{Core, Handle, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window`, `read_exact`, `write_all` [INFO] [stdout] --> src/proxy/async/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/proxy/async/mod.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/proxy/async/mod.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | Err(e) => {; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proxy/async/mod.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proxy/async/mod.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | fn mybox(f: F) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | try!(self.writer.shutdown(Shutdown::Write)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let m = try!((&*self.writer).write(&buffer[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | try!(self.writer.shutdown(Shutdown::Write)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | let m = try!((&*self.writer).write(&buffer[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Yellow` [INFO] [stdout] --> src/proxy/sync/mod.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use ansi_term::Colour::{Red, Yellow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/proxy/sync/mod.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | use std::net::{TcpListener, TcpStream, Shutdown, SocketAddr,IpAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str` [INFO] [stdout] --> src/proxy/sync/mod.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{thread, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::setrlimit` [INFO] [stdout] --> src/proxy/sync/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::setrlimit; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/proxy/sync/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/proxy/sync/mod.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/proxy/sync/mod.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic` [INFO] [stdout] --> src/proxy/async/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/proxy/async/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpAddr` [INFO] [stdout] --> src/proxy/async/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::{SocketAddr, IpAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/proxy/async/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timeout` [INFO] [stdout] --> src/proxy/async/mod.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_core::reactor::{Core, Handle, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window`, `read_exact`, `write_all` [INFO] [stdout] --> src/proxy/async/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/proxy/async/mod.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/proxy/async/mod.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | Err(e) => {; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proxy/async/mod.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proxy/async/mod.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | fn mybox(f: F) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | try!(self.writer.shutdown(Shutdown::Write)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let m = try!((&*self.writer).write(&buffer[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | try!(self.writer.shutdown(Shutdown::Write)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proxy/async/mod.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | let m = try!((&*self.writer).write(&buffer[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `tokio_core::io::read_exact`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `tokio_core::io::write_all`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Window`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/async/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/async/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/sync/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref TIME_TABLE: SharedTimeVec = {SharedTimeVec::new()}; [INFO] [stdout] 89 | | static ref NUM_BYTES : SharedCounter = {SharedCounter::new()}; [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `tokio_core::io::read_exact`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `tokio_core::io::write_all`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Window`: moved to the `tokio-io` crate [INFO] [stdout] --> src/proxy/async/mod.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/async/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/proxy/async/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref ERROR: Arc> = Arc::new(Mutex::new(false)); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/proxy/sync/mod.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 318 | / loop { [INFO] [stdout] 319 | | [INFO] [stdout] 320 | | let read = match back.read(&mut buf) { [INFO] [stdout] 321 | | Err(ref err) => { [INFO] [stdout] ... | [INFO] [stdout] 366 | | [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 368 | [INFO] [stdout] 369 | drop(back); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/proxy/sync/mod.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 318 | / loop { [INFO] [stdout] 319 | | [INFO] [stdout] 320 | | let read = match back.read(&mut buf) { [INFO] [stdout] 321 | | Err(ref err) => { [INFO] [stdout] ... | [INFO] [stdout] 366 | | [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 368 | [INFO] [stdout] 369 | drop(back); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Io` [INFO] [stdout] --> src/proxy/async/mod.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/sync/mod.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | Err(ref err) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq_number` [INFO] [stdout] --> src/proxy/sync/mod.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | let mut seq_number = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/sync/mod.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | Err(ref err) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/proxy/sync/mod.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | Ok(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RecvError` [INFO] [stdout] --> src/proxy/sync/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | RecvError => {}, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_RecvError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/proxy/async/mod.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | Err(e) => {; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core` [INFO] [stdout] --> src/proxy/async/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut core = Core::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/proxy/async/mod.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let pool = self.pool.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxy/sync/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut time_vec = self.0.lock().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/proxy/sync/mod.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | let mut stream_c = stream.try_clone().unwrap(); [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/proxy/sync/mod.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | let mut back = match TcpStream::connect((targ_addr, target_port)) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Io` [INFO] [stdout] --> src/proxy/async/mod.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio_core::io::{Io, read_exact, write_all, Window}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxy/sync/mod.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | let mut seq_number = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/sync/mod.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | Err(ref err) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq_number` [INFO] [stdout] --> src/proxy/sync/mod.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | let mut seq_number = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/proxy/sync/mod.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | Err(ref err) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/proxy/sync/mod.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | Ok(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RecvError` [INFO] [stdout] --> src/proxy/sync/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | RecvError => {}, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_RecvError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/proxy/async/mod.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | Err(e) => {; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core` [INFO] [stdout] --> src/proxy/async/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut core = Core::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/proxy/async/mod.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let pool = self.pool.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxy/sync/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut time_vec = self.0.lock().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/proxy/async/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut core = Core::new().unwrap(); [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/proxy/sync/mod.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | let mut stream_c = stream.try_clone().unwrap(); [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/proxy/sync/mod.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | let mut back = match TcpStream::connect((targ_addr, target_port)) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_bytes` [INFO] [stdout] --> src/proxy/async/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | num_bytes: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_resp` [INFO] [stdout] --> src/proxy/async/mod.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | num_resp: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `other` [INFO] [stdout] --> src/proxy/async/mod.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn other(desc: &str) -> io::Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxy/sync/mod.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | let mut seq_number = 0; [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/proxy/async/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut core = Core::new().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_bytes` [INFO] [stdout] --> src/proxy/async/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | num_bytes: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_resp` [INFO] [stdout] --> src/proxy/async/mod.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | num_resp: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | stream_c2.set_read_timeout(Some(Duration::new(3, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `other` [INFO] [stdout] --> src/proxy/async/mod.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn other(desc: &str) -> io::Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:188:6 [INFO] [stdout] | [INFO] [stdout] 188 | TcpStream::connect((targ_addr, self.front_port)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | let timedOut = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `timed_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut_c` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | let timedOut_c = timedOut.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `timed_out_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:252:31 [INFO] [stdout] | [INFO] [stdout] 252 | ... timedOut: Arc, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `timed_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | front.set_read_timeout(Some(Duration::new(1000, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | ... timedOut: Arc, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `timed_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:312:6 [INFO] [stdout] | [INFO] [stdout] 312 | back.set_read_timeout(Some(Duration::new(1000, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:330:18 [INFO] [stdout] | [INFO] [stdout] 330 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RecvError` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | RecvError => {}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `recv_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:357:22 [INFO] [stdout] | [INFO] [stdout] 357 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | stream_c2.set_read_timeout(Some(Duration::new(3, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:188:6 [INFO] [stdout] | [INFO] [stdout] 188 | TcpStream::connect((targ_addr, self.front_port)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | let timedOut = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `timed_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut_c` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | let timedOut_c = timedOut.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `timed_out_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:252:31 [INFO] [stdout] | [INFO] [stdout] 252 | ... timedOut: Arc, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `timed_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | front.set_read_timeout(Some(Duration::new(1000, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timedOut` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:309:31 [INFO] [stdout] | [INFO] [stdout] 309 | ... timedOut: Arc, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `timed_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:312:6 [INFO] [stdout] | [INFO] [stdout] 312 | back.set_read_timeout(Some(Duration::new(1000, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:330:18 [INFO] [stdout] | [INFO] [stdout] 330 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RecvError` should have a snake case name [INFO] [stdout] --> src/proxy/sync/mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | RecvError => {}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `recv_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:357:22 [INFO] [stdout] | [INFO] [stdout] 357 | front.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/proxy/sync/mod.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | back.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.83s [INFO] running `Command { std: "docker" "inspect" "65ffb77f4c8ad5f419e01119215d19ef3bed356620c1e6a81a689ddbe0de5626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ffb77f4c8ad5f419e01119215d19ef3bed356620c1e6a81a689ddbe0de5626", kill_on_drop: false }` [INFO] [stdout] 65ffb77f4c8ad5f419e01119215d19ef3bed356620c1e6a81a689ddbe0de5626