[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.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinmoon%2Fbittorrent" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/justinmoon/bittorrent on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.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-10/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.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hyper-tls v0.4.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.6
[INFO] [stderr]   Downloaded reqwest v0.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.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] 5b185b64b3b99803c097c2cd2f4e7c5f5b7042d3bbe456c0570dc96fa4ab9300
[INFO] running `Command { std: "docker" "start" "-a" "5b185b64b3b99803c097c2cd2f4e7c5f5b7042d3bbe456c0570dc96fa4ab9300", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b185b64b3b99803c097c2cd2f4e7c5f5b7042d3bbe456c0570dc96fa4ab9300", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b185b64b3b99803c097c2cd2f4e7c5f5b7042d3bbe456c0570dc96fa4ab9300", kill_on_drop: false }`
[INFO] [stdout] 5b185b64b3b99803c097c2cd2f4e7c5f5b7042d3bbe456c0570dc96fa4ab9300
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--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] 193606db8e6b956c858b6ba5fa2df8eae69246c7e45658f2d595743fd175f888
[INFO] running `Command { std: "docker" "start" "-a" "193606db8e6b956c858b6ba5fa2df8eae69246c7e45658f2d595743fd175f888", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling syn v1.0.13
[INFO] [stderr]    Compiling cc v1.0.48
[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 openssl v0.10.26
[INFO] [stderr]    Compiling smallvec v1.1.0
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling futures-sink v0.3.1
[INFO] [stderr]    Compiling futures-io v0.3.1
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling mime v0.3.14
[INFO] [stderr]    Compiling dtoa v0.4.4
[INFO] [stderr]    Compiling regex-syntax v0.6.13
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.1
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.11
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.53
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling sha-1 v0.8.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling tokio v0.2.6
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling regex v1.3.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[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 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_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_bytes v0.10.5
[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<String, Box<dyn Error>> {
[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<dyn Error>> {
[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<u8>,
[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 41s
[INFO] running `Command { std: "docker" "inspect" "193606db8e6b956c858b6ba5fa2df8eae69246c7e45658f2d595743fd175f888", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "193606db8e6b956c858b6ba5fa2df8eae69246c7e45658f2d595743fd175f888", kill_on_drop: false }`
[INFO] [stdout] 193606db8e6b956c858b6ba5fa2df8eae69246c7e45658f2d595743fd175f888
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9388a8154a1d9aa60df55df0c4bd15af16d4ed25ed534ae88e782f3ad9140c6f
[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" "9388a8154a1d9aa60df55df0c4bd15af16d4ed25ed534ae88e782f3ad9140c6f", 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<String, Box<dyn Error>> {
[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<u8>,
[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.47s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bittorrent_client-5c8684ce5a99b1be)
[INFO] running `Command { std: "docker" "inspect" "9388a8154a1d9aa60df55df0c4bd15af16d4ed25ed534ae88e782f3ad9140c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9388a8154a1d9aa60df55df0c4bd15af16d4ed25ed534ae88e782f3ad9140c6f", kill_on_drop: false }`
[INFO] [stdout] 9388a8154a1d9aa60df55df0c4bd15af16d4ed25ed534ae88e782f3ad9140c6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2d7b983131805f763f65ac765e0c769af42f56d26845b10af7f674a158d19d60
[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" "2d7b983131805f763f65ac765e0c769af42f56d26845b10af7f674a158d19d60", kill_on_drop: false }`
[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<String, Box<dyn Error>> {
[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<u8>,
[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.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bittorrent_client-5c8684ce5a99b1be)
[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 connection::tests::test_connection ... FAILED
[INFO] [stdout] test tracker::tests::test_request_peers ... FAILED
[INFO] [stdout] test torrent::tests::test_it ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[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=%D3%AE%B1%44%13%8D%3B%92%2E%22%A7%9D%2F%46%DF%39%20%5C%F5%F4&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:     0x556f5c3b846d - std::backtrace_rs::backtrace::libunwind::trace::hb729d9642bb971eb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x556f5c3b846d - std::backtrace_rs::backtrace::trace_unsynchronized::h373bb774579df5c7
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x556f5c3b846d - std::sys_common::backtrace::_print_fmt::hfbd4e92d240c89bb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x556f5c3b846d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h8f618991fbf64972
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x556f5c3dc4ac - core::fmt::write::hc69b5b640d88cce8
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/fmt/mod.rs:1196:17
[INFO] [stdout]    5:     0x556f5c3b20d1 - std::io::Write::write_fmt::ha26c36dcff4a27b3
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/io/mod.rs:1654:15
[INFO] [stdout]    6:     0x556f5c3b9f65 - std::sys_common::backtrace::_print::h368f27cdedea0e52
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x556f5c3b9f65 - std::sys_common::backtrace::print::ha105c9cf5a64cd17
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x556f5c3b9f65 - std::panicking::default_hook::{{closure}}::h48ed2c3707d5e20e
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x556f5c3b9c10 - std::panicking::default_hook::h8744fc5cea5e3110
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x556f5c3ba538 - std::panicking::rust_panic_with_hook::hc82286af2030e925
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x556f5c3ba3e7 - std::panicking::begin_panic_handler::{{closure}}::h1c15057c2f09081f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x556f5c3b8924 - std::sys_common::backtrace::__rust_end_short_backtrace::h65de906a5330f8da
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x556f5c3ba119 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x556f5bda0d93 - core::panicking::panic_fmt::h741cfbfc95bc6112
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x556f5bda0e83 - core::result::unwrap_failed::h995262f85f9c4e2c
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/result.rs:1785:5
[INFO] [stdout]   16:     0x556f5bdbe4e6 - core::result::Result<T,E>::unwrap::h81209b8653acc472
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/result.rs:1078:23
[INFO] [stdout]   17:     0x556f5bdd325c - bittorrent_client::connection::tests::test_connection::h4d8689057ba82504
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:210:30
[INFO] [stdout]   18:     0x556f5bdd30da - bittorrent_client::connection::tests::test_connection::{{closure}}::h05b7379ac376767e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/connection.rs:203:5
[INFO] [stdout]   19:     0x556f5bdb06be - core::ops::function::FnOnce::call_once::h642ebd06e4b85a3a
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   20:     0x556f5be087e3 - core::ops::function::FnOnce::call_once::h6821f4fbcdf2879a
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   21:     0x556f5be087e3 - test::__rust_begin_short_backtrace::hf6bfbc319fc059de
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:573:5
[INFO] [stdout]   22:     0x556f5be0752a - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h97349ccabd0ff698
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   23:     0x556f5be0752a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8e8475613b67a167
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   24:     0x556f5be0752a - std::panicking::try::do_call::h322f99a861722024
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:492:40
[INFO] [stdout]   25:     0x556f5be0752a - std::panicking::try::h93ad00b991f99f6f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:456:19
[INFO] [stdout]   26:     0x556f5be0752a - std::panic::catch_unwind::h4be9110dc182f7b8
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panic.rs:137:14
[INFO] [stdout]   27:     0x556f5be0752a - test::run_test_in_process::h61c47e711341c62a
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:596:18
[INFO] [stdout]   28:     0x556f5be0752a - test::run_test::run_test_inner::{{closure}}::hcea6f4445d93c036
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:490:39
[INFO] [stdout]   29:     0x556f5bdd377d - test::run_test::run_test_inner::{{closure}}::hfbfffeb4e1bd3f31
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:517:37
[INFO] [stdout]   30:     0x556f5bdd377d - std::sys_common::backtrace::__rust_begin_short_backtrace::h4ae2aa17cadab5d9
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   31:     0x556f5bdd9268 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h2b8fca56a3213304
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/thread/mod.rs:501:17
[INFO] [stdout]   32:     0x556f5bdd9268 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h570c01049d92da17
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   33:     0x556f5bdd9268 - std::panicking::try::do_call::hf58ab89e1d6c413c
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:492:40
[INFO] [stdout]   34:     0x556f5bdd9268 - std::panicking::try::hc2c0b5371ab66b31
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:456:19
[INFO] [stdout]   35:     0x556f5bdd9268 - std::panic::catch_unwind::h26f85cf112d3e05f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panic.rs:137:14
[INFO] [stdout]   36:     0x556f5bdd9268 - std::thread::Builder::spawn_unchecked_::{{closure}}::h522348332e8a5947
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/thread/mod.rs:500:30
[INFO] [stdout]   37:     0x556f5bdd9268 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd25bd2a19e60abb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   38:     0x556f5c3bee03 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcbca3baf872b7fe4
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   39:     0x556f5c3bee03 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h18790338ce1743e2
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   40:     0x556f5c3bee03 - std::sys::unix::thread::Thread::new::thread_start::hb1067183bad48893
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   41:     0x7f2c26574609 - start_thread
[INFO] [stdout]   42:     0x7f2c26342133 - clone
[INFO] [stdout]   43:                0x0 - <unknown>
[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=%25%10%3F%34%AE%C2%41%74%6A%C5%A7%BE%56%A6%41%7F%7C%66%D8%A0&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:     0x556f5c3b846d - std::backtrace_rs::backtrace::libunwind::trace::hb729d9642bb971eb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x556f5c3b846d - std::backtrace_rs::backtrace::trace_unsynchronized::h373bb774579df5c7
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x556f5c3b846d - std::sys_common::backtrace::_print_fmt::hfbd4e92d240c89bb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x556f5c3b846d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h8f618991fbf64972
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x556f5c3dc4ac - core::fmt::write::hc69b5b640d88cce8
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/fmt/mod.rs:1196:17
[INFO] [stdout]    5:     0x556f5c3b20d1 - std::io::Write::write_fmt::ha26c36dcff4a27b3
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/io/mod.rs:1654:15
[INFO] [stdout]    6:     0x556f5c3b9f65 - std::sys_common::backtrace::_print::h368f27cdedea0e52
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x556f5c3b9f65 - std::sys_common::backtrace::print::ha105c9cf5a64cd17
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x556f5c3b9f65 - std::panicking::default_hook::{{closure}}::h48ed2c3707d5e20e
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x556f5c3b9c10 - std::panicking::default_hook::h8744fc5cea5e3110
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x556f5c3ba538 - std::panicking::rust_panic_with_hook::hc82286af2030e925
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x556f5c3ba3e7 - std::panicking::begin_panic_handler::{{closure}}::h1c15057c2f09081f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x556f5c3b8924 - std::sys_common::backtrace::__rust_end_short_backtrace::h65de906a5330f8da
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x556f5c3ba119 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x556f5bda0d93 - core::panicking::panic_fmt::h741cfbfc95bc6112
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x556f5bda0e83 - core::result::unwrap_failed::h995262f85f9c4e2c
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/result.rs:1785:5
[INFO] [stdout]   16:     0x556f5bdbe4e6 - core::result::Result<T,E>::unwrap::h81209b8653acc472
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/result.rs:1078:23
[INFO] [stdout]   17:     0x556f5bdc2e05 - bittorrent_client::tracker::tests::test_request_peers::hcad07e94b9be4dc9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tracker.rs:107:30
[INFO] [stdout]   18:     0x556f5bdc2caa - bittorrent_client::tracker::tests::test_request_peers::{{closure}}::h42f2c98e92e2705f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tracker.rs:101:5
[INFO] [stdout]   19:     0x556f5bdb05fe - core::ops::function::FnOnce::call_once::h165b2e2971397793
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   20:     0x556f5be087e3 - core::ops::function::FnOnce::call_once::h6821f4fbcdf2879a
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   21:     0x556f5be087e3 - test::__rust_begin_short_backtrace::hf6bfbc319fc059de
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:573:5
[INFO] [stdout]   22:     0x556f5be0752a - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h97349ccabd0ff698
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   23:     0x556f5be0752a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8e8475613b67a167
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   24:     0x556f5be0752a - std::panicking::try::do_call::h322f99a861722024
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:492:40
[INFO] [stdout]   25:     0x556f5be0752a - std::panicking::try::h93ad00b991f99f6f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:456:19
[INFO] [stdout]   26:     0x556f5be0752a - std::panic::catch_unwind::h4be9110dc182f7b8
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panic.rs:137:14
[INFO] [stdout]   27:     0x556f5be0752a - test::run_test_in_process::h61c47e711341c62a
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:596:18
[INFO] [stdout]   28:     0x556f5be0752a - test::run_test::run_test_inner::{{closure}}::hcea6f4445d93c036
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:490:39
[INFO] [stdout]   29:     0x556f5bdd377d - test::run_test::run_test_inner::{{closure}}::hfbfffeb4e1bd3f31
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:517:37
[INFO] [stdout]   30:     0x556f5bdd377d - std::sys_common::backtrace::__rust_begin_short_backtrace::h4ae2aa17cadab5d9
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   31:     0x556f5bdd9268 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h2b8fca56a3213304
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/thread/mod.rs:501:17
[INFO] [stdout]   32:     0x556f5bdd9268 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h570c01049d92da17
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   33:     0x556f5bdd9268 - std::panicking::try::do_call::hf58ab89e1d6c413c
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:492:40
[INFO] [stdout]   34:     0x556f5bdd9268 - std::panicking::try::hc2c0b5371ab66b31
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:456:19
[INFO] [stdout]   35:     0x556f5bdd9268 - std::panic::catch_unwind::h26f85cf112d3e05f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panic.rs:137:14
[INFO] [stdout]   36:     0x556f5bdd9268 - std::thread::Builder::spawn_unchecked_::{{closure}}::h522348332e8a5947
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/thread/mod.rs:500:30
[INFO] [stdout]   37:     0x556f5bdd9268 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd25bd2a19e60abb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   38:     0x556f5c3bee03 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcbca3baf872b7fe4
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   39:     0x556f5c3bee03 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h18790338ce1743e2
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   40:     0x556f5c3bee03 - std::sys::unix::thread::Thread::new::thread_start::hb1067183bad48893
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   41:     0x7f2c26574609 - start_thread
[INFO] [stdout]   42:     0x7f2c26342133 - clone
[INFO] [stdout]   43:                0x0 - <unknown>
[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.57s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--bin bittorrent-client'
[INFO] running `Command { std: "docker" "inspect" "2d7b983131805f763f65ac765e0c769af42f56d26845b10af7f674a158d19d60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d7b983131805f763f65ac765e0c769af42f56d26845b10af7f674a158d19d60", kill_on_drop: false }`
[INFO] [stdout] 2d7b983131805f763f65ac765e0c769af42f56d26845b10af7f674a158d19d60
