Oct 11 03:49:57.541 INFO testing XanthusL/p2pspider against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 11 03:49:57.542 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 11 03:49:57.543 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-7/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 03:49:58.120 INFO blam! 071543c1204f3d135d13468d4e5c3ff3c3eaf34dd0d42fb2d823cb75059740aa Oct 11 03:49:58.122 INFO running `"docker" "start" "-a" "071543c1204f3d135d13468d4e5c3ff3c3eaf34dd0d42fb2d823cb75059740aa"` Oct 11 03:49:59.392 INFO kablam! usermod: no changes Oct 11 03:49:59.557 INFO kablam! Compiling rand v0.5.0 Oct 11 03:49:59.557 INFO kablam! Compiling bencode v0.1.16 Oct 11 03:50:05.358 INFO kablam! Compiling p2pspider v0.1.0 (/source) Oct 11 03:50:06.592 INFO kablam! warning: unused import: `rand::prelude::*` Oct 11 03:50:06.592 INFO kablam! --> src/main.rs:4:5 Oct 11 03:50:06.592 INFO kablam! | Oct 11 03:50:06.592 INFO kablam! 4 | use rand::prelude::*; Oct 11 03:50:06.592 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 11 03:50:06.592 INFO kablam! | Oct 11 03:50:06.592 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 11 03:50:06.592 INFO kablam! Oct 11 03:50:06.592 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 11 03:50:06.592 INFO kablam! --> src/main.rs:5:30 Oct 11 03:50:06.592 INFO kablam! | Oct 11 03:50:06.592 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 11 03:50:06.592 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 11 03:50:06.592 INFO kablam! Oct 11 03:50:06.592 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 11 03:50:06.592 INFO kablam! --> src/lib/wire.rs:5:30 Oct 11 03:50:06.592 INFO kablam! | Oct 11 03:50:06.592 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 11 03:50:06.593 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 11 03:50:06.593 INFO kablam! Oct 11 03:50:06.593 INFO kablam! warning: unused import: `std::collections::BTreeMap` Oct 11 03:50:06.593 INFO kablam! --> src/lib/wire.rs:10:5 Oct 11 03:50:06.593 INFO kablam! | Oct 11 03:50:06.593 INFO kablam! 10 | use std::collections::BTreeMap; Oct 11 03:50:06.593 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.593 INFO kablam! Oct 11 03:50:06.820 INFO kablam! warning: unused variable: `e` Oct 11 03:50:06.820 INFO kablam! --> src/lib/dht.rs:179:17 Oct 11 03:50:06.820 INFO kablam! | Oct 11 03:50:06.820 INFO kablam! 179 | Err(e) => continue, Oct 11 03:50:06.820 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:06.820 INFO kablam! | Oct 11 03:50:06.820 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 11 03:50:06.820 INFO kablam! Oct 11 03:50:06.820 INFO kablam! warning: unused variable: `e` Oct 11 03:50:06.820 INFO kablam! --> src/lib/wire.rs:244:48 Oct 11 03:50:06.820 INFO kablam! | Oct 11 03:50:06.820 INFO kablam! 244 | let ben = bencode::from_vec(meta).or_else(|e|{Err(())})?; Oct 11 03:50:06.820 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:06.820 INFO kablam! Oct 11 03:50:06.820 INFO kablam! warning: unused variable: `e` Oct 11 03:50:06.820 INFO kablam! --> src/main.rs:29:57 Oct 11 03:50:06.820 INFO kablam! | Oct 11 03:50:06.820 INFO kablam! 29 | let data = peer.fetch().unwrap_or_else(|e| { Oct 11 03:50:06.820 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:06.820 INFO kablam! Oct 11 03:50:06.820 INFO kablam! warning: unused variable: `handles` Oct 11 03:50:06.820 INFO kablam! --> src/main.rs:21:10 Oct 11 03:50:06.820 INFO kablam! | Oct 11 03:50:06.820 INFO kablam! 21 | let (handles, rx) = d.start(); Oct 11 03:50:06.820 INFO kablam! | ^^^^^^^ help: consider using `_handles` instead Oct 11 03:50:06.820 INFO kablam! Oct 11 03:50:06.820 INFO kablam! warning: unused variable: `e` Oct 11 03:50:06.820 INFO kablam! --> src/lib/dht.rs:109:77 Oct 11 03:50:06.820 INFO kablam! | Oct 11 03:50:06.820 INFO kablam! 109 | q.q = String::from_bencode(field_q).unwrap_or_else(|e|{ Oct 11 03:50:06.820 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:06.820 INFO kablam! Oct 11 03:50:06.820 INFO kablam! warning: unused variable: `e` Oct 11 03:50:06.820 INFO kablam! --> src/lib/dht.rs:273:25 Oct 11 03:50:06.820 INFO kablam! | Oct 11 03:50:06.821 INFO kablam! 273 | Err(e) => continue, Oct 11 03:50:06.821 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:06.821 INFO kablam! Oct 11 03:50:06.821 INFO kablam! warning: value assigned to `t_str` is never read Oct 11 03:50:06.821 INFO kablam! --> src/lib/dht.rs:378:17 Oct 11 03:50:06.821 INFO kablam! | Oct 11 03:50:06.821 INFO kablam! 378 | let mut t_str = String::new(); Oct 11 03:50:06.821 INFO kablam! | ^^^^^ Oct 11 03:50:06.821 INFO kablam! | Oct 11 03:50:06.821 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 11 03:50:06.821 INFO kablam! Oct 11 03:50:06.821 INFO kablam! warning: unused variable: `inner_m` Oct 11 03:50:06.821 INFO kablam! --> src/lib/wire.rs:221:43 Oct 11 03:50:06.821 INFO kablam! | Oct 11 03:50:06.821 INFO kablam! 221 | if let Some(Bencode::Dict(ref inner_m)) = m.get(&ByteString::from_str("m")) { Oct 11 03:50:06.821 INFO kablam! | ^^^^^^^ help: consider using `_inner_m` instead Oct 11 03:50:06.821 INFO kablam! Oct 11 03:50:06.840 INFO kablam! warning: variable does not need to be mutable Oct 11 03:50:06.840 INFO kablam! --> src/lib/dht.rs:224:9 Oct 11 03:50:06.840 INFO kablam! | Oct 11 03:50:06.840 INFO kablam! 224 | let mut socket = match net::UdpSocket::bind("0.0.0.0:34254") { Oct 11 03:50:06.840 INFO kablam! | ----^^^^^^ Oct 11 03:50:06.840 INFO kablam! | | Oct 11 03:50:06.840 INFO kablam! | help: remove this `mut` Oct 11 03:50:06.840 INFO kablam! | Oct 11 03:50:06.840 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 11 03:50:06.840 INFO kablam! Oct 11 03:50:06.845 INFO kablam! warning: variable does not need to be mutable Oct 11 03:50:06.845 INFO kablam! --> src/lib/dht.rs:266:13 Oct 11 03:50:06.845 INFO kablam! | Oct 11 03:50:06.845 INFO kablam! 266 | let mut tmp = arc_self.clone(); Oct 11 03:50:06.845 INFO kablam! | ----^^^ Oct 11 03:50:06.845 INFO kablam! | | Oct 11 03:50:06.845 INFO kablam! | help: remove this `mut` Oct 11 03:50:06.845 INFO kablam! Oct 11 03:50:06.856 INFO kablam! warning: variable does not need to be mutable Oct 11 03:50:06.856 INFO kablam! --> src/lib/wire.rs:53:9 Oct 11 03:50:06.856 INFO kablam! | Oct 11 03:50:06.856 INFO kablam! 53 | let mut stream = net::TcpStream::connect(from.as_str())?; Oct 11 03:50:06.856 INFO kablam! | ----^^^^^^ Oct 11 03:50:06.856 INFO kablam! | | Oct 11 03:50:06.856 INFO kablam! | help: remove this `mut` Oct 11 03:50:06.856 INFO kablam! Oct 11 03:50:06.885 INFO kablam! warning: constant item is never used: `BOOTSTRAP_NODES` Oct 11 03:50:06.885 INFO kablam! --> src/lib/dht.rs:20:1 Oct 11 03:50:06.885 INFO kablam! | Oct 11 03:50:06.885 INFO kablam! 20 | / const BOOTSTRAP_NODES: [&str; 3] = [ Oct 11 03:50:06.885 INFO kablam! 21 | | "router.bittorrent.com:6881", Oct 11 03:50:06.885 INFO kablam! 22 | | "dht.transmissionbt.com:6881", Oct 11 03:50:06.885 INFO kablam! 23 | | "router.utorrent.com:6881"]; Oct 11 03:50:06.885 INFO kablam! | |________________________________^ Oct 11 03:50:06.885 INFO kablam! | Oct 11 03:50:06.885 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 03:50:06.885 INFO kablam! Oct 11 03:50:06.885 INFO kablam! warning: function is never used: `rand_bytes` Oct 11 03:50:06.885 INFO kablam! --> src/lib/dht.rs:41:1 Oct 11 03:50:06.885 INFO kablam! | Oct 11 03:50:06.885 INFO kablam! 41 | pub fn rand_bytes(n: i32) -> Vec { Oct 11 03:50:06.885 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.885 INFO kablam! Oct 11 03:50:06.885 INFO kablam! warning: type alias is never used: `NodeID` Oct 11 03:50:06.885 INFO kablam! --> src/lib/dht.rs:50:1 Oct 11 03:50:06.885 INFO kablam! | Oct 11 03:50:06.885 INFO kablam! 50 | type NodeID = Vec; Oct 11 03:50:06.885 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.885 INFO kablam! Oct 11 03:50:06.885 INFO kablam! warning: function is never used: `neighbour_id` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:53:1 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 53 | pub fn neighbour_id(target: NodeID, local: &NodeID) -> NodeID { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: function is never used: `make_query` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:123:1 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 123 | pub fn make_query<'a>(tid: String, q: String, a: &BTreeMap) -> Query { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: struct is never constructed: `Reply` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:132:1 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 132 | pub struct Reply { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: function is never used: `make_reply` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:148:1 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 148 | pub fn make_reply(tid: String, r: &BTreeMap) -> Reply { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: function is never used: `decode_nodes` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:156:1 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 156 | pub fn decode_nodes(s: String) -> Vec { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: struct is never constructed: `RustDHT` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:189:1 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 189 | pub struct RustDHT { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `max_friends_per_sec` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:199:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 199 | pub fn max_friends_per_sec(mut self, mut n: i32) -> RustDHT { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `local_id` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:209:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 209 | pub fn local_id(mut self, id: Vec) -> RustDHT { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `secret` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:213:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 213 | pub fn secret(mut self, s: String) -> RustDHT { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `bootstraps` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:217:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 217 | pub fn bootstraps(mut self, addr: Vec) -> RustDHT { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: function is never used: `new_dht` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:223:1 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 223 | pub fn new_dht() -> RustDHT { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `start` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:243:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 243 | pub fn start(self) -> (Vec>, mpsc::Receiver) { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `on_message` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:307:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 307 | fn on_message(&mut self, dat: Vec, addr: net::SocketAddr, tx_node: &mpsc::Sender, tx_announce: &mpsc::Sender) { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `gen_token` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:357:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 357 | fn gen_token(&self, from: net::SocketAddr) -> String { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `find_node` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:364:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.886 INFO kablam! 364 | fn find_node(&self, to: String, target: NodeID) { Oct 11 03:50:06.886 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.886 INFO kablam! Oct 11 03:50:06.886 INFO kablam! warning: method is never used: `on_get_peers_query` Oct 11 03:50:06.886 INFO kablam! --> src/lib/dht.rs:377:5 Oct 11 03:50:06.886 INFO kablam! | Oct 11 03:50:06.887 INFO kablam! 377 | fn on_get_peers_query(&self, ben: &bencode::Bencode, from: net::SocketAddr) { Oct 11 03:50:06.887 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.887 INFO kablam! Oct 11 03:50:06.887 INFO kablam! warning: method is never used: `is_token_available` Oct 11 03:50:06.887 INFO kablam! --> src/lib/dht.rs:410:5 Oct 11 03:50:06.887 INFO kablam! | Oct 11 03:50:06.887 INFO kablam! 410 | fn is_token_available(&self, token: String, from: net::SocketAddr) -> bool { Oct 11 03:50:06.887 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.887 INFO kablam! Oct 11 03:50:06.888 INFO kablam! warning: method is never used: `on_announce_peer_query` Oct 11 03:50:06.888 INFO kablam! --> src/lib/dht.rs:414:5 Oct 11 03:50:06.888 INFO kablam! | Oct 11 03:50:06.888 INFO kablam! 414 | fn on_announce_peer_query(&self, ben: &bencode::DictMap, from: net::SocketAddr, tx: &mpsc::Sender) { Oct 11 03:50:06.888 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.888 INFO kablam! Oct 11 03:50:06.888 INFO kablam! warning: function is never used: `vec2str` Oct 11 03:50:06.888 INFO kablam! --> src/lib/dht.rs:445:1 Oct 11 03:50:06.888 INFO kablam! | Oct 11 03:50:06.888 INFO kablam! 445 | fn vec2str(dat: Vec) -> String { Oct 11 03:50:06.888 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.888 INFO kablam! Oct 11 03:50:06.888 INFO kablam! warning: function is never used: `get_now_millis` Oct 11 03:50:06.888 INFO kablam! --> src/lib/dht.rs:450:1 Oct 11 03:50:06.888 INFO kablam! | Oct 11 03:50:06.888 INFO kablam! 450 | fn get_now_millis() -> u64 { Oct 11 03:50:06.888 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.888 INFO kablam! Oct 11 03:50:06.888 INFO kablam! warning: static item is never used: `CHARS` Oct 11 03:50:06.892 INFO kablam! --> src/lib/dht.rs:455:1 Oct 11 03:50:06.892 INFO kablam! | Oct 11 03:50:06.892 INFO kablam! 455 | static CHARS: &'static [u8] = b"0123456789abcdef"; Oct 11 03:50:06.892 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.892 INFO kablam! Oct 11 03:50:06.892 INFO kablam! warning: function is never used: `hex` Oct 11 03:50:06.893 INFO kablam! --> src/lib/dht.rs:457:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 457 | pub fn hex(dat: Vec) -> String { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: constant item is never used: `PER_BLOCK` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:17:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 17 | const PER_BLOCK: i32 = 16384; Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: constant item is never used: `MAX_META_DATA_SIZE` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:18:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 18 | const MAX_META_DATA_SIZE: i32 = PER_BLOCK * 1024; Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: constant item is never used: `EXTENDED` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:19:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 19 | const EXTENDED: u8 = 20; Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: constant item is never used: `EXT_HANDSHAKE` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:20:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 20 | const EXT_HANDSHAKE: u8 = 0; Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: constant item is never used: `ERR_EXT_HEADER` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:22:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 22 | const ERR_EXT_HEADER: &str = "invalid extention header response"; Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: constant item is never used: `ERR_INVALID_PIECE` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:23:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 23 | const ERR_INVALID_PIECE: &str = "invalid piece response"; Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: function is never used: `random_peer_id` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:26:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 26 | fn random_peer_id() -> String { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: struct is never constructed: `Wire` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:34:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 34 | pub struct Wire { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: struct is never constructed: `Meta` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:47:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 47 | struct Meta { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: function is never used: `new` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:52:1 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 52 | pub fn new(info: String, from: String) -> Result { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: method is never used: `fetch` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:69:5 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 69 | pub fn fetch(&mut self) -> Result, String> { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: method is never used: `close` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:99:5 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 99 | pub fn close(&self) { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: method is never used: `pre_header` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:103:5 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 103 | fn pre_header(&self) -> Vec { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: method is never used: `is_done` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:110:5 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.893 INFO kablam! 110 | fn is_done(&self) -> bool { Oct 11 03:50:06.893 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.893 INFO kablam! Oct 11 03:50:06.893 INFO kablam! warning: method is never used: `on_handshake` Oct 11 03:50:06.893 INFO kablam! --> src/lib/wire.rs:118:5 Oct 11 03:50:06.893 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 118 | fn on_handshake(&mut self) -> Result<(), String> { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: method is never used: `ext_handshake` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:134:5 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 134 | fn ext_handshake(&mut self) -> Result<(), String> { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: method is never used: `next` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:146:5 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 146 | fn next(&mut self) -> Result, String> { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: method is never used: `on_extended` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:154:5 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 154 | fn on_extended(&mut self, ext: u8, payload: Vec) -> Result<(), String> { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: method is never used: `on_piece` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:163:5 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 163 | fn on_piece(&self, payload: Vec) -> Result<(Vec, i32), String> { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: method is never used: `request_pieces` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:198:5 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 198 | fn request_pieces(&mut self, i: i32) { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: method is never used: `on_ext_handshake` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:208:5 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 208 | fn on_ext_handshake(&mut self, payload: Vec) -> Result<(), String> { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: function is never used: `parse_data` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:243:1 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 243 | pub fn parse_data(meta: Vec, hash: String) -> Result { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: struct is never constructed: `Torrent` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:298:1 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 298 | pub struct Torrent { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: struct is never constructed: `File` Oct 11 03:50:06.894 INFO kablam! --> src/lib/wire.rs:305:1 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 305 | struct File { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: function is never used: `run` Oct 11 03:50:06.894 INFO kablam! --> src/main.rs:15:1 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 15 | fn run() { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: function is never used: `save` Oct 11 03:50:06.894 INFO kablam! --> src/main.rs:51:1 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 51 | fn save(name: String, dat: Vec) -> Result<(), std::io::Error> { Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:06.894 INFO kablam! warning: unused `std::result::Result` which must be used Oct 11 03:50:06.894 INFO kablam! --> src/lib/dht.rs:92:21 Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! 92 | BTreeMap::from_bencode(a).map(|a| { q.a = a; }); Oct 11 03:50:06.894 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:06.894 INFO kablam! | Oct 11 03:50:06.894 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 11 03:50:06.894 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 11 03:50:06.894 INFO kablam! Oct 11 03:50:07.324 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 7.89s Oct 11 03:50:07.324 INFO kablam! su: No module specific data is present Oct 11 03:50:07.882 INFO running `"docker" "rm" "-f" "071543c1204f3d135d13468d4e5c3ff3c3eaf34dd0d42fb2d823cb75059740aa"` Oct 11 03:50:08.168 INFO blam! 071543c1204f3d135d13468d4e5c3ff3c3eaf34dd0d42fb2d823cb75059740aa Oct 11 03:50:08.184 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 11 03:50:08.184 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-7/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 03:50:08.621 INFO blam! 182b078ca51a2856bc12e5b69bbe5ed4b87d775ca86276df42706e464be03019 Oct 11 03:50:08.632 INFO running `"docker" "start" "-a" "182b078ca51a2856bc12e5b69bbe5ed4b87d775ca86276df42706e464be03019"` Oct 11 03:50:09.700 INFO kablam! usermod: no changes Oct 11 03:50:09.784 INFO kablam! Compiling p2pspider v0.1.0 (/source) Oct 11 03:50:10.927 INFO kablam! warning: unused import: `rand::prelude::*` Oct 11 03:50:10.928 INFO kablam! --> src/main.rs:4:5 Oct 11 03:50:10.928 INFO kablam! | Oct 11 03:50:10.928 INFO kablam! 4 | use rand::prelude::*; Oct 11 03:50:10.928 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 11 03:50:10.928 INFO kablam! | Oct 11 03:50:10.928 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 11 03:50:10.928 INFO kablam! Oct 11 03:50:10.928 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 11 03:50:10.928 INFO kablam! --> src/main.rs:5:30 Oct 11 03:50:10.928 INFO kablam! | Oct 11 03:50:10.928 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 11 03:50:10.928 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 11 03:50:10.928 INFO kablam! Oct 11 03:50:10.928 INFO kablam! warning: unused imports: `FromBencode`, `ToBencode` Oct 11 03:50:10.928 INFO kablam! --> src/lib/wire.rs:5:30 Oct 11 03:50:10.928 INFO kablam! | Oct 11 03:50:10.928 INFO kablam! 5 | use self::bencode::{Bencode, FromBencode, ToBencode}; Oct 11 03:50:10.928 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^ Oct 11 03:50:10.928 INFO kablam! Oct 11 03:50:10.928 INFO kablam! warning: unused import: `std::collections::BTreeMap` Oct 11 03:50:10.928 INFO kablam! --> src/lib/wire.rs:10:5 Oct 11 03:50:10.928 INFO kablam! | Oct 11 03:50:10.928 INFO kablam! 10 | use std::collections::BTreeMap; Oct 11 03:50:10.928 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:10.928 INFO kablam! Oct 11 03:50:11.186 INFO kablam! warning: unused variable: `e` Oct 11 03:50:11.186 INFO kablam! --> src/lib/dht.rs:179:17 Oct 11 03:50:11.186 INFO kablam! | Oct 11 03:50:11.186 INFO kablam! 179 | Err(e) => continue, Oct 11 03:50:11.186 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:11.186 INFO kablam! | Oct 11 03:50:11.186 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 11 03:50:11.186 INFO kablam! Oct 11 03:50:11.186 INFO kablam! warning: unused variable: `e` Oct 11 03:50:11.186 INFO kablam! --> src/lib/wire.rs:244:48 Oct 11 03:50:11.186 INFO kablam! | Oct 11 03:50:11.186 INFO kablam! 244 | let ben = bencode::from_vec(meta).or_else(|e|{Err(())})?; Oct 11 03:50:11.186 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:11.186 INFO kablam! Oct 11 03:50:11.186 INFO kablam! warning: unused variable: `e` Oct 11 03:50:11.186 INFO kablam! --> src/main.rs:29:57 Oct 11 03:50:11.186 INFO kablam! | Oct 11 03:50:11.186 INFO kablam! 29 | let data = peer.fetch().unwrap_or_else(|e| { Oct 11 03:50:11.186 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:11.186 INFO kablam! Oct 11 03:50:11.186 INFO kablam! warning: unused variable: `handles` Oct 11 03:50:11.186 INFO kablam! --> src/main.rs:21:10 Oct 11 03:50:11.186 INFO kablam! | Oct 11 03:50:11.186 INFO kablam! 21 | let (handles, rx) = d.start(); Oct 11 03:50:11.186 INFO kablam! | ^^^^^^^ help: consider using `_handles` instead Oct 11 03:50:11.186 INFO kablam! Oct 11 03:50:11.186 INFO kablam! warning: unused variable: `e` Oct 11 03:50:11.186 INFO kablam! --> src/lib/dht.rs:109:77 Oct 11 03:50:11.186 INFO kablam! | Oct 11 03:50:11.187 INFO kablam! 109 | q.q = String::from_bencode(field_q).unwrap_or_else(|e|{ Oct 11 03:50:11.187 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:11.187 INFO kablam! Oct 11 03:50:11.187 INFO kablam! warning: unused variable: `e` Oct 11 03:50:11.187 INFO kablam! --> src/lib/dht.rs:273:25 Oct 11 03:50:11.187 INFO kablam! | Oct 11 03:50:11.187 INFO kablam! 273 | Err(e) => continue, Oct 11 03:50:11.187 INFO kablam! | ^ help: consider using `_e` instead Oct 11 03:50:11.187 INFO kablam! Oct 11 03:50:11.187 INFO kablam! warning: value assigned to `t_str` is never read Oct 11 03:50:11.187 INFO kablam! --> src/lib/dht.rs:378:17 Oct 11 03:50:11.187 INFO kablam! | Oct 11 03:50:11.187 INFO kablam! 378 | let mut t_str = String::new(); Oct 11 03:50:11.187 INFO kablam! | ^^^^^ Oct 11 03:50:11.187 INFO kablam! | Oct 11 03:50:11.187 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 11 03:50:11.187 INFO kablam! Oct 11 03:50:11.201 INFO kablam! warning: unused variable: `inner_m` Oct 11 03:50:11.201 INFO kablam! --> src/lib/wire.rs:221:43 Oct 11 03:50:11.201 INFO kablam! | Oct 11 03:50:11.201 INFO kablam! 221 | if let Some(Bencode::Dict(ref inner_m)) = m.get(&ByteString::from_str("m")) { Oct 11 03:50:11.201 INFO kablam! | ^^^^^^^ help: consider using `_inner_m` instead Oct 11 03:50:11.202 INFO kablam! Oct 11 03:50:11.213 INFO kablam! warning: variable does not need to be mutable Oct 11 03:50:11.213 INFO kablam! --> src/lib/dht.rs:224:9 Oct 11 03:50:11.214 INFO kablam! | Oct 11 03:50:11.214 INFO kablam! 224 | let mut socket = match net::UdpSocket::bind("0.0.0.0:34254") { Oct 11 03:50:11.214 INFO kablam! | ----^^^^^^ Oct 11 03:50:11.214 INFO kablam! | | Oct 11 03:50:11.214 INFO kablam! | help: remove this `mut` Oct 11 03:50:11.215 INFO kablam! | Oct 11 03:50:11.215 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 11 03:50:11.215 INFO kablam! Oct 11 03:50:11.221 INFO kablam! warning: variable does not need to be mutable Oct 11 03:50:11.221 INFO kablam! --> src/lib/dht.rs:266:13 Oct 11 03:50:11.222 INFO kablam! | Oct 11 03:50:11.222 INFO kablam! 266 | let mut tmp = arc_self.clone(); Oct 11 03:50:11.222 INFO kablam! | ----^^^ Oct 11 03:50:11.222 INFO kablam! | | Oct 11 03:50:11.222 INFO kablam! | help: remove this `mut` Oct 11 03:50:11.223 INFO kablam! Oct 11 03:50:11.236 INFO kablam! warning: variable does not need to be mutable Oct 11 03:50:11.237 INFO kablam! --> src/lib/wire.rs:53:9 Oct 11 03:50:11.237 INFO kablam! | Oct 11 03:50:11.237 INFO kablam! 53 | let mut stream = net::TcpStream::connect(from.as_str())?; Oct 11 03:50:11.237 INFO kablam! | ----^^^^^^ Oct 11 03:50:11.237 INFO kablam! | | Oct 11 03:50:11.238 INFO kablam! | help: remove this `mut` Oct 11 03:50:11.238 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: constant item is never used: `BOOTSTRAP_NODES` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:20:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 20 | / const BOOTSTRAP_NODES: [&str; 3] = [ Oct 11 03:50:11.264 INFO kablam! 21 | | "router.bittorrent.com:6881", Oct 11 03:50:11.264 INFO kablam! 22 | | "dht.transmissionbt.com:6881", Oct 11 03:50:11.264 INFO kablam! 23 | | "router.utorrent.com:6881"]; Oct 11 03:50:11.264 INFO kablam! | |________________________________^ Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: function is never used: `rand_bytes` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:41:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 41 | pub fn rand_bytes(n: i32) -> Vec { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: type alias is never used: `NodeID` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:50:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 50 | type NodeID = Vec; Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: function is never used: `neighbour_id` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:53:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 53 | pub fn neighbour_id(target: NodeID, local: &NodeID) -> NodeID { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: function is never used: `make_query` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:123:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 123 | pub fn make_query<'a>(tid: String, q: String, a: &BTreeMap) -> Query { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: struct is never constructed: `Reply` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:132:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 132 | pub struct Reply { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: function is never used: `make_reply` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:148:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 148 | pub fn make_reply(tid: String, r: &BTreeMap) -> Reply { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: function is never used: `decode_nodes` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:156:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 156 | pub fn decode_nodes(s: String) -> Vec { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: struct is never constructed: `RustDHT` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:189:1 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 189 | pub struct RustDHT { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.264 INFO kablam! warning: method is never used: `max_friends_per_sec` Oct 11 03:50:11.264 INFO kablam! --> src/lib/dht.rs:199:5 Oct 11 03:50:11.264 INFO kablam! | Oct 11 03:50:11.264 INFO kablam! 199 | pub fn max_friends_per_sec(mut self, mut n: i32) -> RustDHT { Oct 11 03:50:11.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.264 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: method is never used: `local_id` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:209:5 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 209 | pub fn local_id(mut self, id: Vec) -> RustDHT { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.272 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: method is never used: `secret` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:213:5 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 213 | pub fn secret(mut self, s: String) -> RustDHT { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.272 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: method is never used: `bootstraps` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:217:5 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 217 | pub fn bootstraps(mut self, addr: Vec) -> RustDHT { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.272 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: function is never used: `new_dht` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:223:1 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 223 | pub fn new_dht() -> RustDHT { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.272 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: method is never used: `start` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:243:5 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 243 | pub fn start(self) -> (Vec>, mpsc::Receiver) { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.272 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: method is never used: `on_message` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:307:5 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 307 | fn on_message(&mut self, dat: Vec, addr: net::SocketAddr, tx_node: &mpsc::Sender, tx_announce: &mpsc::Sender) { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.272 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: method is never used: `gen_token` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:357:5 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 357 | fn gen_token(&self, from: net::SocketAddr) -> String { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.272 INFO kablam! Oct 11 03:50:11.272 INFO kablam! warning: method is never used: `find_node` Oct 11 03:50:11.272 INFO kablam! --> src/lib/dht.rs:364:5 Oct 11 03:50:11.272 INFO kablam! | Oct 11 03:50:11.272 INFO kablam! 364 | fn find_node(&self, to: String, target: NodeID) { Oct 11 03:50:11.272 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: method is never used: `on_get_peers_query` Oct 11 03:50:11.273 INFO kablam! --> src/lib/dht.rs:377:5 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 377 | fn on_get_peers_query(&self, ben: &bencode::Bencode, from: net::SocketAddr) { Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: method is never used: `is_token_available` Oct 11 03:50:11.273 INFO kablam! --> src/lib/dht.rs:410:5 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 410 | fn is_token_available(&self, token: String, from: net::SocketAddr) -> bool { Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: method is never used: `on_announce_peer_query` Oct 11 03:50:11.273 INFO kablam! --> src/lib/dht.rs:414:5 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 414 | fn on_announce_peer_query(&self, ben: &bencode::DictMap, from: net::SocketAddr, tx: &mpsc::Sender) { Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: function is never used: `vec2str` Oct 11 03:50:11.273 INFO kablam! --> src/lib/dht.rs:445:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 445 | fn vec2str(dat: Vec) -> String { Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: function is never used: `get_now_millis` Oct 11 03:50:11.273 INFO kablam! --> src/lib/dht.rs:450:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 450 | fn get_now_millis() -> u64 { Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: static item is never used: `CHARS` Oct 11 03:50:11.273 INFO kablam! --> src/lib/dht.rs:455:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 455 | static CHARS: &'static [u8] = b"0123456789abcdef"; Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: function is never used: `hex` Oct 11 03:50:11.273 INFO kablam! --> src/lib/dht.rs:457:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 457 | pub fn hex(dat: Vec) -> String { Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: constant item is never used: `PER_BLOCK` Oct 11 03:50:11.273 INFO kablam! --> src/lib/wire.rs:17:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 17 | const PER_BLOCK: i32 = 16384; Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: constant item is never used: `MAX_META_DATA_SIZE` Oct 11 03:50:11.273 INFO kablam! --> src/lib/wire.rs:18:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 18 | const MAX_META_DATA_SIZE: i32 = PER_BLOCK * 1024; Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: constant item is never used: `EXTENDED` Oct 11 03:50:11.273 INFO kablam! --> src/lib/wire.rs:19:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 19 | const EXTENDED: u8 = 20; Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: constant item is never used: `EXT_HANDSHAKE` Oct 11 03:50:11.273 INFO kablam! --> src/lib/wire.rs:20:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 20 | const EXT_HANDSHAKE: u8 = 0; Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: constant item is never used: `ERR_EXT_HEADER` Oct 11 03:50:11.273 INFO kablam! --> src/lib/wire.rs:22:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 22 | const ERR_EXT_HEADER: &str = "invalid extention header response"; Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: constant item is never used: `ERR_INVALID_PIECE` Oct 11 03:50:11.273 INFO kablam! --> src/lib/wire.rs:23:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 23 | const ERR_INVALID_PIECE: &str = "invalid piece response"; Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.273 INFO kablam! Oct 11 03:50:11.273 INFO kablam! warning: function is never used: `random_peer_id` Oct 11 03:50:11.273 INFO kablam! --> src/lib/wire.rs:26:1 Oct 11 03:50:11.273 INFO kablam! | Oct 11 03:50:11.273 INFO kablam! 26 | fn random_peer_id() -> String { Oct 11 03:50:11.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.274 INFO kablam! Oct 11 03:50:11.274 INFO kablam! warning: struct is never constructed: `Wire` Oct 11 03:50:11.274 INFO kablam! --> src/lib/wire.rs:34:1 Oct 11 03:50:11.274 INFO kablam! | Oct 11 03:50:11.274 INFO kablam! 34 | pub struct Wire { Oct 11 03:50:11.274 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: struct is never constructed: `Meta` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:47:1 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 47 | struct Meta { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: function is never used: `new` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:52:1 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 52 | pub fn new(info: String, from: String) -> Result { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: method is never used: `fetch` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:69:5 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 69 | pub fn fetch(&mut self) -> Result, String> { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: method is never used: `close` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:99:5 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 99 | pub fn close(&self) { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: method is never used: `pre_header` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:103:5 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 103 | fn pre_header(&self) -> Vec { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: method is never used: `is_done` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:110:5 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 110 | fn is_done(&self) -> bool { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: method is never used: `on_handshake` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:118:5 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 118 | fn on_handshake(&mut self) -> Result<(), String> { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: method is never used: `ext_handshake` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:134:5 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 134 | fn ext_handshake(&mut self) -> Result<(), String> { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.280 INFO kablam! warning: method is never used: `next` Oct 11 03:50:11.280 INFO kablam! --> src/lib/wire.rs:146:5 Oct 11 03:50:11.280 INFO kablam! | Oct 11 03:50:11.280 INFO kablam! 146 | fn next(&mut self) -> Result, String> { Oct 11 03:50:11.280 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.280 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: method is never used: `on_extended` Oct 11 03:50:11.281 INFO kablam! --> src/lib/wire.rs:154:5 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 154 | fn on_extended(&mut self, ext: u8, payload: Vec) -> Result<(), String> { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: method is never used: `on_piece` Oct 11 03:50:11.281 INFO kablam! --> src/lib/wire.rs:163:5 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 163 | fn on_piece(&self, payload: Vec) -> Result<(Vec, i32), String> { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: method is never used: `request_pieces` Oct 11 03:50:11.281 INFO kablam! --> src/lib/wire.rs:198:5 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 198 | fn request_pieces(&mut self, i: i32) { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: method is never used: `on_ext_handshake` Oct 11 03:50:11.281 INFO kablam! --> src/lib/wire.rs:208:5 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 208 | fn on_ext_handshake(&mut self, payload: Vec) -> Result<(), String> { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: function is never used: `parse_data` Oct 11 03:50:11.281 INFO kablam! --> src/lib/wire.rs:243:1 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 243 | pub fn parse_data(meta: Vec, hash: String) -> Result { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: struct is never constructed: `Torrent` Oct 11 03:50:11.281 INFO kablam! --> src/lib/wire.rs:298:1 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 298 | pub struct Torrent { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: struct is never constructed: `File` Oct 11 03:50:11.281 INFO kablam! --> src/lib/wire.rs:305:1 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 305 | struct File { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: function is never used: `run` Oct 11 03:50:11.281 INFO kablam! --> src/main.rs:15:1 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 15 | fn run() { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: function is never used: `save` Oct 11 03:50:11.281 INFO kablam! --> src/main.rs:51:1 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 51 | fn save(name: String, dat: Vec) -> Result<(), std::io::Error> { Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.281 INFO kablam! warning: unused `std::result::Result` which must be used Oct 11 03:50:11.281 INFO kablam! --> src/lib/dht.rs:92:21 Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! 92 | BTreeMap::from_bencode(a).map(|a| { q.a = a; }); Oct 11 03:50:11.281 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 03:50:11.281 INFO kablam! | Oct 11 03:50:11.281 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 11 03:50:11.281 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 11 03:50:11.281 INFO kablam! Oct 11 03:50:11.732 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.99s Oct 11 03:50:11.739 INFO kablam! su: No module specific data is present Oct 11 03:50:12.392 INFO running `"docker" "rm" "-f" "182b078ca51a2856bc12e5b69bbe5ed4b87d775ca86276df42706e464be03019"` Oct 11 03:50:12.700 INFO blam! 182b078ca51a2856bc12e5b69bbe5ed4b87d775ca86276df42706e464be03019 Oct 11 03:50:12.701 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 11 03:50:12.701 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-7/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 03:50:13.115 INFO blam! 1f7ad79f7e17a3ec9fdd7e47163fb301f51db046516e65dba017c284e56a99f9 Oct 11 03:50:13.117 INFO running `"docker" "start" "-a" "1f7ad79f7e17a3ec9fdd7e47163fb301f51db046516e65dba017c284e56a99f9"` Oct 11 03:50:13.707 INFO kablam! usermod: no changes Oct 11 03:50:13.754 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.02s Oct 11 03:50:13.754 INFO kablam! Running /target/debug/deps/p2pspider-14bef54243bab824 Oct 11 03:50:13.755 INFO blam! Oct 11 03:50:13.755 INFO blam! running 0 tests Oct 11 03:50:13.755 INFO blam! Oct 11 03:50:13.755 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 11 03:50:13.755 INFO blam! Oct 11 03:50:13.757 INFO kablam! su: No module specific data is present Oct 11 03:50:14.024 INFO running `"docker" "rm" "-f" "1f7ad79f7e17a3ec9fdd7e47163fb301f51db046516e65dba017c284e56a99f9"` Oct 11 03:50:14.091 INFO blam! 1f7ad79f7e17a3ec9fdd7e47163fb301f51db046516e65dba017c284e56a99f9