Oct 12 15:54:20.098 INFO checking pavel-mukhanov/sandbox against master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f for pr-54977 Oct 12 15:54:20.098 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-5/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/pr-54977/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +5af0bb83044c3fb43d59ad5f49ee5ae1a293901f-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 12 15:54:20.454 INFO blam! 9a2a0244b89589453a145cd33f8da92afc1e4f5012c7825db4b614c841d15d41 Oct 12 15:54:20.455 INFO running `"docker" "start" "-a" "9a2a0244b89589453a145cd33f8da92afc1e4f5012c7825db4b614c841d15d41"` Oct 12 15:54:21.096 INFO kablam! usermod: no changes Oct 12 15:54:21.318 INFO kablam! Compiling proc-macro2 v0.4.18 Oct 12 15:54:21.318 INFO kablam! Checking rand_core v0.1.0-pre.0 Oct 12 15:54:21.340 INFO kablam! Checking atty v0.2.11 Oct 12 15:54:21.340 INFO kablam! Checking bytes v0.4.9 Oct 12 15:54:21.340 INFO kablam! Checking backtrace-sys v0.1.24 Oct 12 15:54:21.340 INFO kablam! Checking tokio-retry v0.2.0 Oct 12 15:54:21.340 INFO kablam! Checking crossbeam-epoch v0.4.1 Oct 12 15:54:21.340 INFO kablam! Checking regex v0.2.10 Oct 12 15:54:22.537 INFO kablam! Checking backtrace v0.3.9 Oct 12 15:54:24.024 INFO kablam! Checking clap v2.32.0 Oct 12 15:54:24.441 INFO kablam! Checking rand v0.5.0-pre.0 Oct 12 15:54:26.528 INFO kablam! Checking crossbeam-deque v0.3.0 Oct 12 15:54:28.148 INFO kablam! Checking tokio-io v0.1.8 Oct 12 15:54:28.648 INFO kablam! Checking tokio-threadpool v0.1.5 Oct 12 15:54:31.085 INFO kablam! Checking env_logger v0.4.3 Oct 12 15:54:34.524 INFO kablam! Checking tokio-reactor v0.1.1 Oct 12 15:54:34.526 INFO kablam! Checking tokio-codec v0.1.0 Oct 12 15:54:35.184 INFO kablam! Checking partial-io v0.3.0 Oct 12 15:54:36.067 INFO kablam! Checking tokio-fs v0.1.3 Oct 12 15:54:38.102 INFO kablam! Checking tokio-tcp v0.1.0 Oct 12 15:54:38.102 INFO kablam! Checking tokio-udp v0.1.0 Oct 12 15:54:38.242 INFO kablam! Compiling quote v0.6.8 Oct 12 15:54:40.040 INFO kablam! Checking tokio v0.1.7 Oct 12 15:54:41.556 INFO kablam! Compiling syn v0.14.9 Oct 12 15:54:54.134 INFO kablam! Compiling synstructure v0.9.0 Oct 12 15:54:58.697 INFO kablam! Compiling failure_derive v0.1.2 Oct 12 15:55:02.092 INFO kablam! Checking failure v0.1.2 Oct 12 15:55:02.754 INFO kablam! Checking sandbox v0.1.0 (/source) Oct 12 15:55:04.330 INFO kablam! warning: unused import: `byteorder::ByteOrder` Oct 12 15:55:04.331 INFO kablam! --> src/main.rs:18:5 Oct 12 15:55:04.331 INFO kablam! | Oct 12 15:55:04.331 INFO kablam! 18 | use byteorder::ByteOrder; Oct 12 15:55:04.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.331 INFO kablam! | Oct 12 15:55:04.331 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 15:55:04.331 INFO kablam! Oct 12 15:55:04.331 INFO kablam! warning: unused import: `byteorder::LittleEndian` Oct 12 15:55:04.331 INFO kablam! --> src/main.rs:19:5 Oct 12 15:55:04.331 INFO kablam! | Oct 12 15:55:04.331 INFO kablam! 19 | use byteorder::LittleEndian; Oct 12 15:55:04.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.331 INFO kablam! Oct 12 15:55:04.331 INFO kablam! warning: unused import: `self` Oct 12 15:55:04.331 INFO kablam! --> src/main.rs:24:23 Oct 12 15:55:04.331 INFO kablam! | Oct 12 15:55:04.331 INFO kablam! 24 | use futures::stream::{self, Stream}; Oct 12 15:55:04.331 INFO kablam! | ^^^^ Oct 12 15:55:04.335 INFO kablam! Oct 12 15:55:04.335 INFO kablam! warning: unused import: `std::collections::VecDeque` Oct 12 15:55:04.335 INFO kablam! --> src/main.rs:27:5 Oct 12 15:55:04.335 INFO kablam! | Oct 12 15:55:04.335 INFO kablam! 27 | use std::collections::VecDeque; Oct 12 15:55:04.335 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.335 INFO kablam! Oct 12 15:55:04.335 INFO kablam! warning: unused import: `Read` Oct 12 15:55:04.335 INFO kablam! --> src/main.rs:29:24 Oct 12 15:55:04.335 INFO kablam! | Oct 12 15:55:04.335 INFO kablam! 29 | use std::io::{BufRead, Read}; Oct 12 15:55:04.335 INFO kablam! | ^^^^ Oct 12 15:55:04.335 INFO kablam! Oct 12 15:55:04.335 INFO kablam! warning: unused imports: `Arc`, `RwLock` Oct 12 15:55:04.335 INFO kablam! --> src/main.rs:31:17 Oct 12 15:55:04.335 INFO kablam! | Oct 12 15:55:04.335 INFO kablam! 31 | use std::sync::{Arc, RwLock}; Oct 12 15:55:04.335 INFO kablam! | ^^^ ^^^^^^ Oct 12 15:55:04.335 INFO kablam! Oct 12 15:55:04.335 INFO kablam! warning: unused imports: `AsyncRead`, `AsyncWrite`, `read_exact`, `write_all` Oct 12 15:55:04.335 INFO kablam! --> src/main.rs:34:10 Oct 12 15:55:04.335 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 34 | io::{read_exact, write_all}, AsyncRead, AsyncWrite, Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused imports: `BTreeMap`, `hash_map::DefaultHasher` Oct 12 15:55:04.336 INFO kablam! --> src/client_server.rs:6:24 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 6 | use std::collections::{hash_map::DefaultHasher, BTreeMap}; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused imports: `Hash`, `sync::atomic::Ordering` Oct 12 15:55:04.336 INFO kablam! --> src/client_server.rs:12:12 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 12 | hash::{Hash, Hasher}, sync::atomic::Ordering, Oct 12 15:55:04.336 INFO kablam! | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `AsyncWrite` Oct 12 15:55:04.336 INFO kablam! --> src/client_server.rs:15:34 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 15 | use tokio::io::{self, AsyncRead, AsyncWrite}; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `client_server::Connection` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:4:5 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 4 | use client_server::Connection; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `self` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:8:23 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 8 | use futures::stream::{self, Stream}; Oct 12 15:55:04.336 INFO kablam! | ^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `std::borrow::ToOwned` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:10:5 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 10 | use std::borrow::ToOwned; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `std::sync::Arc` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:13:5 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 13 | use std::sync::Arc; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `std::sync::RwLock` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:14:5 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 14 | use std::sync::RwLock; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `std::thread` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:15:5 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 15 | use std::thread; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `std::time::Duration` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:16:5 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 16 | use std::time::Duration; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.336 INFO kablam! warning: unused import: `AsyncWrite` Oct 12 15:55:04.336 INFO kablam! --> src/codecs.rs:22:46 Oct 12 15:55:04.336 INFO kablam! | Oct 12 15:55:04.336 INFO kablam! 22 | use tokio_io::{codec::LinesCodec, AsyncRead, AsyncWrite}; Oct 12 15:55:04.336 INFO kablam! | ^^^^^^^^^^ Oct 12 15:55:04.336 INFO kablam! Oct 12 15:55:04.357 INFO kablam! warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec Oct 12 15:55:04.357 INFO kablam! --> src/codecs.rs:21:41 Oct 12 15:55:04.357 INFO kablam! | Oct 12 15:55:04.357 INFO kablam! 21 | use tokio_io::codec::{Decoder, Encoder, Framed}; Oct 12 15:55:04.357 INFO kablam! | ^^^^^^ Oct 12 15:55:04.358 INFO kablam! | Oct 12 15:55:04.358 INFO kablam! = note: #[warn(deprecated)] on by default Oct 12 15:55:04.358 INFO kablam! Oct 12 15:55:04.358 INFO kablam! warning: use of deprecated item 'tokio_io::codec::LinesCodec': Moved to tokio-codec Oct 12 15:55:04.358 INFO kablam! --> src/codecs.rs:22:16 Oct 12 15:55:04.358 INFO kablam! | Oct 12 15:55:04.358 INFO kablam! 22 | use tokio_io::{codec::LinesCodec, AsyncRead, AsyncWrite}; Oct 12 15:55:04.358 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.358 INFO kablam! Oct 12 15:55:04.358 INFO kablam! warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec Oct 12 15:55:04.358 INFO kablam! --> src/codecs.rs:35:29 Oct 12 15:55:04.358 INFO kablam! | Oct 12 15:55:04.358 INFO kablam! 35 | type FramedSink = SplitSink>; Oct 12 15:55:04.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.358 INFO kablam! Oct 12 15:55:04.358 INFO kablam! warning: use of deprecated item 'tokio_io::codec::LinesCodec': Moved to tokio-codec Oct 12 15:55:04.358 INFO kablam! --> src/codecs.rs:35:47 Oct 12 15:55:04.358 INFO kablam! | Oct 12 15:55:04.358 INFO kablam! 35 | type FramedSink = SplitSink>; Oct 12 15:55:04.358 INFO kablam! | ^^^^^^^^^^ Oct 12 15:55:04.358 INFO kablam! Oct 12 15:55:04.358 INFO kablam! warning: use of deprecated item 'futures::stream::iter': implementation moved to `iter_ok` and `iter_result` Oct 12 15:55:04.358 INFO kablam! --> src/client_server.rs:154:17 Oct 12 15:55:04.358 INFO kablam! | Oct 12 15:55:04.358 INFO kablam! 154 | stream::iter(lines).forward(writer).map(drop) Oct 12 15:55:04.358 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:55:04.358 INFO kablam! Oct 12 15:55:04.360 INFO kablam! warning: use of deprecated item 'tokio_io::codec::LinesCodec': Moved to tokio-codec Oct 12 15:55:04.360 INFO kablam! --> src/codecs.rs:115:48 Oct 12 15:55:04.360 INFO kablam! | Oct 12 15:55:04.360 INFO kablam! 115 | let (sink, stream) = connection.framed(LinesCodec::new()).split(); Oct 12 15:55:04.360 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:55:04.360 INFO kablam! Oct 12 15:55:04.491 INFO kablam! warning: use of deprecated item 'tokio_io::AsyncRead::framed': Use tokio_codec::Decoder::framed instead Oct 12 15:55:04.492 INFO kablam! --> src/client_server.rs:107:49 Oct 12 15:55:04.492 INFO kablam! | Oct 12 15:55:04.492 INFO kablam! 107 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:04.492 INFO kablam! | ^^^^^^ Oct 12 15:55:04.496 INFO kablam! Oct 12 15:55:04.540 INFO kablam! warning: use of deprecated item 'tokio_io::AsyncRead::framed': Use tokio_codec::Decoder::framed instead Oct 12 15:55:04.540 INFO kablam! --> src/client_server.rs:150:45 Oct 12 15:55:04.540 INFO kablam! | Oct 12 15:55:04.540 INFO kablam! 150 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:04.540 INFO kablam! | ^^^^^^ Oct 12 15:55:04.540 INFO kablam! Oct 12 15:55:04.551 INFO kablam! warning: use of deprecated item 'tokio_io::AsyncRead::framed': Use tokio_codec::Decoder::framed instead Oct 12 15:55:04.551 INFO kablam! --> src/codecs.rs:115:41 Oct 12 15:55:04.551 INFO kablam! | Oct 12 15:55:04.551 INFO kablam! 115 | let (sink, stream) = connection.framed(LinesCodec::new()).split(); Oct 12 15:55:04.551 INFO kablam! | ^^^^^^ Oct 12 15:55:04.551 INFO kablam! Oct 12 15:55:04.574 INFO kablam! warning: unused import: `Hasher` Oct 12 15:55:04.574 INFO kablam! --> src/client_server.rs:12:18 Oct 12 15:55:04.574 INFO kablam! | Oct 12 15:55:04.574 INFO kablam! 12 | hash::{Hash, Hasher}, sync::atomic::Ordering, Oct 12 15:55:04.575 INFO kablam! | ^^^^^^ Oct 12 15:55:04.575 INFO kablam! Oct 12 15:55:04.586 INFO kablam! warning: unused variable: `remote_address` Oct 12 15:55:04.587 INFO kablam! --> src/main.rs:56:9 Oct 12 15:55:04.587 INFO kablam! | Oct 12 15:55:04.587 INFO kablam! 56 | let remote_address = remote_address.clone(); Oct 12 15:55:04.588 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_remote_address` instead Oct 12 15:55:04.588 INFO kablam! | Oct 12 15:55:04.588 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 15:55:04.588 INFO kablam! Oct 12 15:55:04.589 INFO kablam! warning: unused variable: `connector` Oct 12 15:55:04.589 INFO kablam! --> src/main.rs:61:9 Oct 12 15:55:04.589 INFO kablam! | Oct 12 15:55:04.589 INFO kablam! 61 | let connector = node.clone(); Oct 12 15:55:04.590 INFO kablam! | ^^^^^^^^^ help: consider using `_connector` instead Oct 12 15:55:04.590 INFO kablam! Oct 12 15:55:04.590 INFO kablam! warning: unused variable: `remote_sender` Oct 12 15:55:04.591 INFO kablam! --> src/main.rs:63:9 Oct 12 15:55:04.591 INFO kablam! | Oct 12 15:55:04.591 INFO kablam! 63 | let remote_sender = sender_tx.clone(); Oct 12 15:55:04.591 INFO kablam! | ^^^^^^^^^^^^^ help: consider using `_remote_sender` instead Oct 12 15:55:04.591 INFO kablam! Oct 12 15:55:04.592 INFO kablam! warning: unused variable: `address2` Oct 12 15:55:04.592 INFO kablam! --> src/client_server.rs:69:9 Oct 12 15:55:04.592 INFO kablam! | Oct 12 15:55:04.592 INFO kablam! 69 | let address2: SocketAddr = "127.0.0.1:9000".parse().unwrap(); Oct 12 15:55:04.592 INFO kablam! | ^^^^^^^^ help: consider using `_address2` instead Oct 12 15:55:04.592 INFO kablam! Oct 12 15:55:04.593 INFO kablam! warning: unused variable: `writer` Oct 12 15:55:04.593 INFO kablam! --> src/client_server.rs:107:26 Oct 12 15:55:04.593 INFO kablam! | Oct 12 15:55:04.593 INFO kablam! 107 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:04.593 INFO kablam! | ^^^^^^ help: consider using `_writer` instead Oct 12 15:55:04.593 INFO kablam! Oct 12 15:55:04.594 INFO kablam! warning: unused variable: `pool` Oct 12 15:55:04.594 INFO kablam! --> src/client_server.rs:98:13 Oct 12 15:55:04.594 INFO kablam! | Oct 12 15:55:04.594 INFO kablam! 98 | let pool = self.connection_pool.clone(); Oct 12 15:55:04.594 INFO kablam! | ^^^^ help: consider using `_pool` instead Oct 12 15:55:04.594 INFO kablam! Oct 12 15:55:04.594 INFO kablam! warning: unused variable: `reader` Oct 12 15:55:04.595 INFO kablam! --> src/client_server.rs:150:30 Oct 12 15:55:04.595 INFO kablam! | Oct 12 15:55:04.595 INFO kablam! 150 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:04.595 INFO kablam! | ^^^^^^ help: consider using `_reader` instead Oct 12 15:55:04.595 INFO kablam! Oct 12 15:55:04.595 INFO kablam! warning: unused variable: `pool` Oct 12 15:55:04.595 INFO kablam! --> src/client_server.rs:144:13 Oct 12 15:55:04.595 INFO kablam! | Oct 12 15:55:04.595 INFO kablam! 144 | let pool = self.connection_pool.clone(); Oct 12 15:55:04.595 INFO kablam! | ^^^^ help: consider using `_pool` instead Oct 12 15:55:04.595 INFO kablam! Oct 12 15:55:04.596 INFO kablam! warning: unused variable: `e` Oct 12 15:55:04.596 INFO kablam! --> src/codecs.rs:122:31 Oct 12 15:55:04.596 INFO kablam! | Oct 12 15:55:04.596 INFO kablam! 122 | .map_err(|e| format_err!("error! ")) Oct 12 15:55:04.596 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:55:04.596 INFO kablam! Oct 12 15:55:04.597 INFO kablam! warning: unused variable: `e` Oct 12 15:55:04.597 INFO kablam! --> src/codecs.rs:125:31 Oct 12 15:55:04.597 INFO kablam! | Oct 12 15:55:04.597 INFO kablam! 125 | .map_err(|e| println!("error!")) Oct 12 15:55:04.597 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:55:04.597 INFO kablam! Oct 12 15:55:04.597 INFO kablam! warning: unused variable: `peer_addr` Oct 12 15:55:04.597 INFO kablam! --> src/codecs.rs:114:13 Oct 12 15:55:04.597 INFO kablam! | Oct 12 15:55:04.597 INFO kablam! 114 | let peer_addr = connection.local_addr().unwrap(); Oct 12 15:55:04.597 INFO kablam! | ^^^^^^^^^ help: consider using `_peer_addr` instead Oct 12 15:55:04.597 INFO kablam! Oct 12 15:55:04.598 INFO kablam! warning: unused variable: `e` Oct 12 15:55:04.598 INFO kablam! --> src/codecs.rs:174:26 Oct 12 15:55:04.598 INFO kablam! | Oct 12 15:55:04.598 INFO kablam! 174 | handler.map_err(|e| format_err!("")) Oct 12 15:55:04.598 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:55:04.598 INFO kablam! Oct 12 15:55:04.598 INFO kablam! warning: unused variable: `src` Oct 12 15:55:04.598 INFO kablam! --> src/codecs.rs:235:9 Oct 12 15:55:04.598 INFO kablam! | Oct 12 15:55:04.598 INFO kablam! 235 | src: &mut BytesMut, Oct 12 15:55:04.598 INFO kablam! | ^^^ help: consider using `_src` instead Oct 12 15:55:04.598 INFO kablam! Oct 12 15:55:04.599 INFO kablam! warning: unused variable: `item` Oct 12 15:55:04.599 INFO kablam! --> src/codecs.rs:247:9 Oct 12 15:55:04.599 INFO kablam! | Oct 12 15:55:04.599 INFO kablam! 247 | item: ::Item, Oct 12 15:55:04.599 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 12 15:55:04.599 INFO kablam! Oct 12 15:55:04.599 INFO kablam! warning: unused variable: `dst` Oct 12 15:55:04.599 INFO kablam! --> src/codecs.rs:248:9 Oct 12 15:55:04.599 INFO kablam! | Oct 12 15:55:04.599 INFO kablam! 248 | dst: &mut BytesMut, Oct 12 15:55:04.599 INFO kablam! | ^^^ help: consider using `_dst` instead Oct 12 15:55:04.604 INFO kablam! Oct 12 15:55:04.637 INFO kablam! warning: variable does not need to be mutable Oct 12 15:55:04.637 INFO kablam! --> src/codecs.rs:94:13 Oct 12 15:55:04.637 INFO kablam! | Oct 12 15:55:04.637 INFO kablam! 94 | let mut read_pool = pool.clone(); Oct 12 15:55:04.638 INFO kablam! | ----^^^^^^^^^ Oct 12 15:55:04.638 INFO kablam! | | Oct 12 15:55:04.638 INFO kablam! | help: remove this `mut` Oct 12 15:55:04.638 INFO kablam! | Oct 12 15:55:04.638 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 15:55:04.638 INFO kablam! Oct 12 15:55:04.673 INFO kablam! warning: struct is never constructed: `PublicKey` Oct 12 15:55:04.673 INFO kablam! --> src/client_server.rs:20:1 Oct 12 15:55:04.673 INFO kablam! | Oct 12 15:55:04.673 INFO kablam! 20 | pub struct PublicKey([u8]); Oct 12 15:55:04.673 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.673 INFO kablam! | Oct 12 15:55:04.673 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 15:55:04.673 INFO kablam! Oct 12 15:55:04.673 INFO kablam! warning: struct is never constructed: `ConnectInfo` Oct 12 15:55:04.674 INFO kablam! --> src/client_server.rs:22:1 Oct 12 15:55:04.674 INFO kablam! | Oct 12 15:55:04.674 INFO kablam! 22 | pub struct ConnectInfo { Oct 12 15:55:04.674 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.674 INFO kablam! Oct 12 15:55:04.674 INFO kablam! warning: struct is never constructed: `Connection` Oct 12 15:55:04.674 INFO kablam! --> src/client_server.rs:50:1 Oct 12 15:55:04.674 INFO kablam! | Oct 12 15:55:04.674 INFO kablam! 50 | pub struct Connection { Oct 12 15:55:04.674 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.674 INFO kablam! Oct 12 15:55:04.674 INFO kablam! warning: method is never used: `new` Oct 12 15:55:04.674 INFO kablam! --> src/client_server.rs:56:5 Oct 12 15:55:04.675 INFO kablam! | Oct 12 15:55:04.675 INFO kablam! 56 | pub fn new(local: &SocketAddr, remote: &SocketAddr) -> Self { Oct 12 15:55:04.675 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.675 INFO kablam! Oct 12 15:55:04.675 INFO kablam! warning: type alias is never used: `FramedSink` Oct 12 15:55:04.675 INFO kablam! --> src/codecs.rs:35:1 Oct 12 15:55:04.675 INFO kablam! | Oct 12 15:55:04.675 INFO kablam! 35 | type FramedSink = SplitSink>; Oct 12 15:55:04.675 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.675 INFO kablam! Oct 12 15:55:04.675 INFO kablam! warning: method is never used: `ok` Oct 12 15:55:04.675 INFO kablam! --> src/codecs.rs:177:5 Oct 12 15:55:04.675 INFO kablam! | Oct 12 15:55:04.675 INFO kablam! 177 | pub fn ok() -> impl Future { Oct 12 15:55:04.676 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.676 INFO kablam! Oct 12 15:55:04.676 INFO kablam! warning: function is never used: `commands_parser` Oct 12 15:55:04.676 INFO kablam! --> src/codecs.rs:214:1 Oct 12 15:55:04.676 INFO kablam! | Oct 12 15:55:04.676 INFO kablam! 214 | fn commands_parser(line: String, pool: ConnectionPool2) -> String { Oct 12 15:55:04.676 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.676 INFO kablam! Oct 12 15:55:04.679 INFO kablam! warning: struct is never constructed: `BadCodecs` Oct 12 15:55:04.679 INFO kablam! --> src/codecs.rs:221:1 Oct 12 15:55:04.679 INFO kablam! | Oct 12 15:55:04.679 INFO kablam! 221 | struct BadCodecs {} Oct 12 15:55:04.679 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:55:04.679 INFO kablam! Oct 12 15:55:04.679 INFO kablam! warning: method is never used: `new` Oct 12 15:55:04.679 INFO kablam! --> src/codecs.rs:224:5 Oct 12 15:55:04.679 INFO kablam! | Oct 12 15:55:04.679 INFO kablam! 224 | pub fn new() -> Self { Oct 12 15:55:04.679 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.679 INFO kablam! Oct 12 15:55:04.679 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:55:04.679 INFO kablam! --> src/client_server.rs:139:9 Oct 12 15:55:04.679 INFO kablam! | Oct 12 15:55:04.679 INFO kablam! 139 | handler.join(); Oct 12 15:55:04.679 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:55:04.679 INFO kablam! | Oct 12 15:55:04.679 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 15:55:04.679 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:55:04.679 INFO kablam! Oct 12 15:55:04.684 INFO kablam! warning: unused `futures::sink::Send` which must be used Oct 12 15:55:04.684 INFO kablam! --> src/codecs.rs:41:5 Oct 12 15:55:04.684 INFO kablam! | Oct 12 15:55:04.684 INFO kablam! 41 | sender_tx.send("String".to_string()); Oct 12 15:55:04.684 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.684 INFO kablam! | Oct 12 15:55:04.684 INFO kablam! = note: futures do nothing unless polled Oct 12 15:55:04.684 INFO kablam! Oct 12 15:55:04.685 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:55:04.685 INFO kablam! --> src/main.rs:82:9 Oct 12 15:55:04.685 INFO kablam! | Oct 12 15:55:04.685 INFO kablam! 82 | connect_sender_tx.clone().send(line.clone()).wait(); Oct 12 15:55:04.685 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.685 INFO kablam! | Oct 12 15:55:04.685 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:55:04.686 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused import: `byteorder::ByteOrder` Oct 12 15:55:04.813 INFO kablam! --> src/main.rs:18:5 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 18 | use byteorder::ByteOrder; Oct 12 15:55:04.813 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused import: `byteorder::LittleEndian` Oct 12 15:55:04.813 INFO kablam! --> src/main.rs:19:5 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 19 | use byteorder::LittleEndian; Oct 12 15:55:04.813 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused import: `self` Oct 12 15:55:04.813 INFO kablam! --> src/main.rs:24:23 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 24 | use futures::stream::{self, Stream}; Oct 12 15:55:04.813 INFO kablam! | ^^^^ Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused import: `std::collections::VecDeque` Oct 12 15:55:04.813 INFO kablam! --> src/main.rs:27:5 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 27 | use std::collections::VecDeque; Oct 12 15:55:04.813 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused import: `Read` Oct 12 15:55:04.813 INFO kablam! --> src/main.rs:29:24 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 29 | use std::io::{BufRead, Read}; Oct 12 15:55:04.813 INFO kablam! | ^^^^ Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused imports: `Arc`, `RwLock` Oct 12 15:55:04.813 INFO kablam! --> src/main.rs:31:17 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 31 | use std::sync::{Arc, RwLock}; Oct 12 15:55:04.813 INFO kablam! | ^^^ ^^^^^^ Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused imports: `AsyncRead`, `AsyncWrite`, `read_exact`, `write_all` Oct 12 15:55:04.813 INFO kablam! --> src/main.rs:34:10 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 34 | io::{read_exact, write_all}, AsyncRead, AsyncWrite, Oct 12 15:55:04.813 INFO kablam! | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused imports: `BTreeMap`, `hash_map::DefaultHasher` Oct 12 15:55:04.813 INFO kablam! --> src/client_server.rs:6:24 Oct 12 15:55:04.813 INFO kablam! | Oct 12 15:55:04.813 INFO kablam! 6 | use std::collections::{hash_map::DefaultHasher, BTreeMap}; Oct 12 15:55:04.813 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ Oct 12 15:55:04.813 INFO kablam! Oct 12 15:55:04.813 INFO kablam! warning: unused imports: `Hash`, `sync::atomic::Ordering` Oct 12 15:55:04.814 INFO kablam! --> src/client_server.rs:12:12 Oct 12 15:55:04.814 INFO kablam! | Oct 12 15:55:04.814 INFO kablam! 12 | hash::{Hash, Hasher}, sync::atomic::Ordering, Oct 12 15:55:04.814 INFO kablam! | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.814 INFO kablam! Oct 12 15:55:04.814 INFO kablam! warning: unused import: `AsyncWrite` Oct 12 15:55:04.814 INFO kablam! --> src/client_server.rs:15:34 Oct 12 15:55:04.814 INFO kablam! | Oct 12 15:55:04.814 INFO kablam! 15 | use tokio::io::{self, AsyncRead, AsyncWrite}; Oct 12 15:55:04.814 INFO kablam! | ^^^^^^^^^^ Oct 12 15:55:04.814 INFO kablam! Oct 12 15:55:04.814 INFO kablam! warning: unused import: `client_server::Connection` Oct 12 15:55:04.814 INFO kablam! --> src/codecs.rs:4:5 Oct 12 15:55:04.814 INFO kablam! | Oct 12 15:55:04.814 INFO kablam! 4 | use client_server::Connection; Oct 12 15:55:04.814 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.814 INFO kablam! Oct 12 15:55:04.814 INFO kablam! warning: unused import: `self` Oct 12 15:55:04.814 INFO kablam! --> src/codecs.rs:8:23 Oct 12 15:55:04.814 INFO kablam! | Oct 12 15:55:04.814 INFO kablam! 8 | use futures::stream::{self, Stream}; Oct 12 15:55:04.814 INFO kablam! | ^^^^ Oct 12 15:55:04.814 INFO kablam! Oct 12 15:55:04.814 INFO kablam! warning: unused import: `std::borrow::ToOwned` Oct 12 15:55:04.814 INFO kablam! --> src/codecs.rs:10:5 Oct 12 15:55:04.814 INFO kablam! | Oct 12 15:55:04.814 INFO kablam! 10 | use std::borrow::ToOwned; Oct 12 15:55:04.814 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.815 INFO kablam! Oct 12 15:55:04.815 INFO kablam! warning: unused import: `std::sync::Arc` Oct 12 15:55:04.815 INFO kablam! --> src/codecs.rs:13:5 Oct 12 15:55:04.815 INFO kablam! | Oct 12 15:55:04.815 INFO kablam! 13 | use std::sync::Arc; Oct 12 15:55:04.815 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:55:04.815 INFO kablam! Oct 12 15:55:04.815 INFO kablam! warning: unused import: `std::sync::RwLock` Oct 12 15:55:04.815 INFO kablam! --> src/codecs.rs:14:5 Oct 12 15:55:04.815 INFO kablam! | Oct 12 15:55:04.815 INFO kablam! 14 | use std::sync::RwLock; Oct 12 15:55:04.815 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.815 INFO kablam! Oct 12 15:55:04.815 INFO kablam! warning: unused import: `std::thread` Oct 12 15:55:04.815 INFO kablam! --> src/codecs.rs:15:5 Oct 12 15:55:04.815 INFO kablam! | Oct 12 15:55:04.815 INFO kablam! 15 | use std::thread; Oct 12 15:55:04.815 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:55:04.815 INFO kablam! Oct 12 15:55:04.815 INFO kablam! warning: unused import: `std::time::Duration` Oct 12 15:55:04.815 INFO kablam! --> src/codecs.rs:16:5 Oct 12 15:55:04.815 INFO kablam! | Oct 12 15:55:04.815 INFO kablam! 16 | use std::time::Duration; Oct 12 15:55:04.815 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.815 INFO kablam! Oct 12 15:55:04.815 INFO kablam! warning: unused import: `AsyncWrite` Oct 12 15:55:04.815 INFO kablam! --> src/codecs.rs:22:46 Oct 12 15:55:04.815 INFO kablam! | Oct 12 15:55:04.815 INFO kablam! 22 | use tokio_io::{codec::LinesCodec, AsyncRead, AsyncWrite}; Oct 12 15:55:04.815 INFO kablam! | ^^^^^^^^^^ Oct 12 15:55:04.815 INFO kablam! Oct 12 15:55:04.840 INFO kablam! warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec Oct 12 15:55:04.840 INFO kablam! --> src/codecs.rs:21:41 Oct 12 15:55:04.840 INFO kablam! | Oct 12 15:55:04.840 INFO kablam! 21 | use tokio_io::codec::{Decoder, Encoder, Framed}; Oct 12 15:55:04.840 INFO kablam! | ^^^^^^ Oct 12 15:55:04.840 INFO kablam! | Oct 12 15:55:04.840 INFO kablam! = note: #[warn(deprecated)] on by default Oct 12 15:55:04.840 INFO kablam! Oct 12 15:55:04.840 INFO kablam! warning: use of deprecated item 'tokio_io::codec::LinesCodec': Moved to tokio-codec Oct 12 15:55:04.841 INFO kablam! --> src/codecs.rs:22:16 Oct 12 15:55:04.841 INFO kablam! | Oct 12 15:55:04.841 INFO kablam! 22 | use tokio_io::{codec::LinesCodec, AsyncRead, AsyncWrite}; Oct 12 15:55:04.841 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.841 INFO kablam! Oct 12 15:55:04.841 INFO kablam! warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec Oct 12 15:55:04.841 INFO kablam! --> src/codecs.rs:35:29 Oct 12 15:55:04.841 INFO kablam! | Oct 12 15:55:04.841 INFO kablam! 35 | type FramedSink = SplitSink>; Oct 12 15:55:04.841 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:04.841 INFO kablam! Oct 12 15:55:04.841 INFO kablam! warning: use of deprecated item 'tokio_io::codec::LinesCodec': Moved to tokio-codec Oct 12 15:55:04.841 INFO kablam! --> src/codecs.rs:35:47 Oct 12 15:55:04.841 INFO kablam! | Oct 12 15:55:04.841 INFO kablam! 35 | type FramedSink = SplitSink>; Oct 12 15:55:04.841 INFO kablam! | ^^^^^^^^^^ Oct 12 15:55:04.841 INFO kablam! Oct 12 15:55:04.841 INFO kablam! warning: use of deprecated item 'futures::stream::iter': implementation moved to `iter_ok` and `iter_result` Oct 12 15:55:04.841 INFO kablam! --> src/client_server.rs:154:17 Oct 12 15:55:04.841 INFO kablam! | Oct 12 15:55:04.841 INFO kablam! 154 | stream::iter(lines).forward(writer).map(drop) Oct 12 15:55:04.841 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:55:04.841 INFO kablam! Oct 12 15:55:04.841 INFO kablam! warning: use of deprecated item 'tokio_io::codec::LinesCodec': Moved to tokio-codec Oct 12 15:55:04.841 INFO kablam! --> src/codecs.rs:115:48 Oct 12 15:55:04.841 INFO kablam! | Oct 12 15:55:04.841 INFO kablam! 115 | let (sink, stream) = connection.framed(LinesCodec::new()).split(); Oct 12 15:55:04.841 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:55:04.841 INFO kablam! Oct 12 15:55:04.959 INFO kablam! warning: use of deprecated item 'tokio_io::AsyncRead::framed': Use tokio_codec::Decoder::framed instead Oct 12 15:55:04.959 INFO kablam! --> src/client_server.rs:107:49 Oct 12 15:55:04.959 INFO kablam! | Oct 12 15:55:04.959 INFO kablam! 107 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:04.959 INFO kablam! | ^^^^^^ Oct 12 15:55:04.959 INFO kablam! Oct 12 15:55:04.996 INFO kablam! warning: use of deprecated item 'tokio_io::AsyncRead::framed': Use tokio_codec::Decoder::framed instead Oct 12 15:55:04.996 INFO kablam! --> src/client_server.rs:150:45 Oct 12 15:55:04.996 INFO kablam! | Oct 12 15:55:04.996 INFO kablam! 150 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:04.996 INFO kablam! | ^^^^^^ Oct 12 15:55:04.996 INFO kablam! Oct 12 15:55:05.003 INFO kablam! warning: use of deprecated item 'tokio_io::AsyncRead::framed': Use tokio_codec::Decoder::framed instead Oct 12 15:55:05.003 INFO kablam! --> src/codecs.rs:115:41 Oct 12 15:55:05.003 INFO kablam! | Oct 12 15:55:05.003 INFO kablam! 115 | let (sink, stream) = connection.framed(LinesCodec::new()).split(); Oct 12 15:55:05.003 INFO kablam! | ^^^^^^ Oct 12 15:55:05.012 INFO kablam! Oct 12 15:55:05.036 INFO kablam! warning: unused import: `Hasher` Oct 12 15:55:05.037 INFO kablam! --> src/client_server.rs:12:18 Oct 12 15:55:05.037 INFO kablam! | Oct 12 15:55:05.037 INFO kablam! 12 | hash::{Hash, Hasher}, sync::atomic::Ordering, Oct 12 15:55:05.037 INFO kablam! | ^^^^^^ Oct 12 15:55:05.037 INFO kablam! Oct 12 15:55:05.048 INFO kablam! warning: unused variable: `remote_address` Oct 12 15:55:05.049 INFO kablam! --> src/main.rs:56:9 Oct 12 15:55:05.049 INFO kablam! | Oct 12 15:55:05.049 INFO kablam! 56 | let remote_address = remote_address.clone(); Oct 12 15:55:05.049 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_remote_address` instead Oct 12 15:55:05.050 INFO kablam! | Oct 12 15:55:05.050 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 15:55:05.050 INFO kablam! Oct 12 15:55:05.050 INFO kablam! warning: unused variable: `connector` Oct 12 15:55:05.051 INFO kablam! --> src/main.rs:61:9 Oct 12 15:55:05.051 INFO kablam! | Oct 12 15:55:05.051 INFO kablam! 61 | let connector = node.clone(); Oct 12 15:55:05.051 INFO kablam! | ^^^^^^^^^ help: consider using `_connector` instead Oct 12 15:55:05.052 INFO kablam! Oct 12 15:55:05.052 INFO kablam! warning: unused variable: `remote_sender` Oct 12 15:55:05.052 INFO kablam! --> src/main.rs:63:9 Oct 12 15:55:05.052 INFO kablam! | Oct 12 15:55:05.053 INFO kablam! 63 | let remote_sender = sender_tx.clone(); Oct 12 15:55:05.053 INFO kablam! | ^^^^^^^^^^^^^ help: consider using `_remote_sender` instead Oct 12 15:55:05.053 INFO kablam! Oct 12 15:55:05.054 INFO kablam! warning: unused variable: `writer` Oct 12 15:55:05.054 INFO kablam! --> src/client_server.rs:107:26 Oct 12 15:55:05.054 INFO kablam! | Oct 12 15:55:05.054 INFO kablam! 107 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:05.055 INFO kablam! | ^^^^^^ help: consider using `_writer` instead Oct 12 15:55:05.055 INFO kablam! Oct 12 15:55:05.055 INFO kablam! warning: unused variable: `pool` Oct 12 15:55:05.055 INFO kablam! --> src/client_server.rs:98:13 Oct 12 15:55:05.056 INFO kablam! | Oct 12 15:55:05.056 INFO kablam! 98 | let pool = self.connection_pool.clone(); Oct 12 15:55:05.056 INFO kablam! | ^^^^ help: consider using `_pool` instead Oct 12 15:55:05.057 INFO kablam! Oct 12 15:55:05.057 INFO kablam! warning: unused variable: `reader` Oct 12 15:55:05.057 INFO kablam! --> src/client_server.rs:150:30 Oct 12 15:55:05.058 INFO kablam! | Oct 12 15:55:05.058 INFO kablam! 150 | let (writer, reader) = sock.framed(LinesCodec::new()).split(); Oct 12 15:55:05.058 INFO kablam! | ^^^^^^ help: consider using `_reader` instead Oct 12 15:55:05.058 INFO kablam! Oct 12 15:55:05.059 INFO kablam! warning: unused variable: `pool` Oct 12 15:55:05.059 INFO kablam! --> src/client_server.rs:144:13 Oct 12 15:55:05.059 INFO kablam! | Oct 12 15:55:05.060 INFO kablam! 144 | let pool = self.connection_pool.clone(); Oct 12 15:55:05.060 INFO kablam! | ^^^^ help: consider using `_pool` instead Oct 12 15:55:05.060 INFO kablam! Oct 12 15:55:05.060 INFO kablam! warning: unused variable: `e` Oct 12 15:55:05.061 INFO kablam! --> src/codecs.rs:122:31 Oct 12 15:55:05.061 INFO kablam! | Oct 12 15:55:05.061 INFO kablam! 122 | .map_err(|e| format_err!("error! ")) Oct 12 15:55:05.062 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:55:05.062 INFO kablam! Oct 12 15:55:05.062 INFO kablam! warning: unused variable: `e` Oct 12 15:55:05.062 INFO kablam! --> src/codecs.rs:125:31 Oct 12 15:55:05.063 INFO kablam! | Oct 12 15:55:05.063 INFO kablam! 125 | .map_err(|e| println!("error!")) Oct 12 15:55:05.063 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:55:05.063 INFO kablam! Oct 12 15:55:05.064 INFO kablam! warning: unused variable: `peer_addr` Oct 12 15:55:05.064 INFO kablam! --> src/codecs.rs:114:13 Oct 12 15:55:05.064 INFO kablam! | Oct 12 15:55:05.065 INFO kablam! 114 | let peer_addr = connection.local_addr().unwrap(); Oct 12 15:55:05.065 INFO kablam! | ^^^^^^^^^ help: consider using `_peer_addr` instead Oct 12 15:55:05.065 INFO kablam! Oct 12 15:55:05.065 INFO kablam! warning: unused variable: `e` Oct 12 15:55:05.066 INFO kablam! --> src/codecs.rs:174:26 Oct 12 15:55:05.066 INFO kablam! | Oct 12 15:55:05.066 INFO kablam! 174 | handler.map_err(|e| format_err!("")) Oct 12 15:55:05.066 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:55:05.067 INFO kablam! Oct 12 15:55:05.067 INFO kablam! warning: unused variable: `src` Oct 12 15:55:05.067 INFO kablam! --> src/codecs.rs:235:9 Oct 12 15:55:05.067 INFO kablam! | Oct 12 15:55:05.068 INFO kablam! 235 | src: &mut BytesMut, Oct 12 15:55:05.068 INFO kablam! | ^^^ help: consider using `_src` instead Oct 12 15:55:05.068 INFO kablam! Oct 12 15:55:05.068 INFO kablam! warning: unused variable: `item` Oct 12 15:55:05.069 INFO kablam! --> src/codecs.rs:247:9 Oct 12 15:55:05.069 INFO kablam! | Oct 12 15:55:05.069 INFO kablam! 247 | item: ::Item, Oct 12 15:55:05.069 INFO kablam! | ^^^^ help: consider using `_item` instead Oct 12 15:55:05.070 INFO kablam! Oct 12 15:55:05.070 INFO kablam! warning: unused variable: `dst` Oct 12 15:55:05.070 INFO kablam! --> src/codecs.rs:248:9 Oct 12 15:55:05.070 INFO kablam! | Oct 12 15:55:05.070 INFO kablam! 248 | dst: &mut BytesMut, Oct 12 15:55:05.071 INFO kablam! | ^^^ help: consider using `_dst` instead Oct 12 15:55:05.071 INFO kablam! Oct 12 15:55:05.088 INFO kablam! warning: variable does not need to be mutable Oct 12 15:55:05.088 INFO kablam! --> src/codecs.rs:94:13 Oct 12 15:55:05.088 INFO kablam! | Oct 12 15:55:05.088 INFO kablam! 94 | let mut read_pool = pool.clone(); Oct 12 15:55:05.088 INFO kablam! | ----^^^^^^^^^ Oct 12 15:55:05.088 INFO kablam! | | Oct 12 15:55:05.088 INFO kablam! | help: remove this `mut` Oct 12 15:55:05.088 INFO kablam! | Oct 12 15:55:05.088 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 15:55:05.088 INFO kablam! Oct 12 15:55:05.120 INFO kablam! warning: struct is never constructed: `PublicKey` Oct 12 15:55:05.120 INFO kablam! --> src/client_server.rs:20:1 Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! 20 | pub struct PublicKey([u8]); Oct 12 15:55:05.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 15:55:05.120 INFO kablam! Oct 12 15:55:05.120 INFO kablam! warning: struct is never constructed: `ConnectInfo` Oct 12 15:55:05.120 INFO kablam! --> src/client_server.rs:22:1 Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! 22 | pub struct ConnectInfo { Oct 12 15:55:05.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.120 INFO kablam! Oct 12 15:55:05.120 INFO kablam! warning: struct is never constructed: `Connection` Oct 12 15:55:05.120 INFO kablam! --> src/client_server.rs:50:1 Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! 50 | pub struct Connection { Oct 12 15:55:05.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.120 INFO kablam! Oct 12 15:55:05.120 INFO kablam! warning: method is never used: `new` Oct 12 15:55:05.120 INFO kablam! --> src/client_server.rs:56:5 Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! 56 | pub fn new(local: &SocketAddr, remote: &SocketAddr) -> Self { Oct 12 15:55:05.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.120 INFO kablam! Oct 12 15:55:05.120 INFO kablam! warning: struct is never constructed: `Node` Oct 12 15:55:05.120 INFO kablam! --> src/client_server.rs:87:1 Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! 87 | pub struct Node { Oct 12 15:55:05.120 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:55:05.120 INFO kablam! Oct 12 15:55:05.120 INFO kablam! warning: method is never used: `new` Oct 12 15:55:05.120 INFO kablam! --> src/client_server.rs:92:5 Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! 92 | pub fn new(connection_pool: ConnectionPool2) -> Self { Oct 12 15:55:05.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.120 INFO kablam! Oct 12 15:55:05.120 INFO kablam! warning: method is never used: `listen` Oct 12 15:55:05.120 INFO kablam! --> src/client_server.rs:96:5 Oct 12 15:55:05.120 INFO kablam! | Oct 12 15:55:05.120 INFO kablam! 96 | pub fn listen(&self, address: &SocketAddr) { Oct 12 15:55:05.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.121 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: method is never used: `connect` Oct 12 15:55:05.132 INFO kablam! --> src/client_server.rs:142:5 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.132 INFO kablam! 142 | pub fn connect(&self, address: &SocketAddr) { Oct 12 15:55:05.132 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.132 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: function is never used: `gen_lines` Oct 12 15:55:05.132 INFO kablam! --> src/client_server.rs:162:1 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.132 INFO kablam! 162 | fn gen_lines(n: usize) -> Vec> { Oct 12 15:55:05.132 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.132 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: type alias is never used: `FramedSink` Oct 12 15:55:05.132 INFO kablam! --> src/codecs.rs:35:1 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.132 INFO kablam! 35 | type FramedSink = SplitSink>; Oct 12 15:55:05.132 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.132 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: method is never used: `ok` Oct 12 15:55:05.132 INFO kablam! --> src/codecs.rs:177:5 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.132 INFO kablam! 177 | pub fn ok() -> impl Future { Oct 12 15:55:05.132 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.132 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: function is never used: `commands_parser` Oct 12 15:55:05.132 INFO kablam! --> src/codecs.rs:214:1 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.132 INFO kablam! 214 | fn commands_parser(line: String, pool: ConnectionPool2) -> String { Oct 12 15:55:05.132 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.132 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: struct is never constructed: `BadCodecs` Oct 12 15:55:05.132 INFO kablam! --> src/codecs.rs:221:1 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.132 INFO kablam! 221 | struct BadCodecs {} Oct 12 15:55:05.132 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:55:05.132 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: method is never used: `new` Oct 12 15:55:05.132 INFO kablam! --> src/codecs.rs:224:5 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.132 INFO kablam! 224 | pub fn new() -> Self { Oct 12 15:55:05.132 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.132 INFO kablam! Oct 12 15:55:05.132 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:55:05.132 INFO kablam! --> src/client_server.rs:139:9 Oct 12 15:55:05.132 INFO kablam! | Oct 12 15:55:05.133 INFO kablam! 139 | handler.join(); Oct 12 15:55:05.133 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:55:05.133 INFO kablam! | Oct 12 15:55:05.133 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 15:55:05.133 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:55:05.133 INFO kablam! Oct 12 15:55:05.133 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:55:05.133 INFO kablam! --> src/main.rs:82:9 Oct 12 15:55:05.133 INFO kablam! | Oct 12 15:55:05.133 INFO kablam! 82 | connect_sender_tx.clone().send(line.clone()).wait(); Oct 12 15:55:05.133 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:55:05.133 INFO kablam! | Oct 12 15:55:05.133 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:55:05.133 INFO kablam! Oct 12 15:55:05.172 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 44.04s Oct 12 15:55:05.188 INFO kablam! su: No module specific data is present Oct 12 15:55:05.821 INFO running `"docker" "rm" "-f" "9a2a0244b89589453a145cd33f8da92afc1e4f5012c7825db4b614c841d15d41"` Oct 12 15:55:06.096 INFO blam! 9a2a0244b89589453a145cd33f8da92afc1e4f5012c7825db4b614c841d15d41