[INFO] cloning repository https://github.com/justinmoon/bittorrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinmoon/bittorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinmoon%2Fbittorrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinmoon%2Fbittorrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b13122ec57fd03f5f155bc29c0742d30f76919c5 [INFO] testing justinmoon/bittorrent against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinmoon%2Fbittorrent" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justinmoon/bittorrent on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/justinmoon/bittorrent [INFO] finished tweaking git repo https://github.com/justinmoon/bittorrent [INFO] tweaked toml for git repo https://github.com/justinmoon/bittorrent written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/justinmoon/bittorrent already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.6 [INFO] [stderr] Downloaded hyper-tls v0.4.0 [INFO] [stderr] Downloaded reqwest v0.10.0 [INFO] [stderr] Downloaded js-sys v0.3.33 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.56 [INFO] [stderr] Downloaded web-sys v0.3.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 760836ed5a43ad54e50c72327f65b78a32d604c989888e2827b099077531da0a [INFO] running `Command { std: "docker" "start" "-a" "760836ed5a43ad54e50c72327f65b78a32d604c989888e2827b099077531da0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "760836ed5a43ad54e50c72327f65b78a32d604c989888e2827b099077531da0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760836ed5a43ad54e50c72327f65b78a32d604c989888e2827b099077531da0a", kill_on_drop: false }` [INFO] [stdout] 760836ed5a43ad54e50c72327f65b78a32d604c989888e2827b099077531da0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11aab69a342f3bd836b9a27a51529bf34e6118fb9bd5d61289c43a06fe219a34 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "11aab69a342f3bd836b9a27a51529bf34e6118fb9bd5d61289c43a06fe219a34", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling hyper-tls v0.4.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_bytes v0.11.3 [INFO] [stderr] Compiling serde_bencode v0.2.0 [INFO] [stderr] Compiling reqwest v0.10.0 [INFO] [stderr] Compiling bittorrent-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `torrent::TorrentFile` [INFO] [stdout] --> src/connection.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{torrent::TorrentFile, tracker::Peer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/connection.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/connection.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 171 | / loop { [INFO] [stdout] 172 | | // Request piece [INFO] [stdout] 173 | | self.send_request(index, requested, block_size)?; [INFO] [stdout] 174 | | println!("send request #{}", index); [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 188 | [INFO] [stdout] 189 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pstr` [INFO] [stdout] --> src/connection.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let pstr = String::from_utf8(b[1..pstr_len + 1].to_vec())?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pstr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> src/connection.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let peer_id = peer_id.to_vec(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/p2p.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let piece = self.download_piece(&mut conn); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut requested = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_input` [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn read_input() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_piece` [INFO] [stdout] --> src/bitfield.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn has_piece(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_piece` [INFO] [stdout] --> src/bitfield.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn set_piece(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `download` [INFO] [stdout] --> src/connection.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn download(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoPeers` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NoPeers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/p2p.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `downloaded` [INFO] [stdout] --> src/p2p.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | downloaded: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `backlog` [INFO] [stdout] --> src/p2p.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | backlog: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/torrent.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TorrentFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/torrent.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `piece_length` [INFO] [stdout] --> src/torrent.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | piece_length: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TorrentFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/torrent.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/tracker.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | interval: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tracker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "11aab69a342f3bd836b9a27a51529bf34e6118fb9bd5d61289c43a06fe219a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11aab69a342f3bd836b9a27a51529bf34e6118fb9bd5d61289c43a06fe219a34", kill_on_drop: false }` [INFO] [stdout] 11aab69a342f3bd836b9a27a51529bf34e6118fb9bd5d61289c43a06fe219a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 49a6cbc58e1e949a69655f715dc6b683076e212bd1fcda6248e749eb35bc9b6f [INFO] running `Command { std: "docker" "start" "-a" "49a6cbc58e1e949a69655f715dc6b683076e212bd1fcda6248e749eb35bc9b6f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling bittorrent-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `torrent::TorrentFile` [INFO] [stdout] --> src/connection.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{torrent::TorrentFile, tracker::Peer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/connection.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/connection.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 171 | / loop { [INFO] [stdout] 172 | | // Request piece [INFO] [stdout] 173 | | self.send_request(index, requested, block_size)?; [INFO] [stdout] 174 | | println!("send request #{}", index); [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 188 | [INFO] [stdout] 189 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pstr` [INFO] [stdout] --> src/connection.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let pstr = String::from_utf8(b[1..pstr_len + 1].to_vec())?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pstr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id` [INFO] [stdout] --> src/connection.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let peer_id = peer_id.to_vec(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/p2p.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let piece = self.download_piece(&mut conn); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut requested = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_input` [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn read_input() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoPeers` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NoPeers, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/p2p.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `downloaded` [INFO] [stdout] --> src/p2p.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | downloaded: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `backlog` [INFO] [stdout] --> src/p2p.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | backlog: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/p2p.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/tracker.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | interval: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrackerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tracker.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.82s [INFO] running `Command { std: "docker" "inspect" "49a6cbc58e1e949a69655f715dc6b683076e212bd1fcda6248e749eb35bc9b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a6cbc58e1e949a69655f715dc6b683076e212bd1fcda6248e749eb35bc9b6f", kill_on_drop: false }` [INFO] [stdout] 49a6cbc58e1e949a69655f715dc6b683076e212bd1fcda6248e749eb35bc9b6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 83af4c5326c13112ce7723a51f9d9489b9c1d02c67a839aecebadd02e6fb8c2d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "83af4c5326c13112ce7723a51f9d9489b9c1d02c67a839aecebadd02e6fb8c2d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `torrent::TorrentFile` [INFO] [stderr] --> src/connection.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::{torrent::TorrentFile, tracker::Peer}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/connection.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{self, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string::FromUtf8Error` [INFO] [stderr] --> src/connection.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::string::FromUtf8Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/connection.rs:189:9 [INFO] [stderr] | [INFO] [stderr] 171 | / loop { [INFO] [stderr] 172 | | // Request piece [INFO] [stderr] 173 | | self.send_request(index, requested, block_size)?; [INFO] [stderr] 174 | | println!("send request #{}", index); [INFO] [stderr] ... | [INFO] [stderr] 186 | | } [INFO] [stderr] 187 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 188 | [INFO] [stderr] 189 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pstr` [INFO] [stderr] --> src/connection.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let pstr = String::from_utf8(b[1..pstr_len + 1].to_vec())?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pstr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `peer_id` [INFO] [stderr] --> src/connection.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let peer_id = peer_id.to_vec(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `piece` [INFO] [stderr] --> src/p2p.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | let piece = self.download_piece(&mut conn); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/connection.rs:167:13 [INFO] [stderr] | [INFO] [stderr] 167 | let mut requested = 0; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_input` [INFO] [stderr] --> src/main.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn read_input() -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NoPeers` [INFO] [stderr] --> src/error.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | NoPeers, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `buf` [INFO] [stderr] --> src/p2p.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | buf: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/p2p.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `downloaded` [INFO] [stderr] --> src/p2p.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | downloaded: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/p2p.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `backlog` [INFO] [stderr] --> src/p2p.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | backlog: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/p2p.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `interval` [INFO] [stderr] --> src/tracker.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | interval: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TrackerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tracker.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bittorrent-client` (bin "bittorrent-client" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bittorrent_client-973329b09d27fb0a) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test bitfield::tests::test_set_piece ... ok [INFO] [stdout] test bitfield::tests::test_has_piece ... ok [INFO] [stdout] test tracker::tests::test_request_peers ... FAILED [INFO] [stdout] test connection::tests::test_connection ... FAILED [INFO] [stdout] test torrent::tests::test_it ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tracker::tests::test_request_peers stdout ---- [INFO] [stdout] thread 'tracker::tests::test_request_peers' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: "https://torrent.ubuntu.com/announce?info_hash=%28%6D%2E%5B%4F%83%69%85%53%28%33%6A%C1%26%3A%E0%2A%7A%60%D5&peer_id=%1A%17%20%02%65%F1%16%3F%0C%91%07%DA%28%F1%85%6C%91%6C%D6%23&port=6881&uploaded=0&downloaded=0&compact=1&left=2126544896", source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }', src/tracker.rs:107:71 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a6d53ab9ed - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a6d53ab9ed - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a6d53ab9ed - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55a6d53ab9ed - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55a6d53d23fc - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55a6d53a40a8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55a6d53adfd7 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55a6d53adfd7 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55a6d53adfd7 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55a6d53add0c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55a6d53ae729 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55a6d53ae417 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55a6d53abeb4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55a6d53ae129 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55a6d4da87c3 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55a6d4da88b3 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55a6d4dc54d6 - core::result::Result::unwrap::h0164448bb7506ea8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55a6d4dce3f9 - bittorrent_client::tracker::tests::test_request_peers::ha25c709de9e957da [INFO] [stdout] at /opt/rustwide/workdir/src/tracker.rs:107:30 [INFO] [stdout] 18: 0x55a6d4dce2ca - bittorrent_client::tracker::tests::test_request_peers::{{closure}}::h2811f4639b5f7735 [INFO] [stdout] at /opt/rustwide/workdir/src/tracker.rs:101:5 [INFO] [stdout] 19: 0x55a6d4dd6b7e - core::ops::function::FnOnce::call_once::hc06023687ac2434d [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a6d4e072d3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a6d4e072d3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55a6d4e05fb4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55a6d4e05fb4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55a6d4e05fb4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55a6d4e05fb4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55a6d4e05fb4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55a6d4e05fb4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55a6d4e05fb4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55a6d4e0f8d1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55a6d4e0f8d1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55a6d4ddbf4f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55a6d4ddbf4f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55a6d4ddbf4f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55a6d4ddbf4f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55a6d4ddbf4f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55a6d4ddbf4f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55a6d4ddbf4f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a6d53b46c3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55a6d53b46c3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55a6d53b46c3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f818d5bb609 - start_thread [INFO] [stdout] 42: 0x7f818d389163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- connection::tests::test_connection stdout ---- [INFO] [stdout] thread 'connection::tests::test_connection' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: "https://torrent.ubuntu.com/announce?info_hash=%28%6D%2E%5B%4F%83%69%85%53%28%33%6A%C1%26%3A%E0%2A%7A%60%D5&peer_id=%02%10%64%CA%1D%2E%94%6D%47%EB%FD%8C%05%2B%7D%2D%62%7B%BC%F8&port=6881&uploaded=0&downloaded=0&compact=1&left=2126544896", source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }', src/connection.rs:210:71 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a6d53ab9ed - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a6d53ab9ed - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a6d53ab9ed - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55a6d53ab9ed - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55a6d53d23fc - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55a6d53a40a8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55a6d53adfd7 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55a6d53adfd7 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55a6d53adfd7 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55a6d53add0c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55a6d53ae729 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55a6d53ae417 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55a6d53abeb4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55a6d53ae129 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55a6d4da87c3 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55a6d4da88b3 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55a6d4dc54d6 - core::result::Result::unwrap::h0164448bb7506ea8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55a6d4dd9ff0 - bittorrent_client::connection::tests::test_connection::hda25e46b79ea4e7c [INFO] [stdout] at /opt/rustwide/workdir/src/connection.rs:210:30 [INFO] [stdout] 18: 0x55a6d4dd9e9a - bittorrent_client::connection::tests::test_connection::{{closure}}::h3b7d68d23801d2b9 [INFO] [stdout] at /opt/rustwide/workdir/src/connection.rs:203:5 [INFO] [stdout] 19: 0x55a6d4dd6afe - core::ops::function::FnOnce::call_once::habb876230c27dd74 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a6d4e072d3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a6d4e072d3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55a6d4e05fb4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55a6d4e05fb4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55a6d4e05fb4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55a6d4e05fb4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55a6d4e05fb4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55a6d4e05fb4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55a6d4e05fb4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55a6d4e0f8d1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55a6d4e0f8d1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55a6d4ddbf4f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55a6d4ddbf4f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55a6d4ddbf4f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55a6d4ddbf4f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55a6d4ddbf4f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55a6d4ddbf4f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55a6d4ddbf4f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a6d53b46c3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55a6d53b46c3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55a6d53b46c3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f818d5bb609 - start_thread [INFO] [stdout] 42: 0x7f818d389163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] connection::tests::test_connection [INFO] [stdout] tracker::tests::test_request_peers [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin bittorrent-client' [INFO] running `Command { std: "docker" "inspect" "83af4c5326c13112ce7723a51f9d9489b9c1d02c67a839aecebadd02e6fb8c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83af4c5326c13112ce7723a51f9d9489b9c1d02c67a839aecebadd02e6fb8c2d", kill_on_drop: false }` [INFO] [stdout] 83af4c5326c13112ce7723a51f9d9489b9c1d02c67a839aecebadd02e6fb8c2d