Oct 15 05:34:34.200 INFO testing XanthusL/p2pspider against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 15 05:34:34.202 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-3/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-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 15 05:34:34.560 INFO blam! 9c14aed203619c20d1367a1e570cd1c7f43846bb16315c71a76bd53970ddfedd Oct 15 05:34:34.565 INFO running `"docker" "start" "-a" "9c14aed203619c20d1367a1e570cd1c7f43846bb16315c71a76bd53970ddfedd"` Oct 15 05:34:35.903 INFO kablam! usermod: no changes Oct 15 05:34:35.996 INFO kablam! Compiling bencode v0.1.16 Oct 15 05:34:38.430 INFO kablam! Compiling p2pspider v0.1.0 (/source) Oct 15 05:34:39.043 INFO kablam! warning: unused import: `rand::prelude::*` Oct 15 05:34:39.043 INFO kablam! --> src/main.rs:4:5 Oct 15 05:34:39.043 INFO kablam! | Oct 15 05:34:39.043 INFO kablam! 4 | use rand::prelude::*; Oct 15 05:34:39.043 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 05:34:39.043 INFO kablam! | Oct 15 05:34:39.043 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 15 05:34:39.043 INFO kablam! Oct 15 05:34:39.043 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 15 05:34:39.043 INFO kablam! --> src/main.rs:5:30 Oct 15 05:34:39.043 INFO kablam! | Oct 15 05:34:39.043 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 15 05:34:39.043 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 15 05:34:39.043 INFO kablam! Oct 15 05:34:39.055 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 15 05:34:39.055 INFO kablam! --> src/lib/wire.rs:5:30 Oct 15 05:34:39.055 INFO kablam! | Oct 15 05:34:39.055 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 15 05:34:39.055 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 15 05:34:39.055 INFO kablam! Oct 15 05:34:39.055 INFO kablam! warning: unused import: `std::collections::BTreeMap` Oct 15 05:34:39.055 INFO kablam! --> src/lib/wire.rs:10:5 Oct 15 05:34:39.055 INFO kablam! | Oct 15 05:34:39.055 INFO kablam! 10 | use std::collections::BTreeMap; Oct 15 05:34:39.055 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.055 INFO kablam! Oct 15 05:34:39.288 INFO kablam! warning: unused variable: `e` Oct 15 05:34:39.288 INFO kablam! --> src/lib/dht.rs:179:17 Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! 179 | Err(e) => continue, Oct 15 05:34:39.288 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 05:34:39.288 INFO kablam! Oct 15 05:34:39.288 INFO kablam! warning: unused variable: `e` Oct 15 05:34:39.288 INFO kablam! --> src/lib/wire.rs:244:48 Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! 244 | let ben = bencode::from_vec(meta).or_else(|e|{Err(())})?; Oct 15 05:34:39.288 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:39.288 INFO kablam! Oct 15 05:34:39.288 INFO kablam! warning: unused variable: `e` Oct 15 05:34:39.288 INFO kablam! --> src/main.rs:29:57 Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! 29 | let data = peer.fetch().unwrap_or_else(|e| { Oct 15 05:34:39.288 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:39.288 INFO kablam! Oct 15 05:34:39.288 INFO kablam! warning: unused variable: `handles` Oct 15 05:34:39.288 INFO kablam! --> src/main.rs:21:10 Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! 21 | let (handles, rx) = d.start(); Oct 15 05:34:39.288 INFO kablam! | ^^^^^^^ help: consider using `_handles` instead Oct 15 05:34:39.288 INFO kablam! Oct 15 05:34:39.288 INFO kablam! warning: unused variable: `e` Oct 15 05:34:39.288 INFO kablam! --> src/lib/dht.rs:109:77 Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! 109 | q.q = String::from_bencode(field_q).unwrap_or_else(|e|{ Oct 15 05:34:39.288 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:39.288 INFO kablam! Oct 15 05:34:39.288 INFO kablam! warning: unused variable: `e` Oct 15 05:34:39.288 INFO kablam! --> src/lib/dht.rs:273:25 Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! 273 | Err(e) => continue, Oct 15 05:34:39.288 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:39.288 INFO kablam! Oct 15 05:34:39.288 INFO kablam! warning: value assigned to `t_str` is never read Oct 15 05:34:39.288 INFO kablam! --> src/lib/dht.rs:378:17 Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! 378 | let mut t_str = String::new(); Oct 15 05:34:39.288 INFO kablam! | ^^^^^ Oct 15 05:34:39.288 INFO kablam! | Oct 15 05:34:39.288 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 15 05:34:39.288 INFO kablam! Oct 15 05:34:39.289 INFO kablam! warning: unused variable: `inner_m` Oct 15 05:34:39.289 INFO kablam! --> src/lib/wire.rs:221:43 Oct 15 05:34:39.289 INFO kablam! | Oct 15 05:34:39.289 INFO kablam! 221 | if let Some(Bencode::Dict(ref inner_m)) = m.get(&ByteString::from_str("m")) { Oct 15 05:34:39.289 INFO kablam! | ^^^^^^^ help: consider using `_inner_m` instead Oct 15 05:34:39.289 INFO kablam! Oct 15 05:34:39.303 INFO kablam! warning: variable does not need to be mutable Oct 15 05:34:39.303 INFO kablam! --> src/lib/dht.rs:224:9 Oct 15 05:34:39.303 INFO kablam! | Oct 15 05:34:39.303 INFO kablam! 224 | let mut socket = match net::UdpSocket::bind("0.0.0.0:34254") { Oct 15 05:34:39.303 INFO kablam! | ----^^^^^^ Oct 15 05:34:39.303 INFO kablam! | | Oct 15 05:34:39.303 INFO kablam! | help: remove this `mut` Oct 15 05:34:39.303 INFO kablam! | Oct 15 05:34:39.303 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 05:34:39.303 INFO kablam! Oct 15 05:34:39.315 INFO kablam! warning: variable does not need to be mutable Oct 15 05:34:39.315 INFO kablam! --> src/lib/dht.rs:266:13 Oct 15 05:34:39.315 INFO kablam! | Oct 15 05:34:39.315 INFO kablam! 266 | let mut tmp = arc_self.clone(); Oct 15 05:34:39.315 INFO kablam! | ----^^^ Oct 15 05:34:39.315 INFO kablam! | | Oct 15 05:34:39.315 INFO kablam! | help: remove this `mut` Oct 15 05:34:39.315 INFO kablam! Oct 15 05:34:39.327 INFO kablam! warning: variable does not need to be mutable Oct 15 05:34:39.327 INFO kablam! --> src/lib/wire.rs:53:9 Oct 15 05:34:39.327 INFO kablam! | Oct 15 05:34:39.327 INFO kablam! 53 | let mut stream = net::TcpStream::connect(from.as_str())?; Oct 15 05:34:39.327 INFO kablam! | ----^^^^^^ Oct 15 05:34:39.327 INFO kablam! | | Oct 15 05:34:39.327 INFO kablam! | help: remove this `mut` Oct 15 05:34:39.327 INFO kablam! Oct 15 05:34:39.349 INFO kablam! warning: constant item is never used: `BOOTSTRAP_NODES` Oct 15 05:34:39.349 INFO kablam! --> src/lib/dht.rs:20:1 Oct 15 05:34:39.349 INFO kablam! | Oct 15 05:34:39.349 INFO kablam! 20 | / const BOOTSTRAP_NODES: [&str; 3] = [ Oct 15 05:34:39.349 INFO kablam! 21 | | "router.bittorrent.com:6881", Oct 15 05:34:39.349 INFO kablam! 22 | | "dht.transmissionbt.com:6881", Oct 15 05:34:39.349 INFO kablam! 23 | | "router.utorrent.com:6881"]; Oct 15 05:34:39.349 INFO kablam! | |________________________________^ Oct 15 05:34:39.349 INFO kablam! | Oct 15 05:34:39.349 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 05:34:39.349 INFO kablam! Oct 15 05:34:39.349 INFO kablam! warning: function is never used: `rand_bytes` Oct 15 05:34:39.349 INFO kablam! --> src/lib/dht.rs:41:1 Oct 15 05:34:39.349 INFO kablam! | Oct 15 05:34:39.349 INFO kablam! 41 | pub fn rand_bytes(n: i32) -> Vec { Oct 15 05:34:39.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.349 INFO kablam! Oct 15 05:34:39.349 INFO kablam! warning: type alias is never used: `NodeID` Oct 15 05:34:39.349 INFO kablam! --> src/lib/dht.rs:50:1 Oct 15 05:34:39.349 INFO kablam! | Oct 15 05:34:39.349 INFO kablam! 50 | type NodeID = Vec; Oct 15 05:34:39.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.349 INFO kablam! Oct 15 05:34:39.349 INFO kablam! warning: function is never used: `neighbour_id` Oct 15 05:34:39.349 INFO kablam! --> src/lib/dht.rs:53:1 Oct 15 05:34:39.349 INFO kablam! | Oct 15 05:34:39.349 INFO kablam! 53 | pub fn neighbour_id(target: NodeID, local: &NodeID) -> NodeID { Oct 15 05:34:39.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.349 INFO kablam! Oct 15 05:34:39.349 INFO kablam! warning: function is never used: `make_query` Oct 15 05:34:39.349 INFO kablam! --> src/lib/dht.rs:123:1 Oct 15 05:34:39.349 INFO kablam! | Oct 15 05:34:39.349 INFO kablam! 123 | pub fn make_query<'a>(tid: String, q: String, a: &BTreeMap) -> Query { Oct 15 05:34:39.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.349 INFO kablam! Oct 15 05:34:39.349 INFO kablam! warning: struct is never constructed: `Reply` Oct 15 05:34:39.349 INFO kablam! --> src/lib/dht.rs:132:1 Oct 15 05:34:39.349 INFO kablam! | Oct 15 05:34:39.349 INFO kablam! 132 | pub struct Reply { Oct 15 05:34:39.349 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 05:34:39.349 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: function is never used: `make_reply` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:148:1 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 148 | pub fn make_reply(tid: String, r: &BTreeMap) -> Reply { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: function is never used: `decode_nodes` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:156:1 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 156 | pub fn decode_nodes(s: String) -> Vec { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: struct is never constructed: `RustDHT` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:189:1 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 189 | pub struct RustDHT { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: method is never used: `max_friends_per_sec` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:199:5 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 199 | pub fn max_friends_per_sec(mut self, mut n: i32) -> RustDHT { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: method is never used: `local_id` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:209:5 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 209 | pub fn local_id(mut self, id: Vec) -> RustDHT { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: method is never used: `secret` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:213:5 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 213 | pub fn secret(mut self, s: String) -> RustDHT { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: method is never used: `bootstraps` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:217:5 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 217 | pub fn bootstraps(mut self, addr: Vec) -> RustDHT { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: function is never used: `new_dht` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:223:1 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 223 | pub fn new_dht() -> RustDHT { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: method is never used: `start` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:243:5 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 243 | pub fn start(self) -> (Vec>, mpsc::Receiver) { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.350 INFO kablam! Oct 15 05:34:39.350 INFO kablam! warning: method is never used: `on_message` Oct 15 05:34:39.350 INFO kablam! --> src/lib/dht.rs:307:5 Oct 15 05:34:39.350 INFO kablam! | Oct 15 05:34:39.350 INFO kablam! 307 | fn on_message(&mut self, dat: Vec, addr: net::SocketAddr, tx_node: &mpsc::Sender, tx_announce: &mpsc::Sender) { Oct 15 05:34:39.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.351 INFO kablam! Oct 15 05:34:39.351 INFO kablam! warning: method is never used: `gen_token` Oct 15 05:34:39.351 INFO kablam! --> src/lib/dht.rs:357:5 Oct 15 05:34:39.351 INFO kablam! | Oct 15 05:34:39.351 INFO kablam! 357 | fn gen_token(&self, from: net::SocketAddr) -> String { Oct 15 05:34:39.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.351 INFO kablam! Oct 15 05:34:39.351 INFO kablam! warning: method is never used: `find_node` Oct 15 05:34:39.351 INFO kablam! --> src/lib/dht.rs:364:5 Oct 15 05:34:39.351 INFO kablam! | Oct 15 05:34:39.351 INFO kablam! 364 | fn find_node(&self, to: String, target: NodeID) { Oct 15 05:34:39.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.351 INFO kablam! Oct 15 05:34:39.351 INFO kablam! warning: method is never used: `on_get_peers_query` Oct 15 05:34:39.351 INFO kablam! --> src/lib/dht.rs:377:5 Oct 15 05:34:39.351 INFO kablam! | Oct 15 05:34:39.351 INFO kablam! 377 | fn on_get_peers_query(&self, ben: &bencode::Bencode, from: net::SocketAddr) { Oct 15 05:34:39.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.351 INFO kablam! Oct 15 05:34:39.355 INFO kablam! warning: method is never used: `is_token_available` Oct 15 05:34:39.355 INFO kablam! --> src/lib/dht.rs:410:5 Oct 15 05:34:39.355 INFO kablam! | Oct 15 05:34:39.355 INFO kablam! 410 | fn is_token_available(&self, token: String, from: net::SocketAddr) -> bool { Oct 15 05:34:39.355 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.355 INFO kablam! Oct 15 05:34:39.355 INFO kablam! warning: method is never used: `on_announce_peer_query` Oct 15 05:34:39.355 INFO kablam! --> src/lib/dht.rs:414:5 Oct 15 05:34:39.355 INFO kablam! | Oct 15 05:34:39.355 INFO kablam! 414 | fn on_announce_peer_query(&self, ben: &bencode::DictMap, from: net::SocketAddr, tx: &mpsc::Sender) { Oct 15 05:34:39.355 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.355 INFO kablam! Oct 15 05:34:39.355 INFO kablam! warning: function is never used: `vec2str` Oct 15 05:34:39.355 INFO kablam! --> src/lib/dht.rs:445:1 Oct 15 05:34:39.355 INFO kablam! | Oct 15 05:34:39.355 INFO kablam! 445 | fn vec2str(dat: Vec) -> String { Oct 15 05:34:39.355 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.355 INFO kablam! Oct 15 05:34:39.355 INFO kablam! warning: function is never used: `get_now_millis` Oct 15 05:34:39.355 INFO kablam! --> src/lib/dht.rs:450:1 Oct 15 05:34:39.355 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 450 | fn get_now_millis() -> u64 { Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: static item is never used: `CHARS` Oct 15 05:34:39.356 INFO kablam! --> src/lib/dht.rs:455:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 455 | static CHARS: &'static [u8] = b"0123456789abcdef"; Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: function is never used: `hex` Oct 15 05:34:39.356 INFO kablam! --> src/lib/dht.rs:457:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 457 | pub fn hex(dat: Vec) -> String { Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: constant item is never used: `PER_BLOCK` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:17:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 17 | const PER_BLOCK: i32 = 16384; Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: constant item is never used: `MAX_META_DATA_SIZE` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:18:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 18 | const MAX_META_DATA_SIZE: i32 = PER_BLOCK * 1024; Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: constant item is never used: `EXTENDED` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:19:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 19 | const EXTENDED: u8 = 20; Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: constant item is never used: `EXT_HANDSHAKE` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:20:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 20 | const EXT_HANDSHAKE: u8 = 0; Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: constant item is never used: `ERR_EXT_HEADER` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:22:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 22 | const ERR_EXT_HEADER: &str = "invalid extention header response"; Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: constant item is never used: `ERR_INVALID_PIECE` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:23:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 23 | const ERR_INVALID_PIECE: &str = "invalid piece response"; Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: function is never used: `random_peer_id` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:26:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 26 | fn random_peer_id() -> String { Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: struct is never constructed: `Wire` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:34:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 34 | pub struct Wire { Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: struct is never constructed: `Meta` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:47:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 47 | struct Meta { Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: function is never used: `new` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:52:1 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 52 | pub fn new(info: String, from: String) -> Result { Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: method is never used: `fetch` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:69:5 Oct 15 05:34:39.356 INFO kablam! | Oct 15 05:34:39.356 INFO kablam! 69 | pub fn fetch(&mut self) -> Result, String> { Oct 15 05:34:39.356 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.356 INFO kablam! Oct 15 05:34:39.356 INFO kablam! warning: method is never used: `close` Oct 15 05:34:39.356 INFO kablam! --> src/lib/wire.rs:99:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 99 | pub fn close(&self) { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `pre_header` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:103:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 103 | fn pre_header(&self) -> Vec { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `is_done` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:110:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 110 | fn is_done(&self) -> bool { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `on_handshake` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:118:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 118 | fn on_handshake(&mut self) -> Result<(), String> { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `ext_handshake` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:134:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 134 | fn ext_handshake(&mut self) -> Result<(), String> { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `next` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:146:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 146 | fn next(&mut self) -> Result, String> { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `on_extended` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:154:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 154 | fn on_extended(&mut self, ext: u8, payload: Vec) -> Result<(), String> { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `on_piece` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:163:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 163 | fn on_piece(&self, payload: Vec) -> Result<(Vec, i32), String> { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `request_pieces` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:198:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 198 | fn request_pieces(&mut self, i: i32) { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: method is never used: `on_ext_handshake` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:208:5 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 208 | fn on_ext_handshake(&mut self, payload: Vec) -> Result<(), String> { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: function is never used: `parse_data` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:243:1 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 243 | pub fn parse_data(meta: Vec, hash: String) -> Result { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: struct is never constructed: `Torrent` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:298:1 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 298 | pub struct Torrent { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: struct is never constructed: `File` Oct 15 05:34:39.357 INFO kablam! --> src/lib/wire.rs:305:1 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 305 | struct File { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: function is never used: `run` Oct 15 05:34:39.357 INFO kablam! --> src/main.rs:15:1 Oct 15 05:34:39.357 INFO kablam! | Oct 15 05:34:39.357 INFO kablam! 15 | fn run() { Oct 15 05:34:39.357 INFO kablam! | ^^^^^^^^ Oct 15 05:34:39.357 INFO kablam! Oct 15 05:34:39.357 INFO kablam! warning: function is never used: `save` Oct 15 05:34:39.357 INFO kablam! --> src/main.rs:51:1 Oct 15 05:34:39.358 INFO kablam! | Oct 15 05:34:39.358 INFO kablam! 51 | fn save(name: String, dat: Vec) -> Result<(), std::io::Error> { Oct 15 05:34:39.358 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.358 INFO kablam! Oct 15 05:34:39.360 INFO kablam! warning: unused `std::result::Result` which must be used Oct 15 05:34:39.360 INFO kablam! --> src/lib/dht.rs:92:21 Oct 15 05:34:39.360 INFO kablam! | Oct 15 05:34:39.360 INFO kablam! 92 | BTreeMap::from_bencode(a).map(|a| { q.a = a; }); Oct 15 05:34:39.360 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:39.360 INFO kablam! | Oct 15 05:34:39.360 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 15 05:34:39.360 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 15 05:34:39.360 INFO kablam! Oct 15 05:34:39.783 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.86s Oct 15 05:34:39.783 INFO kablam! su: No module specific data is present Oct 15 05:34:40.312 INFO running `"docker" "rm" "-f" "9c14aed203619c20d1367a1e570cd1c7f43846bb16315c71a76bd53970ddfedd"` Oct 15 05:34:40.707 INFO blam! 9c14aed203619c20d1367a1e570cd1c7f43846bb16315c71a76bd53970ddfedd Oct 15 05:34:40.711 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-3/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-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 15 05:34:41.099 INFO blam! c9a96f4d6d63111e1e362638076c434a06f78330ce6642d35be8710f77749afa Oct 15 05:34:41.106 INFO running `"docker" "start" "-a" "c9a96f4d6d63111e1e362638076c434a06f78330ce6642d35be8710f77749afa"` Oct 15 05:34:42.331 INFO kablam! usermod: no changes Oct 15 05:34:42.419 INFO kablam! Compiling p2pspider v0.1.0 (/source) Oct 15 05:34:43.088 INFO kablam! warning: unused import: `rand::prelude::*` Oct 15 05:34:43.088 INFO kablam! --> src/main.rs:4:5 Oct 15 05:34:43.088 INFO kablam! | Oct 15 05:34:43.088 INFO kablam! 4 | use rand::prelude::*; Oct 15 05:34:43.088 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 05:34:43.088 INFO kablam! | Oct 15 05:34:43.088 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 15 05:34:43.088 INFO kablam! Oct 15 05:34:43.088 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 15 05:34:43.088 INFO kablam! --> src/main.rs:5:30 Oct 15 05:34:43.088 INFO kablam! | Oct 15 05:34:43.088 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 15 05:34:43.088 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 15 05:34:43.088 INFO kablam! Oct 15 05:34:43.088 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 15 05:34:43.088 INFO kablam! --> src/lib/wire.rs:5:30 Oct 15 05:34:43.088 INFO kablam! | Oct 15 05:34:43.088 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 15 05:34:43.088 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 15 05:34:43.088 INFO kablam! Oct 15 05:34:43.088 INFO kablam! warning: unused import: `std::collections::BTreeMap` Oct 15 05:34:43.088 INFO kablam! --> src/lib/wire.rs:10:5 Oct 15 05:34:43.088 INFO kablam! | Oct 15 05:34:43.088 INFO kablam! 10 | use std::collections::BTreeMap; Oct 15 05:34:43.088 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.088 INFO kablam! Oct 15 05:34:43.318 INFO kablam! warning: unused variable: `e` Oct 15 05:34:43.318 INFO kablam! --> src/lib/dht.rs:179:17 Oct 15 05:34:43.318 INFO kablam! | Oct 15 05:34:43.318 INFO kablam! 179 | Err(e) => continue, Oct 15 05:34:43.318 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:43.318 INFO kablam! | Oct 15 05:34:43.318 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 05:34:43.318 INFO kablam! Oct 15 05:34:43.318 INFO kablam! warning: unused variable: `e` Oct 15 05:34:43.318 INFO kablam! --> src/lib/wire.rs:244:48 Oct 15 05:34:43.318 INFO kablam! | Oct 15 05:34:43.318 INFO kablam! 244 | let ben = bencode::from_vec(meta).or_else(|e|{Err(())})?; Oct 15 05:34:43.318 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:43.318 INFO kablam! Oct 15 05:34:43.323 INFO kablam! warning: unused variable: `e` Oct 15 05:34:43.323 INFO kablam! --> src/main.rs:29:57 Oct 15 05:34:43.323 INFO kablam! | Oct 15 05:34:43.323 INFO kablam! 29 | let data = peer.fetch().unwrap_or_else(|e| { Oct 15 05:34:43.323 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:43.323 INFO kablam! Oct 15 05:34:43.323 INFO kablam! warning: unused variable: `handles` Oct 15 05:34:43.323 INFO kablam! --> src/main.rs:21:10 Oct 15 05:34:43.323 INFO kablam! | Oct 15 05:34:43.324 INFO kablam! 21 | let (handles, rx) = d.start(); Oct 15 05:34:43.324 INFO kablam! | ^^^^^^^ help: consider using `_handles` instead Oct 15 05:34:43.324 INFO kablam! Oct 15 05:34:43.324 INFO kablam! warning: unused variable: `e` Oct 15 05:34:43.324 INFO kablam! --> src/lib/dht.rs:109:77 Oct 15 05:34:43.324 INFO kablam! | Oct 15 05:34:43.324 INFO kablam! 109 | q.q = String::from_bencode(field_q).unwrap_or_else(|e|{ Oct 15 05:34:43.324 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:43.324 INFO kablam! Oct 15 05:34:43.324 INFO kablam! warning: unused variable: `e` Oct 15 05:34:43.324 INFO kablam! --> src/lib/dht.rs:273:25 Oct 15 05:34:43.324 INFO kablam! | Oct 15 05:34:43.324 INFO kablam! 273 | Err(e) => continue, Oct 15 05:34:43.324 INFO kablam! | ^ help: consider using `_e` instead Oct 15 05:34:43.324 INFO kablam! Oct 15 05:34:43.324 INFO kablam! warning: value assigned to `t_str` is never read Oct 15 05:34:43.324 INFO kablam! --> src/lib/dht.rs:378:17 Oct 15 05:34:43.324 INFO kablam! | Oct 15 05:34:43.324 INFO kablam! 378 | let mut t_str = String::new(); Oct 15 05:34:43.324 INFO kablam! | ^^^^^ Oct 15 05:34:43.324 INFO kablam! | Oct 15 05:34:43.324 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 15 05:34:43.324 INFO kablam! Oct 15 05:34:43.324 INFO kablam! warning: unused variable: `inner_m` Oct 15 05:34:43.324 INFO kablam! --> src/lib/wire.rs:221:43 Oct 15 05:34:43.324 INFO kablam! | Oct 15 05:34:43.324 INFO kablam! 221 | if let Some(Bencode::Dict(ref inner_m)) = m.get(&ByteString::from_str("m")) { Oct 15 05:34:43.324 INFO kablam! | ^^^^^^^ help: consider using `_inner_m` instead Oct 15 05:34:43.324 INFO kablam! Oct 15 05:34:43.352 INFO kablam! warning: variable does not need to be mutable Oct 15 05:34:43.352 INFO kablam! --> src/lib/dht.rs:224:9 Oct 15 05:34:43.352 INFO kablam! | Oct 15 05:34:43.352 INFO kablam! 224 | let mut socket = match net::UdpSocket::bind("0.0.0.0:34254") { Oct 15 05:34:43.352 INFO kablam! | ----^^^^^^ Oct 15 05:34:43.352 INFO kablam! | | Oct 15 05:34:43.352 INFO kablam! | help: remove this `mut` Oct 15 05:34:43.352 INFO kablam! | Oct 15 05:34:43.352 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 05:34:43.352 INFO kablam! Oct 15 05:34:43.363 INFO kablam! warning: variable does not need to be mutable Oct 15 05:34:43.363 INFO kablam! --> src/lib/dht.rs:266:13 Oct 15 05:34:43.363 INFO kablam! | Oct 15 05:34:43.363 INFO kablam! 266 | let mut tmp = arc_self.clone(); Oct 15 05:34:43.363 INFO kablam! | ----^^^ Oct 15 05:34:43.363 INFO kablam! | | Oct 15 05:34:43.363 INFO kablam! | help: remove this `mut` Oct 15 05:34:43.363 INFO kablam! Oct 15 05:34:43.391 INFO kablam! warning: variable does not need to be mutable Oct 15 05:34:43.391 INFO kablam! --> src/lib/wire.rs:53:9 Oct 15 05:34:43.391 INFO kablam! | Oct 15 05:34:43.391 INFO kablam! 53 | let mut stream = net::TcpStream::connect(from.as_str())?; Oct 15 05:34:43.391 INFO kablam! | ----^^^^^^ Oct 15 05:34:43.391 INFO kablam! | | Oct 15 05:34:43.391 INFO kablam! | help: remove this `mut` Oct 15 05:34:43.391 INFO kablam! Oct 15 05:34:43.415 INFO kablam! warning: constant item is never used: `BOOTSTRAP_NODES` Oct 15 05:34:43.415 INFO kablam! --> src/lib/dht.rs:20:1 Oct 15 05:34:43.415 INFO kablam! | Oct 15 05:34:43.415 INFO kablam! 20 | / const BOOTSTRAP_NODES: [&str; 3] = [ Oct 15 05:34:43.415 INFO kablam! 21 | | "router.bittorrent.com:6881", Oct 15 05:34:43.415 INFO kablam! 22 | | "dht.transmissionbt.com:6881", Oct 15 05:34:43.415 INFO kablam! 23 | | "router.utorrent.com:6881"]; Oct 15 05:34:43.415 INFO kablam! | |________________________________^ Oct 15 05:34:43.415 INFO kablam! | Oct 15 05:34:43.415 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 05:34:43.415 INFO kablam! Oct 15 05:34:43.415 INFO kablam! warning: function is never used: `rand_bytes` Oct 15 05:34:43.415 INFO kablam! --> src/lib/dht.rs:41:1 Oct 15 05:34:43.415 INFO kablam! | Oct 15 05:34:43.415 INFO kablam! 41 | pub fn rand_bytes(n: i32) -> Vec { Oct 15 05:34:43.415 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.415 INFO kablam! Oct 15 05:34:43.415 INFO kablam! warning: type alias is never used: `NodeID` Oct 15 05:34:43.415 INFO kablam! --> src/lib/dht.rs:50:1 Oct 15 05:34:43.415 INFO kablam! | Oct 15 05:34:43.415 INFO kablam! 50 | type NodeID = Vec; Oct 15 05:34:43.415 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.415 INFO kablam! Oct 15 05:34:43.415 INFO kablam! warning: function is never used: `neighbour_id` Oct 15 05:34:43.415 INFO kablam! --> src/lib/dht.rs:53:1 Oct 15 05:34:43.415 INFO kablam! | Oct 15 05:34:43.415 INFO kablam! 53 | pub fn neighbour_id(target: NodeID, local: &NodeID) -> NodeID { Oct 15 05:34:43.415 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.415 INFO kablam! Oct 15 05:34:43.415 INFO kablam! warning: function is never used: `make_query` Oct 15 05:34:43.415 INFO kablam! --> src/lib/dht.rs:123:1 Oct 15 05:34:43.415 INFO kablam! | Oct 15 05:34:43.415 INFO kablam! 123 | pub fn make_query<'a>(tid: String, q: String, a: &BTreeMap) -> Query { Oct 15 05:34:43.415 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.415 INFO kablam! Oct 15 05:34:43.415 INFO kablam! warning: struct is never constructed: `Reply` Oct 15 05:34:43.415 INFO kablam! --> src/lib/dht.rs:132:1 Oct 15 05:34:43.415 INFO kablam! | Oct 15 05:34:43.415 INFO kablam! 132 | pub struct Reply { Oct 15 05:34:43.415 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 05:34:43.415 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: function is never used: `make_reply` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:148:1 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 148 | pub fn make_reply(tid: String, r: &BTreeMap) -> Reply { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: function is never used: `decode_nodes` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:156:1 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 156 | pub fn decode_nodes(s: String) -> Vec { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: struct is never constructed: `RustDHT` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:189:1 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 189 | pub struct RustDHT { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `max_friends_per_sec` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:199:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 199 | pub fn max_friends_per_sec(mut self, mut n: i32) -> RustDHT { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `local_id` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:209:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 209 | pub fn local_id(mut self, id: Vec) -> RustDHT { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `secret` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:213:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 213 | pub fn secret(mut self, s: String) -> RustDHT { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `bootstraps` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:217:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 217 | pub fn bootstraps(mut self, addr: Vec) -> RustDHT { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: function is never used: `new_dht` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:223:1 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 223 | pub fn new_dht() -> RustDHT { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `start` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:243:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 243 | pub fn start(self) -> (Vec>, mpsc::Receiver) { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `on_message` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:307:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 307 | fn on_message(&mut self, dat: Vec, addr: net::SocketAddr, tx_node: &mpsc::Sender, tx_announce: &mpsc::Sender) { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `gen_token` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:357:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 357 | fn gen_token(&self, from: net::SocketAddr) -> String { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `find_node` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:364:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 364 | fn find_node(&self, to: String, target: NodeID) { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.428 INFO kablam! Oct 15 05:34:43.428 INFO kablam! warning: method is never used: `on_get_peers_query` Oct 15 05:34:43.428 INFO kablam! --> src/lib/dht.rs:377:5 Oct 15 05:34:43.428 INFO kablam! | Oct 15 05:34:43.428 INFO kablam! 377 | fn on_get_peers_query(&self, ben: &bencode::Bencode, from: net::SocketAddr) { Oct 15 05:34:43.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: method is never used: `is_token_available` Oct 15 05:34:43.429 INFO kablam! --> src/lib/dht.rs:410:5 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 410 | fn is_token_available(&self, token: String, from: net::SocketAddr) -> bool { Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: method is never used: `on_announce_peer_query` Oct 15 05:34:43.429 INFO kablam! --> src/lib/dht.rs:414:5 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 414 | fn on_announce_peer_query(&self, ben: &bencode::DictMap, from: net::SocketAddr, tx: &mpsc::Sender) { Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: function is never used: `vec2str` Oct 15 05:34:43.429 INFO kablam! --> src/lib/dht.rs:445:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 445 | fn vec2str(dat: Vec) -> String { Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: function is never used: `get_now_millis` Oct 15 05:34:43.429 INFO kablam! --> src/lib/dht.rs:450:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 450 | fn get_now_millis() -> u64 { Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: static item is never used: `CHARS` Oct 15 05:34:43.429 INFO kablam! --> src/lib/dht.rs:455:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 455 | static CHARS: &'static [u8] = b"0123456789abcdef"; Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: function is never used: `hex` Oct 15 05:34:43.429 INFO kablam! --> src/lib/dht.rs:457:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 457 | pub fn hex(dat: Vec) -> String { Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: constant item is never used: `PER_BLOCK` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:17:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 17 | const PER_BLOCK: i32 = 16384; Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: constant item is never used: `MAX_META_DATA_SIZE` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:18:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 18 | const MAX_META_DATA_SIZE: i32 = PER_BLOCK * 1024; Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: constant item is never used: `EXTENDED` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:19:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 19 | const EXTENDED: u8 = 20; Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: constant item is never used: `EXT_HANDSHAKE` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:20:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 20 | const EXT_HANDSHAKE: u8 = 0; Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: constant item is never used: `ERR_EXT_HEADER` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:22:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 22 | const ERR_EXT_HEADER: &str = "invalid extention header response"; Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: constant item is never used: `ERR_INVALID_PIECE` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:23:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 23 | const ERR_INVALID_PIECE: &str = "invalid piece response"; Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: function is never used: `random_peer_id` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:26:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 26 | fn random_peer_id() -> String { Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.429 INFO kablam! Oct 15 05:34:43.429 INFO kablam! warning: struct is never constructed: `Wire` Oct 15 05:34:43.429 INFO kablam! --> src/lib/wire.rs:34:1 Oct 15 05:34:43.429 INFO kablam! | Oct 15 05:34:43.429 INFO kablam! 34 | pub struct Wire { Oct 15 05:34:43.429 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: struct is never constructed: `Meta` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:47:1 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 47 | struct Meta { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: function is never used: `new` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:52:1 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 52 | pub fn new(info: String, from: String) -> Result { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `fetch` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:69:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 69 | pub fn fetch(&mut self) -> Result, String> { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `close` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:99:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 99 | pub fn close(&self) { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `pre_header` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:103:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 103 | fn pre_header(&self) -> Vec { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `is_done` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:110:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 110 | fn is_done(&self) -> bool { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `on_handshake` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:118:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 118 | fn on_handshake(&mut self) -> Result<(), String> { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `ext_handshake` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:134:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 134 | fn ext_handshake(&mut self) -> Result<(), String> { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `next` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:146:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 146 | fn next(&mut self) -> Result, String> { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `on_extended` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:154:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 154 | fn on_extended(&mut self, ext: u8, payload: Vec) -> Result<(), String> { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `on_piece` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:163:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 163 | fn on_piece(&self, payload: Vec) -> Result<(Vec, i32), String> { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `request_pieces` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:198:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 198 | fn request_pieces(&mut self, i: i32) { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: method is never used: `on_ext_handshake` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:208:5 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 208 | fn on_ext_handshake(&mut self, payload: Vec) -> Result<(), String> { Oct 15 05:34:43.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.430 INFO kablam! Oct 15 05:34:43.430 INFO kablam! warning: function is never used: `parse_data` Oct 15 05:34:43.430 INFO kablam! --> src/lib/wire.rs:243:1 Oct 15 05:34:43.430 INFO kablam! | Oct 15 05:34:43.430 INFO kablam! 243 | pub fn parse_data(meta: Vec, hash: String) -> Result { Oct 15 05:34:43.431 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.431 INFO kablam! Oct 15 05:34:43.431 INFO kablam! warning: struct is never constructed: `Torrent` Oct 15 05:34:43.431 INFO kablam! --> src/lib/wire.rs:298:1 Oct 15 05:34:43.431 INFO kablam! | Oct 15 05:34:43.431 INFO kablam! 298 | pub struct Torrent { Oct 15 05:34:43.431 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.431 INFO kablam! Oct 15 05:34:43.431 INFO kablam! warning: struct is never constructed: `File` Oct 15 05:34:43.431 INFO kablam! --> src/lib/wire.rs:305:1 Oct 15 05:34:43.431 INFO kablam! | Oct 15 05:34:43.431 INFO kablam! 305 | struct File { Oct 15 05:34:43.431 INFO kablam! | ^^^^^^^^^^^ Oct 15 05:34:43.431 INFO kablam! Oct 15 05:34:43.431 INFO kablam! warning: function is never used: `run` Oct 15 05:34:43.431 INFO kablam! --> src/main.rs:15:1 Oct 15 05:34:43.431 INFO kablam! | Oct 15 05:34:43.431 INFO kablam! 15 | fn run() { Oct 15 05:34:43.431 INFO kablam! | ^^^^^^^^ Oct 15 05:34:43.431 INFO kablam! Oct 15 05:34:43.431 INFO kablam! warning: function is never used: `save` Oct 15 05:34:43.431 INFO kablam! --> src/main.rs:51:1 Oct 15 05:34:43.431 INFO kablam! | Oct 15 05:34:43.431 INFO kablam! 51 | fn save(name: String, dat: Vec) -> Result<(), std::io::Error> { Oct 15 05:34:43.431 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.431 INFO kablam! Oct 15 05:34:43.431 INFO kablam! warning: unused `std::result::Result` which must be used Oct 15 05:34:43.431 INFO kablam! --> src/lib/dht.rs:92:21 Oct 15 05:34:43.431 INFO kablam! | Oct 15 05:34:43.431 INFO kablam! 92 | BTreeMap::from_bencode(a).map(|a| { q.a = a; }); Oct 15 05:34:43.431 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 05:34:43.431 INFO kablam! | Oct 15 05:34:43.431 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 15 05:34:43.431 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 15 05:34:43.431 INFO kablam! Oct 15 05:34:44.017 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.65s Oct 15 05:34:44.020 INFO kablam! su: No module specific data is present Oct 15 05:34:45.095 INFO running `"docker" "rm" "-f" "c9a96f4d6d63111e1e362638076c434a06f78330ce6642d35be8710f77749afa"` Oct 15 05:34:45.274 INFO blam! c9a96f4d6d63111e1e362638076c434a06f78330ce6642d35be8710f77749afa Oct 15 05:34:45.285 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-3/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-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 15 05:34:45.783 INFO blam! 7a2dcd1073350738b0ea031f27916a83e373a41663d8e0b0abb5ac5fe5992385 Oct 15 05:34:45.783 INFO running `"docker" "start" "-a" "7a2dcd1073350738b0ea031f27916a83e373a41663d8e0b0abb5ac5fe5992385"` Oct 15 05:34:46.899 INFO kablam! usermod: no changes Oct 15 05:34:46.951 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.03s Oct 15 05:34:46.962 INFO kablam! Running /target/debug/deps/p2pspider-14bef54243bab824 Oct 15 05:34:46.965 INFO blam! Oct 15 05:34:46.965 INFO blam! running 0 tests Oct 15 05:34:46.965 INFO blam! Oct 15 05:34:46.965 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 15 05:34:46.965 INFO blam! Oct 15 05:34:46.967 INFO kablam! su: No module specific data is present Oct 15 05:34:47.617 INFO running `"docker" "rm" "-f" "7a2dcd1073350738b0ea031f27916a83e373a41663d8e0b0abb5ac5fe5992385"` Oct 15 05:34:47.915 INFO blam! 7a2dcd1073350738b0ea031f27916a83e373a41663d8e0b0abb5ac5fe5992385