Aug 30 10:49:12.612 INFO checking meterproxy-0.1.1 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 10:49:12.612 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 10:49:12.612 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-0/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 10:49:12.817 INFO blam! d58cbb864cc04cf336c8a7d768445e119ded9691ae881f9bd4a91b276cb6df84 Aug 30 10:49:12.819 INFO running `"docker" "start" "-a" "d58cbb864cc04cf336c8a7d768445e119ded9691ae881f9bd4a91b276cb6df84"` Aug 30 10:49:13.411 INFO kablam! Checking meterproxy v0.1.1 (file:///source) Aug 30 10:49:13.806 INFO kablam! warning: unused import: `Yellow` Aug 30 10:49:13.806 INFO kablam! --> src/MeterProxy/mod.rs:14:30 Aug 30 10:49:13.806 INFO kablam! | Aug 30 10:49:13.806 INFO kablam! 14 | use ansi_term::Colour::{Red, Yellow}; Aug 30 10:49:13.806 INFO kablam! | ^^^^^^ Aug 30 10:49:13.806 INFO kablam! | Aug 30 10:49:13.807 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 10:49:13.807 INFO kablam! Aug 30 10:49:13.807 INFO kablam! warning: unused import: `SocketAddr` Aug 30 10:49:13.807 INFO kablam! --> src/MeterProxy/mod.rs:15:50 Aug 30 10:49:13.807 INFO kablam! | Aug 30 10:49:13.807 INFO kablam! 15 | use std::net::{TcpListener, TcpStream, Shutdown, SocketAddr,IpAddr}; Aug 30 10:49:13.807 INFO kablam! | ^^^^^^^^^^ Aug 30 10:49:13.807 INFO kablam! Aug 30 10:49:13.807 INFO kablam! warning: unused import: `str` Aug 30 10:49:13.807 INFO kablam! --> src/MeterProxy/mod.rs:18:19 Aug 30 10:49:13.807 INFO kablam! | Aug 30 10:49:13.807 INFO kablam! 18 | use std::{thread, str}; Aug 30 10:49:13.807 INFO kablam! | ^^^ Aug 30 10:49:13.807 INFO kablam! Aug 30 10:49:13.807 INFO kablam! warning: unused import: `libc::setrlimit` Aug 30 10:49:13.807 INFO kablam! --> src/MeterProxy/mod.rs:21:5 Aug 30 10:49:13.807 INFO kablam! | Aug 30 10:49:13.807 INFO kablam! 21 | use libc::setrlimit; Aug 30 10:49:13.807 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 10:49:13.807 INFO kablam! Aug 30 10:49:13.807 INFO kablam! warning: unused import: `std::collections::HashMap` Aug 30 10:49:13.807 INFO kablam! --> src/MeterProxy/mod.rs:22:5 Aug 30 10:49:13.807 INFO kablam! | Aug 30 10:49:13.807 INFO kablam! 22 | use std::collections::HashMap; Aug 30 10:49:13.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:13.808 INFO kablam! Aug 30 10:49:13.939 INFO kablam! warning: unreachable statement Aug 30 10:49:13.939 INFO kablam! --> src/MeterProxy/mod.rs:368:10 Aug 30 10:49:13.939 INFO kablam! | Aug 30 10:49:13.939 INFO kablam! 368 | drop(back); Aug 30 10:49:13.939 INFO kablam! | ^^^^^^^^^^^ Aug 30 10:49:13.939 INFO kablam! | Aug 30 10:49:13.939 INFO kablam! = note: #[warn(unreachable_code)] on by default Aug 30 10:49:13.939 INFO kablam! Aug 30 10:49:13.995 INFO kablam! warning: unused variable: `err` Aug 30 10:49:13.995 INFO kablam! --> src/MeterProxy/mod.rs:261:22 Aug 30 10:49:13.995 INFO kablam! | Aug 30 10:49:13.995 INFO kablam! 261 | Err(ref err) => { Aug 30 10:49:13.995 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 10:49:13.995 INFO kablam! | Aug 30 10:49:13.995 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 10:49:13.995 INFO kablam! Aug 30 10:49:13.996 INFO kablam! warning: unused variable: `seq_number` Aug 30 10:49:13.996 INFO kablam! --> src/MeterProxy/mod.rs:315:14 Aug 30 10:49:13.996 INFO kablam! | Aug 30 10:49:13.996 INFO kablam! 315 | let mut seq_number = 0; Aug 30 10:49:13.997 INFO kablam! | ^^^^^^^^^^ help: consider using `_seq_number` instead Aug 30 10:49:13.997 INFO kablam! Aug 30 10:49:13.997 INFO kablam! warning: unused variable: `err` Aug 30 10:49:13.997 INFO kablam! --> src/MeterProxy/mod.rs:320:22 Aug 30 10:49:13.997 INFO kablam! | Aug 30 10:49:13.997 INFO kablam! 320 | Err(ref err) => { Aug 30 10:49:13.997 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 10:49:13.997 INFO kablam! Aug 30 10:49:13.997 INFO kablam! warning: unused variable: `r` Aug 30 10:49:13.997 INFO kablam! --> src/MeterProxy/mod.rs:340:8 Aug 30 10:49:13.997 INFO kablam! | Aug 30 10:49:13.997 INFO kablam! 340 | Ok(r) => { Aug 30 10:49:13.997 INFO kablam! | ^ help: consider using `_r` instead Aug 30 10:49:13.997 INFO kablam! Aug 30 10:49:13.997 INFO kablam! warning: unused variable: `RecvError` Aug 30 10:49:13.997 INFO kablam! --> src/MeterProxy/mod.rs:344:5 Aug 30 10:49:13.997 INFO kablam! | Aug 30 10:49:13.997 INFO kablam! 344 | RecvError => {}, Aug 30 10:49:13.997 INFO kablam! | ^^^^^^^^^ help: consider using `_RecvError` instead Aug 30 10:49:13.997 INFO kablam! Aug 30 10:49:14.004 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.004 INFO kablam! --> src/MeterProxy/mod.rs:75:13 Aug 30 10:49:14.004 INFO kablam! | Aug 30 10:49:14.004 INFO kablam! 75 | let mut time_vec = self.0.lock().unwrap(); Aug 30 10:49:14.004 INFO kablam! | ----^^^^^^^^ Aug 30 10:49:14.004 INFO kablam! | | Aug 30 10:49:14.004 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.004 INFO kablam! | Aug 30 10:49:14.004 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 10:49:14.004 INFO kablam! Aug 30 10:49:14.020 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.020 INFO kablam! --> src/MeterProxy/mod.rs:154:26 Aug 30 10:49:14.020 INFO kablam! | Aug 30 10:49:14.020 INFO kablam! 154 | let mut stream_c = stream.try_clone().unwrap(); Aug 30 10:49:14.020 INFO kablam! | ----^^^^^^^^ Aug 30 10:49:14.020 INFO kablam! | | Aug 30 10:49:14.020 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.020 INFO kablam! Aug 30 10:49:14.038 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.038 INFO kablam! --> src/MeterProxy/mod.rs:203:10 Aug 30 10:49:14.038 INFO kablam! | Aug 30 10:49:14.038 INFO kablam! 203 | let mut back = match TcpStream::connect((targ_addr, target_port)) { Aug 30 10:49:14.038 INFO kablam! | ----^^^^ Aug 30 10:49:14.038 INFO kablam! | | Aug 30 10:49:14.038 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.038 INFO kablam! Aug 30 10:49:14.042 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.042 INFO kablam! --> src/MeterProxy/mod.rs:315:10 Aug 30 10:49:14.042 INFO kablam! | Aug 30 10:49:14.042 INFO kablam! 315 | let mut seq_number = 0; Aug 30 10:49:14.042 INFO kablam! | ----^^^^^^^^^^ Aug 30 10:49:14.042 INFO kablam! | | Aug 30 10:49:14.042 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.042 INFO kablam! Aug 30 10:49:14.050 INFO kablam! warning: module `MeterProxy` should have a snake case name such as `meter_proxy` Aug 30 10:49:14.050 INFO kablam! --> src/lib.rs:18:1 Aug 30 10:49:14.050 INFO kablam! | Aug 30 10:49:14.050 INFO kablam! 18 | pub mod MeterProxy; Aug 30 10:49:14.050 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.050 INFO kablam! | Aug 30 10:49:14.050 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 10:49:14.050 INFO kablam! Aug 30 10:49:14.057 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.057 INFO kablam! --> src/MeterProxy/mod.rs:156:22 Aug 30 10:49:14.057 INFO kablam! | Aug 30 10:49:14.057 INFO kablam! 156 | stream_c2.set_read_timeout(Some(Duration::new(3, 0))); Aug 30 10:49:14.057 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.057 INFO kablam! | Aug 30 10:49:14.057 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 10:49:14.057 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.057 INFO kablam! Aug 30 10:49:14.058 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.058 INFO kablam! --> src/MeterProxy/mod.rs:187:6 Aug 30 10:49:14.058 INFO kablam! | Aug 30 10:49:14.058 INFO kablam! 187 | TcpStream::connect((targ_addr, self.front_port)); Aug 30 10:49:14.058 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.058 INFO kablam! | Aug 30 10:49:14.058 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.058 INFO kablam! Aug 30 10:49:14.058 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.058 INFO kablam! --> src/MeterProxy/mod.rs:214:14 Aug 30 10:49:14.058 INFO kablam! | Aug 30 10:49:14.059 INFO kablam! 214 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.059 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.059 INFO kablam! | Aug 30 10:49:14.059 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.059 INFO kablam! Aug 30 10:49:14.059 INFO kablam! warning: variable `timedOut` should have a snake case name such as `timed_out` Aug 30 10:49:14.059 INFO kablam! --> src/MeterProxy/mod.rs:226:10 Aug 30 10:49:14.059 INFO kablam! | Aug 30 10:49:14.059 INFO kablam! 226 | let timedOut = Arc::new(AtomicBool::new(false)); Aug 30 10:49:14.059 INFO kablam! | ^^^^^^^^ Aug 30 10:49:14.059 INFO kablam! Aug 30 10:49:14.059 INFO kablam! warning: variable `timedOut_c` should have a snake case name such as `timed_out_c` Aug 30 10:49:14.059 INFO kablam! --> src/MeterProxy/mod.rs:227:10 Aug 30 10:49:14.059 INFO kablam! | Aug 30 10:49:14.060 INFO kablam! 227 | let timedOut_c = timedOut.clone(); Aug 30 10:49:14.060 INFO kablam! | ^^^^^^^^^^ Aug 30 10:49:14.060 INFO kablam! Aug 30 10:49:14.060 INFO kablam! warning: variable `timedOut` should have a snake case name such as `timed_out` Aug 30 10:49:14.060 INFO kablam! --> src/MeterProxy/mod.rs:251:31 Aug 30 10:49:14.060 INFO kablam! | Aug 30 10:49:14.060 INFO kablam! 251 | timedOut: Arc, Aug 30 10:49:14.060 INFO kablam! | ^^^^^^^^ Aug 30 10:49:14.060 INFO kablam! Aug 30 10:49:14.060 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.060 INFO kablam! --> src/MeterProxy/mod.rs:254:6 Aug 30 10:49:14.060 INFO kablam! | Aug 30 10:49:14.060 INFO kablam! 254 | front.set_read_timeout(Some(Duration::new(1000, 0))); Aug 30 10:49:14.060 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.060 INFO kablam! | Aug 30 10:49:14.060 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.060 INFO kablam! Aug 30 10:49:14.060 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.060 INFO kablam! --> src/MeterProxy/mod.rs:270:18 Aug 30 10:49:14.060 INFO kablam! | Aug 30 10:49:14.060 INFO kablam! 270 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.060 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.060 INFO kablam! | Aug 30 10:49:14.060 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.060 INFO kablam! Aug 30 10:49:14.062 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.062 INFO kablam! --> src/MeterProxy/mod.rs:271:18 Aug 30 10:49:14.062 INFO kablam! | Aug 30 10:49:14.062 INFO kablam! 271 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.062 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.062 INFO kablam! | Aug 30 10:49:14.062 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.062 INFO kablam! Aug 30 10:49:14.062 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.062 INFO kablam! --> src/MeterProxy/mod.rs:289:18 Aug 30 10:49:14.062 INFO kablam! | Aug 30 10:49:14.062 INFO kablam! 289 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.062 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.062 INFO kablam! | Aug 30 10:49:14.062 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.062 INFO kablam! Aug 30 10:49:14.062 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.062 INFO kablam! --> src/MeterProxy/mod.rs:290:18 Aug 30 10:49:14.063 INFO kablam! | Aug 30 10:49:14.063 INFO kablam! 290 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.063 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.063 INFO kablam! | Aug 30 10:49:14.063 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.063 INFO kablam! Aug 30 10:49:14.063 INFO kablam! warning: variable `timedOut` should have a snake case name such as `timed_out` Aug 30 10:49:14.063 INFO kablam! --> src/MeterProxy/mod.rs:308:31 Aug 30 10:49:14.063 INFO kablam! | Aug 30 10:49:14.063 INFO kablam! 308 | timedOut: Arc, Aug 30 10:49:14.063 INFO kablam! | ^^^^^^^^ Aug 30 10:49:14.063 INFO kablam! Aug 30 10:49:14.063 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.063 INFO kablam! --> src/MeterProxy/mod.rs:311:6 Aug 30 10:49:14.063 INFO kablam! | Aug 30 10:49:14.063 INFO kablam! 311 | back.set_read_timeout(Some(Duration::new(1000, 0))); Aug 30 10:49:14.063 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.063 INFO kablam! | Aug 30 10:49:14.063 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.063 INFO kablam! Aug 30 10:49:14.063 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.063 INFO kablam! --> src/MeterProxy/mod.rs:329:18 Aug 30 10:49:14.063 INFO kablam! | Aug 30 10:49:14.064 INFO kablam! 329 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.064 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.064 INFO kablam! | Aug 30 10:49:14.064 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.064 INFO kablam! Aug 30 10:49:14.064 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.064 INFO kablam! --> src/MeterProxy/mod.rs:330:18 Aug 30 10:49:14.064 INFO kablam! | Aug 30 10:49:14.064 INFO kablam! 330 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.064 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.064 INFO kablam! | Aug 30 10:49:14.064 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.064 INFO kablam! Aug 30 10:49:14.064 INFO kablam! warning: variable `RecvError` should have a snake case name such as `recv_error` Aug 30 10:49:14.064 INFO kablam! --> src/MeterProxy/mod.rs:344:5 Aug 30 10:49:14.064 INFO kablam! | Aug 30 10:49:14.064 INFO kablam! 344 | RecvError => {}, Aug 30 10:49:14.064 INFO kablam! | ^^^^^^^^^ Aug 30 10:49:14.064 INFO kablam! Aug 30 10:49:14.064 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.064 INFO kablam! --> src/MeterProxy/mod.rs:356:22 Aug 30 10:49:14.064 INFO kablam! | Aug 30 10:49:14.064 INFO kablam! 356 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.065 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.065 INFO kablam! | Aug 30 10:49:14.065 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.065 INFO kablam! Aug 30 10:49:14.065 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.065 INFO kablam! --> src/MeterProxy/mod.rs:357:22 Aug 30 10:49:14.065 INFO kablam! | Aug 30 10:49:14.065 INFO kablam! 357 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.065 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.065 INFO kablam! | Aug 30 10:49:14.065 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.065 INFO kablam! Aug 30 10:49:14.099 INFO kablam! warning: unused import: `Yellow` Aug 30 10:49:14.099 INFO kablam! --> src/MeterProxy/mod.rs:14:30 Aug 30 10:49:14.099 INFO kablam! | Aug 30 10:49:14.099 INFO kablam! 14 | use ansi_term::Colour::{Red, Yellow}; Aug 30 10:49:14.099 INFO kablam! | ^^^^^^ Aug 30 10:49:14.099 INFO kablam! | Aug 30 10:49:14.099 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 10:49:14.099 INFO kablam! Aug 30 10:49:14.100 INFO kablam! warning: unused import: `SocketAddr` Aug 30 10:49:14.100 INFO kablam! --> src/MeterProxy/mod.rs:15:50 Aug 30 10:49:14.100 INFO kablam! | Aug 30 10:49:14.100 INFO kablam! 15 | use std::net::{TcpListener, TcpStream, Shutdown, SocketAddr,IpAddr}; Aug 30 10:49:14.100 INFO kablam! | ^^^^^^^^^^ Aug 30 10:49:14.100 INFO kablam! Aug 30 10:49:14.100 INFO kablam! warning: unused import: `str` Aug 30 10:49:14.100 INFO kablam! --> src/MeterProxy/mod.rs:18:19 Aug 30 10:49:14.100 INFO kablam! | Aug 30 10:49:14.100 INFO kablam! 18 | use std::{thread, str}; Aug 30 10:49:14.100 INFO kablam! | ^^^ Aug 30 10:49:14.100 INFO kablam! Aug 30 10:49:14.100 INFO kablam! warning: unused import: `libc::setrlimit` Aug 30 10:49:14.100 INFO kablam! --> src/MeterProxy/mod.rs:21:5 Aug 30 10:49:14.100 INFO kablam! | Aug 30 10:49:14.100 INFO kablam! 21 | use libc::setrlimit; Aug 30 10:49:14.100 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 10:49:14.101 INFO kablam! Aug 30 10:49:14.101 INFO kablam! warning: unused import: `std::collections::HashMap` Aug 30 10:49:14.101 INFO kablam! --> src/MeterProxy/mod.rs:22:5 Aug 30 10:49:14.101 INFO kablam! | Aug 30 10:49:14.101 INFO kablam! 22 | use std::collections::HashMap; Aug 30 10:49:14.101 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.101 INFO kablam! Aug 30 10:49:14.273 INFO kablam! warning: unreachable statement Aug 30 10:49:14.273 INFO kablam! --> src/MeterProxy/mod.rs:368:10 Aug 30 10:49:14.273 INFO kablam! | Aug 30 10:49:14.273 INFO kablam! 368 | drop(back); Aug 30 10:49:14.273 INFO kablam! | ^^^^^^^^^^^ Aug 30 10:49:14.273 INFO kablam! | Aug 30 10:49:14.273 INFO kablam! = note: #[warn(unreachable_code)] on by default Aug 30 10:49:14.273 INFO kablam! Aug 30 10:49:14.310 INFO kablam! warning: unused variable: `err` Aug 30 10:49:14.310 INFO kablam! --> src/MeterProxy/mod.rs:261:22 Aug 30 10:49:14.310 INFO kablam! | Aug 30 10:49:14.310 INFO kablam! 261 | Err(ref err) => { Aug 30 10:49:14.310 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 10:49:14.310 INFO kablam! | Aug 30 10:49:14.310 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 10:49:14.310 INFO kablam! Aug 30 10:49:14.310 INFO kablam! warning: unused variable: `seq_number` Aug 30 10:49:14.310 INFO kablam! --> src/MeterProxy/mod.rs:315:14 Aug 30 10:49:14.310 INFO kablam! | Aug 30 10:49:14.311 INFO kablam! 315 | let mut seq_number = 0; Aug 30 10:49:14.311 INFO kablam! | ^^^^^^^^^^ help: consider using `_seq_number` instead Aug 30 10:49:14.311 INFO kablam! Aug 30 10:49:14.311 INFO kablam! warning: unused variable: `err` Aug 30 10:49:14.311 INFO kablam! --> src/MeterProxy/mod.rs:320:22 Aug 30 10:49:14.311 INFO kablam! | Aug 30 10:49:14.311 INFO kablam! 320 | Err(ref err) => { Aug 30 10:49:14.311 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 10:49:14.311 INFO kablam! Aug 30 10:49:14.311 INFO kablam! warning: unused variable: `r` Aug 30 10:49:14.311 INFO kablam! --> src/MeterProxy/mod.rs:340:8 Aug 30 10:49:14.311 INFO kablam! | Aug 30 10:49:14.311 INFO kablam! 340 | Ok(r) => { Aug 30 10:49:14.311 INFO kablam! | ^ help: consider using `_r` instead Aug 30 10:49:14.311 INFO kablam! Aug 30 10:49:14.311 INFO kablam! warning: unused variable: `RecvError` Aug 30 10:49:14.311 INFO kablam! --> src/MeterProxy/mod.rs:344:5 Aug 30 10:49:14.311 INFO kablam! | Aug 30 10:49:14.311 INFO kablam! 344 | RecvError => {}, Aug 30 10:49:14.311 INFO kablam! | ^^^^^^^^^ help: consider using `_RecvError` instead Aug 30 10:49:14.311 INFO kablam! Aug 30 10:49:14.317 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.317 INFO kablam! --> src/MeterProxy/mod.rs:75:13 Aug 30 10:49:14.317 INFO kablam! | Aug 30 10:49:14.317 INFO kablam! 75 | let mut time_vec = self.0.lock().unwrap(); Aug 30 10:49:14.317 INFO kablam! | ----^^^^^^^^ Aug 30 10:49:14.317 INFO kablam! | | Aug 30 10:49:14.317 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.317 INFO kablam! | Aug 30 10:49:14.317 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 10:49:14.317 INFO kablam! Aug 30 10:49:14.331 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.331 INFO kablam! --> src/MeterProxy/mod.rs:154:26 Aug 30 10:49:14.331 INFO kablam! | Aug 30 10:49:14.331 INFO kablam! 154 | let mut stream_c = stream.try_clone().unwrap(); Aug 30 10:49:14.332 INFO kablam! | ----^^^^^^^^ Aug 30 10:49:14.332 INFO kablam! | | Aug 30 10:49:14.332 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.332 INFO kablam! Aug 30 10:49:14.341 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.341 INFO kablam! --> src/MeterProxy/mod.rs:203:10 Aug 30 10:49:14.341 INFO kablam! | Aug 30 10:49:14.341 INFO kablam! 203 | let mut back = match TcpStream::connect((targ_addr, target_port)) { Aug 30 10:49:14.341 INFO kablam! | ----^^^^ Aug 30 10:49:14.341 INFO kablam! | | Aug 30 10:49:14.341 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.341 INFO kablam! Aug 30 10:49:14.349 INFO kablam! warning: variable does not need to be mutable Aug 30 10:49:14.349 INFO kablam! --> src/MeterProxy/mod.rs:315:10 Aug 30 10:49:14.349 INFO kablam! | Aug 30 10:49:14.349 INFO kablam! 315 | let mut seq_number = 0; Aug 30 10:49:14.349 INFO kablam! | ----^^^^^^^^^^ Aug 30 10:49:14.349 INFO kablam! | | Aug 30 10:49:14.349 INFO kablam! | help: remove this `mut` Aug 30 10:49:14.349 INFO kablam! Aug 30 10:49:14.355 INFO kablam! warning: module `MeterProxy` should have a snake case name such as `meter_proxy` Aug 30 10:49:14.355 INFO kablam! --> src/lib.rs:18:1 Aug 30 10:49:14.355 INFO kablam! | Aug 30 10:49:14.355 INFO kablam! 18 | pub mod MeterProxy; Aug 30 10:49:14.355 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.355 INFO kablam! | Aug 30 10:49:14.355 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 10:49:14.355 INFO kablam! Aug 30 10:49:14.361 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.361 INFO kablam! --> src/MeterProxy/mod.rs:156:22 Aug 30 10:49:14.361 INFO kablam! | Aug 30 10:49:14.361 INFO kablam! 156 | stream_c2.set_read_timeout(Some(Duration::new(3, 0))); Aug 30 10:49:14.361 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.361 INFO kablam! | Aug 30 10:49:14.361 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 10:49:14.361 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.361 INFO kablam! Aug 30 10:49:14.361 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.361 INFO kablam! --> src/MeterProxy/mod.rs:187:6 Aug 30 10:49:14.361 INFO kablam! | Aug 30 10:49:14.361 INFO kablam! 187 | TcpStream::connect((targ_addr, self.front_port)); Aug 30 10:49:14.361 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.361 INFO kablam! | Aug 30 10:49:14.361 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.361 INFO kablam! Aug 30 10:49:14.362 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.362 INFO kablam! --> src/MeterProxy/mod.rs:214:14 Aug 30 10:49:14.362 INFO kablam! | Aug 30 10:49:14.362 INFO kablam! 214 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.362 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.362 INFO kablam! | Aug 30 10:49:14.362 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.362 INFO kablam! Aug 30 10:49:14.362 INFO kablam! warning: variable `timedOut` should have a snake case name such as `timed_out` Aug 30 10:49:14.362 INFO kablam! --> src/MeterProxy/mod.rs:226:10 Aug 30 10:49:14.362 INFO kablam! | Aug 30 10:49:14.362 INFO kablam! 226 | let timedOut = Arc::new(AtomicBool::new(false)); Aug 30 10:49:14.362 INFO kablam! | ^^^^^^^^ Aug 30 10:49:14.362 INFO kablam! Aug 30 10:49:14.362 INFO kablam! warning: variable `timedOut_c` should have a snake case name such as `timed_out_c` Aug 30 10:49:14.362 INFO kablam! --> src/MeterProxy/mod.rs:227:10 Aug 30 10:49:14.362 INFO kablam! | Aug 30 10:49:14.362 INFO kablam! 227 | let timedOut_c = timedOut.clone(); Aug 30 10:49:14.362 INFO kablam! | ^^^^^^^^^^ Aug 30 10:49:14.363 INFO kablam! Aug 30 10:49:14.363 INFO kablam! warning: variable `timedOut` should have a snake case name such as `timed_out` Aug 30 10:49:14.363 INFO kablam! --> src/MeterProxy/mod.rs:251:31 Aug 30 10:49:14.363 INFO kablam! | Aug 30 10:49:14.363 INFO kablam! 251 | timedOut: Arc, Aug 30 10:49:14.363 INFO kablam! | ^^^^^^^^ Aug 30 10:49:14.363 INFO kablam! Aug 30 10:49:14.363 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.363 INFO kablam! --> src/MeterProxy/mod.rs:254:6 Aug 30 10:49:14.363 INFO kablam! | Aug 30 10:49:14.363 INFO kablam! 254 | front.set_read_timeout(Some(Duration::new(1000, 0))); Aug 30 10:49:14.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.363 INFO kablam! | Aug 30 10:49:14.363 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.363 INFO kablam! Aug 30 10:49:14.363 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.363 INFO kablam! --> src/MeterProxy/mod.rs:270:18 Aug 30 10:49:14.363 INFO kablam! | Aug 30 10:49:14.363 INFO kablam! 270 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.363 INFO kablam! | Aug 30 10:49:14.363 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.363 INFO kablam! Aug 30 10:49:14.363 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.363 INFO kablam! --> src/MeterProxy/mod.rs:271:18 Aug 30 10:49:14.363 INFO kablam! | Aug 30 10:49:14.363 INFO kablam! 271 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.364 INFO kablam! | Aug 30 10:49:14.364 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.364 INFO kablam! Aug 30 10:49:14.364 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.364 INFO kablam! --> src/MeterProxy/mod.rs:289:18 Aug 30 10:49:14.364 INFO kablam! | Aug 30 10:49:14.364 INFO kablam! 289 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.364 INFO kablam! | Aug 30 10:49:14.364 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.364 INFO kablam! Aug 30 10:49:14.364 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.364 INFO kablam! --> src/MeterProxy/mod.rs:290:18 Aug 30 10:49:14.364 INFO kablam! | Aug 30 10:49:14.364 INFO kablam! 290 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.364 INFO kablam! | Aug 30 10:49:14.364 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.364 INFO kablam! Aug 30 10:49:14.364 INFO kablam! warning: variable `timedOut` should have a snake case name such as `timed_out` Aug 30 10:49:14.364 INFO kablam! --> src/MeterProxy/mod.rs:308:31 Aug 30 10:49:14.364 INFO kablam! | Aug 30 10:49:14.364 INFO kablam! 308 | timedOut: Arc, Aug 30 10:49:14.364 INFO kablam! | ^^^^^^^^ Aug 30 10:49:14.364 INFO kablam! Aug 30 10:49:14.364 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.364 INFO kablam! --> src/MeterProxy/mod.rs:311:6 Aug 30 10:49:14.364 INFO kablam! | Aug 30 10:49:14.364 INFO kablam! 311 | back.set_read_timeout(Some(Duration::new(1000, 0))); Aug 30 10:49:14.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.365 INFO kablam! | Aug 30 10:49:14.365 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.365 INFO kablam! Aug 30 10:49:14.365 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.365 INFO kablam! --> src/MeterProxy/mod.rs:329:18 Aug 30 10:49:14.365 INFO kablam! | Aug 30 10:49:14.365 INFO kablam! 329 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.365 INFO kablam! | Aug 30 10:49:14.365 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.365 INFO kablam! Aug 30 10:49:14.365 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.365 INFO kablam! --> src/MeterProxy/mod.rs:330:18 Aug 30 10:49:14.365 INFO kablam! | Aug 30 10:49:14.365 INFO kablam! 330 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.365 INFO kablam! | Aug 30 10:49:14.365 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.365 INFO kablam! Aug 30 10:49:14.365 INFO kablam! warning: variable `RecvError` should have a snake case name such as `recv_error` Aug 30 10:49:14.365 INFO kablam! --> src/MeterProxy/mod.rs:344:5 Aug 30 10:49:14.365 INFO kablam! | Aug 30 10:49:14.365 INFO kablam! 344 | RecvError => {}, Aug 30 10:49:14.365 INFO kablam! | ^^^^^^^^^ Aug 30 10:49:14.365 INFO kablam! Aug 30 10:49:14.365 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.366 INFO kablam! --> src/MeterProxy/mod.rs:356:22 Aug 30 10:49:14.366 INFO kablam! | Aug 30 10:49:14.366 INFO kablam! 356 | front.shutdown(Shutdown::Both); Aug 30 10:49:14.366 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.366 INFO kablam! | Aug 30 10:49:14.366 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.366 INFO kablam! Aug 30 10:49:14.366 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:49:14.366 INFO kablam! --> src/MeterProxy/mod.rs:357:22 Aug 30 10:49:14.366 INFO kablam! | Aug 30 10:49:14.366 INFO kablam! 357 | back.shutdown(Shutdown::Both); Aug 30 10:49:14.366 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:49:14.366 INFO kablam! | Aug 30 10:49:14.366 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:49:14.366 INFO kablam! Aug 30 10:49:14.909 INFO kablam! error[E0308]: mismatched types Aug 30 10:49:14.909 INFO kablam! --> tests/syncproxy.rs:3:58 Aug 30 10:49:14.909 INFO kablam! | Aug 30 10:49:14.909 INFO kablam! 3 | fn start(_argc: isize, _argv: *const *const u8) -> isize { Aug 30 10:49:14.909 INFO kablam! | __________________________________________________________^ Aug 30 10:49:14.909 INFO kablam! 4 | | Aug 30 10:49:14.909 INFO kablam! 5 | | } Aug 30 10:49:14.909 INFO kablam! | |_^ expected isize, found () Aug 30 10:49:14.909 INFO kablam! | Aug 30 10:49:14.909 INFO kablam! = note: expected type `isize` Aug 30 10:49:14.909 INFO kablam! found type `()` Aug 30 10:49:14.909 INFO kablam! Aug 30 10:49:14.910 INFO kablam! error: aborting due to previous error Aug 30 10:49:14.910 INFO kablam! Aug 30 10:49:14.910 INFO kablam! For more information about this error, try `rustc --explain E0308`. Aug 30 10:49:14.916 INFO kablam! error: Could not compile `meterproxy`. Aug 30 10:49:14.916 INFO kablam! Aug 30 10:49:14.916 INFO kablam! To learn more, run the command again with --verbose. Aug 30 10:49:14.918 INFO kablam! su: No module specific data is present Aug 30 10:49:15.436 INFO running `"docker" "rm" "-f" "d58cbb864cc04cf336c8a7d768445e119ded9691ae881f9bd4a91b276cb6df84"` Aug 30 10:49:15.528 INFO blam! d58cbb864cc04cf336c8a7d768445e119ded9691ae881f9bd4a91b276cb6df84