[INFO] cloning repository https://github.com/0queue/boosttorrent2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0queue/boosttorrent2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec8523deb50ee9f4a00664aab31a6df150ee7cfd
[INFO] testing 0queue/boosttorrent2 against beta-2023-10-04 for beta-1.74-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent2" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0queue/boosttorrent2 on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/0queue/boosttorrent2
[INFO] finished tweaking git repo https://github.com/0queue/boosttorrent2
[INFO] tweaked toml for git repo https://github.com/0queue/boosttorrent2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/0queue/boosttorrent2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c050dce37f9bc4d082ff35610f40214dceb4225759549732d2b3bdb918ad640
[INFO] running `Command { std: "docker" "start" "-a" "0c050dce37f9bc4d082ff35610f40214dceb4225759549732d2b3bdb918ad640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c050dce37f9bc4d082ff35610f40214dceb4225759549732d2b3bdb918ad640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c050dce37f9bc4d082ff35610f40214dceb4225759549732d2b3bdb918ad640", kill_on_drop: false }`
[INFO] [stdout] 0c050dce37f9bc4d082ff35610f40214dceb4225759549732d2b3bdb918ad640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ede15bc9003a2c2a61b0fcf079edf5ecc09fd793c8fe296ef7731a25d3ea82b3
[INFO] running `Command { std: "docker" "start" "-a" "ede15bc9003a2c2a61b0fcf079edf5ecc09fd793c8fe296ef7731a25d3ea82b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.43
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling futures v0.1.25
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling byteorder v1.2.7
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling crossbeam-utils v0.5.0
[INFO] [stderr]    Compiling slab v0.4.1
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling lazycell v1.2.0
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling smallvec v0.6.5
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling httparse v1.3.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling lock_api v0.1.4
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling string v0.1.1
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling indexmap v1.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling case v0.1.0
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling bytes v0.4.11
[INFO] [stderr]    Compiling crossbeam-epoch v0.5.2
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling rand v0.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling crossbeam-deque v0.6.1
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling http v0.1.13
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling maplit v1.0.1
[INFO] [stderr]    Compiling replace_with v0.1.1
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling bit-vec v0.5.0
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio-executor v0.1.5
[INFO] [stderr]    Compiling tokio-io v0.1.10
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling want v0.0.6
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling tokio-threadpool v0.1.8
[INFO] [stderr]    Compiling tokio-timer v0.2.7
[INFO] [stderr]    Compiling tokio-current-thread v0.1.3
[INFO] [stderr]    Compiling derive-error v0.0.4
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.6
[INFO] [stderr]    Compiling tokio-fs v0.1.4
[INFO] [stderr]    Compiling simple_logger v1.0.1
[INFO] [stderr]    Compiling tokio-udp v0.1.2
[INFO] [stderr]    Compiling tokio-uds v0.2.3
[INFO] [stderr]    Compiling tokio-tcp v0.1.2
[INFO] [stderr]    Compiling tokio v0.1.11
[INFO] [stderr]    Compiling h2 v0.1.13
[INFO] [stderr]    Compiling hyper v0.12.13
[INFO] [stderr]    Compiling boosttorrent2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/boostencode/parse/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         '0'...'9' => parse_bstring(bytes),
[INFO] [stdout]    |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/metainfo/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/server/mod.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::sync::mpsc::{channel, Receiver, Sender};
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default::Default`
[INFO] [stdout]   --> src/server/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> src/server/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `future`, `io::Error`
[INFO] [stdout]   --> src/server/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     io::Error,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |         future,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/peer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Receiver,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncSink`
[INFO] [stdout]   --> src/peer/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         AsyncSink,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `derive_error::Error`
[INFO] [stdout]  --> src/peer/message.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use derive_error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Failure` is never constructed
[INFO] [stdout]   --> src/tracker/mod.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum TrackerResponse {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] 76 |     Failure(String),
[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]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Stopped` and `Completed` are never constructed
[INFO] [stdout]    --> src/tracker/mod.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 97  | enum Event {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] 98  |     Started,
[INFO] [stdout] 99  |     Stopped,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 100 |     Completed,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cancel`, `finish`, and `refresh` are never used
[INFO] [stdout]    --> src/tracker/mod.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 209 | impl Tracker {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn cancel(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn finish(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn refresh(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `hasher`, `hash`, and `sub_pieces` are never read
[INFO] [stdout]   --> src/piece/mod.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Piece {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 9  |     data: Vec<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     hasher: Sha1,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     hash: [u8; 20],
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     sub_pieces: BitVec
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `verify` are never used
[INFO] [stdout]   --> src/piece/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Piece {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(piece_size: u32, piece_hash: [u8;20]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn verify(&mut self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uploaded_sender`, `downloaded_sender`, `finished_piece_sender`, and `peers_pieces` are never read
[INFO] [stdout]   --> src/peer/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 24 |     conn: Framed<TcpStream, message::MessageCodec>,
[INFO] [stdout] 25 |     uploaded_sender: Sender<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     downloaded_sender: Sender<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     finished_piece_sender: Sender<(Piece, Sender<Piece>, BitVec)>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     peers_pieces: BitVec,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         write!(f, ", ");
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     write!(f, "{}", val);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 writeln!(f, "{{");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:149:21
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     writeln!(f, "  {} => {}", str::from_utf8(k).unwrap_or("[...bytes...]"), v);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (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 19.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "ede15bc9003a2c2a61b0fcf079edf5ecc09fd793c8fe296ef7731a25d3ea82b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ede15bc9003a2c2a61b0fcf079edf5ecc09fd793c8fe296ef7731a25d3ea82b3", kill_on_drop: false }`
[INFO] [stdout] ede15bc9003a2c2a61b0fcf079edf5ecc09fd793c8fe296ef7731a25d3ea82b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7164cd99cdf78cc45288a53db4d06db6ca89e1bb99c495ad9e8bd34f377bc317
[INFO] running `Command { std: "docker" "start" "-a" "7164cd99cdf78cc45288a53db4d06db6ca89e1bb99c495ad9e8bd34f377bc317", kill_on_drop: false }`
[INFO] [stderr]    Compiling boosttorrent2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/boostencode/parse/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         '0'...'9' => parse_bstring(bytes),
[INFO] [stdout]    |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/metainfo/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]   --> src/tracker/test.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Arc,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 12 |     RwLock,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/server/mod.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use futures::sync::mpsc::{channel, Receiver, Sender};
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default::Default`
[INFO] [stdout]   --> src/server/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> src/server/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `future`, `io::Error`
[INFO] [stdout]   --> src/server/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     io::Error,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |         future,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/peer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Receiver,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncSink`
[INFO] [stdout]   --> src/peer/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         AsyncSink,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `derive_error::Error`
[INFO] [stdout]  --> src/peer/message.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use derive_error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Failure` is never constructed
[INFO] [stdout]   --> src/tracker/mod.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum TrackerResponse {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] 76 |     Failure(String),
[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]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Stopped` and `Completed` are never constructed
[INFO] [stdout]    --> src/tracker/mod.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 97  | enum Event {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] 98  |     Started,
[INFO] [stdout] 99  |     Stopped,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 100 |     Completed,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cancel`, `finish`, and `refresh` are never used
[INFO] [stdout]    --> src/tracker/mod.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 209 | impl Tracker {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn cancel(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn finish(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn refresh(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `hasher`, `hash`, and `sub_pieces` are never read
[INFO] [stdout]   --> src/piece/mod.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Piece {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 9  |     data: Vec<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     hasher: Sha1,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     hash: [u8; 20],
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     sub_pieces: BitVec
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `verify` are never used
[INFO] [stdout]   --> src/piece/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Piece {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(piece_size: u32, piece_hash: [u8;20]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn verify(&mut self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uploaded_sender`, `downloaded_sender`, `finished_piece_sender`, and `peers_pieces` are never read
[INFO] [stdout]   --> src/peer/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 24 |     conn: Framed<TcpStream, message::MessageCodec>,
[INFO] [stdout] 25 |     uploaded_sender: Sender<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     downloaded_sender: Sender<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     finished_piece_sender: Sender<(Piece, Sender<Piece>, BitVec)>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     peers_pieces: BitVec,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         write!(f, ", ");
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |                     write!(f, "{}", val);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 writeln!(f, "{{");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/boostencode/mod.rs:149:21
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     writeln!(f, "  {} => {}", str::from_utf8(k).unwrap_or("[...bytes...]"), v);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.52s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7164cd99cdf78cc45288a53db4d06db6ca89e1bb99c495ad9e8bd34f377bc317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7164cd99cdf78cc45288a53db4d06db6ca89e1bb99c495ad9e8bd34f377bc317", kill_on_drop: false }`
[INFO] [stdout] 7164cd99cdf78cc45288a53db4d06db6ca89e1bb99c495ad9e8bd34f377bc317
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d3a7f020ecf02b19047bda147e4bdbffaee7c75dba4d25bb41bf1b4fff6e3b9d
[INFO] running `Command { std: "docker" "start" "-a" "d3a7f020ecf02b19047bda147e4bdbffaee7c75dba4d25bb41bf1b4fff6e3b9d", kill_on_drop: false }`
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/boostencode/parse/mod.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 |         '0'...'9' => parse_bstring(bytes),
[INFO] [stderr]    |            ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/metainfo/mod.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc`, `RwLock`
[INFO] [stderr]   --> src/tracker/test.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     Arc,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 12 |     RwLock,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Receiver`
[INFO] [stderr]  --> src/server/mod.rs:2:36
[INFO] [stderr]   |
[INFO] [stderr] 2 | use futures::sync::mpsc::{channel, Receiver, Sender};
[INFO] [stderr]   |                                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::default::Default`
[INFO] [stderr]   --> src/server/mod.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::default::Default;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Deref`
[INFO] [stderr]   --> src/server/mod.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::ops::Deref;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `future`, `io::Error`
[INFO] [stderr]   --> src/server/mod.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     io::Error,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |         future,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Receiver`
[INFO] [stderr]  --> src/peer/mod.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     Receiver,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AsyncSink`
[INFO] [stderr]   --> src/peer/mod.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |         AsyncSink,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `derive_error::Error`
[INFO] [stderr]  --> src/peer/message.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use derive_error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Failure` is never constructed
[INFO] [stderr]   --> src/tracker/mod.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub enum TrackerResponse {
[INFO] [stderr]    |          --------------- variant in this enum
[INFO] [stderr] 76 |     Failure(String),
[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]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Stopped` and `Completed` are never constructed
[INFO] [stderr]    --> src/tracker/mod.rs:99:5
[INFO] [stderr]     |
[INFO] [stderr] 97  | enum Event {
[INFO] [stderr]     |      ----- variants in this enum
[INFO] [stderr] 98  |     Started,
[INFO] [stderr] 99  |     Stopped,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 100 |     Completed,
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `cancel`, `finish`, and `refresh` are never used
[INFO] [stderr]    --> src/tracker/mod.rs:232:12
[INFO] [stderr]     |
[INFO] [stderr] 209 | impl Tracker {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 232 |     pub fn cancel(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 237 |     pub fn finish(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 242 |     pub fn refresh(&mut self, left: u64, uploaded: u64, downloaded: u64) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `data`, `hasher`, `hash`, and `sub_pieces` are never read
[INFO] [stderr]   --> src/piece/mod.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr] 8  | pub struct Piece {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 9  |     data: Vec<u8>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 10 |     hasher: Sha1,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 11 |     hash: [u8; 20],
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     sub_pieces: BitVec
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `verify` are never used
[INFO] [stderr]   --> src/piece/mod.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Piece {
[INFO] [stderr]    | ---------- associated items in this implementation
[INFO] [stderr] 18 |     pub fn new(piece_size: u32, piece_hash: [u8;20]) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn verify(&mut self) -> bool {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `uploaded_sender`, `downloaded_sender`, `finished_piece_sender`, and `peers_pieces` are never read
[INFO] [stderr]   --> src/peer/mod.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct Peer {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr] 24 |     conn: Framed<TcpStream, message::MessageCodec>,
[INFO] [stderr] 25 |     uploaded_sender: Sender<u32>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 26 |     downloaded_sender: Sender<u32>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     finished_piece_sender: Sender<(Piece, Sender<Piece>, BitVec)>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 30 |     peers_pieces: BitVec,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/boostencode/mod.rs:137:25
[INFO] [stderr]     |
[INFO] [stderr] 137 |                         write!(f, ", ");
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/boostencode/mod.rs:140:21
[INFO] [stderr]     |
[INFO] [stderr] 140 |                     write!(f, "{}", val);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/boostencode/mod.rs:147:17
[INFO] [stderr]     |
[INFO] [stderr] 147 |                 writeln!(f, "{{");
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/boostencode/mod.rs:149:21
[INFO] [stderr]     |
[INFO] [stderr] 149 |                     writeln!(f, "  {} => {}", str::from_utf8(k).unwrap_or("[...bytes...]"), v);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `boosttorrent2` (bin "boosttorrent2" test) generated 20 warnings (run `cargo fix --bin "boosttorrent2" --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/boosttorrent2-5c41b2964bdf19c5)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test boostencode::parse::test::test_parse_bstring ... ok
[INFO] [stdout] test boostencode::parse::test::test_parse_integer_negative_zero ... ok
[INFO] [stdout] test boostencode::parse::test::test_parse_integer ... ok
[INFO] [stdout] test boostencode::parse::test::test_parse_integer_literal ... ok
[INFO] [stdout] test boostencode::parse::test::test_parse_integer_leading_zero ... ok
[INFO] [stdout] test boostencode::parse::test::test_parse_list ... ok
[INFO] [stdout] test metainfo::test::test_metainfo_from_value_trivial_invalid ... ok
[INFO] [stdout] test boostencode::parse::test::test_parses_dict ... ok
[INFO] [stdout] test boostencode::test::test_encode ... ok
[INFO] [stdout] test metainfo::test::test_metainfo_from_value_valid ... ok
[INFO] [stdout] test boostencode::parse::test::test_parse_dict_not_ascending ... ok
[INFO] [stdout] test boostencode::test::test_compare_bstring ... ok
[INFO] [stderr] error: test failed, to rerun pass `--bin boosttorrent2`
[INFO] [stdout] test tracker::test::test_announce ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tracker::test::test_announce stdout ----
[INFO] [stdout] thread 'tracker::test::test_announce' panicked at src/tracker/test.rs:55:48:
[INFO] [stdout] start should not return error: ConnectionError(Error { kind: Connect, cause: Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" } })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55e9e5be8dbc - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55e9e5be8dbc - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55e9e5be8dbc - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x55e9e5be8dbc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hae0f2018b67c9dd2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55e9e5c157bc - core::fmt::rt::Argument::fmt::h0aeca3e83668e143
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x55e9e5c157bc - core::fmt::write::h96bf1b6ef709071f
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21
[INFO] [stdout]    6:     0x55e9e5be566e - std::io::Write::write_fmt::hcfdabc06f3bbacfb
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15
[INFO] [stdout]    7:     0x55e9e5be8ba4 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55e9e5be8ba4 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55e9e5bea963 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22
[INFO] [stdout]   10:     0x55e9e5bea607 - std::panicking::default_hook::h81f354a056ffc649
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55e9e59529ec - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h16c22045506fc2d3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x55e9e59529ec - test::test_main::{{closure}}::hd8d5b5bb0900d116
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x55e9e5beb061 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2d4fa3dcc7099287
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x55e9e5beb061 - std::panicking::rust_panic_with_hook::h1387a687c5711a74
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:735:13
[INFO] [stdout]   15:     0x55e9e5beade1 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:609:13
[INFO] [stdout]   16:     0x55e9e5be92e6 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x55e9e5beab32 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5
[INFO] [stdout]   18:     0x55e9e5837c15 - core::panicking::panic_fmt::h8398f9bd40a2efcd
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55e9e58381e3 - core::result::unwrap_failed::heaac613e95fb85f7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/result.rs:1652:5
[INFO] [stdout]   20:     0x55e9e58dd06e - core::result::Result<T,E>::expect::h016a448e6de78ed4
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/result.rs:1034:23
[INFO] [stdout]   21:     0x55e9e591f1a0 - boosttorrent2::tracker::test::test_announce::h95bd5b1490205617
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tracker/test.rs:55:22
[INFO] [stdout]   22:     0x55e9e591ee07 - boosttorrent2::tracker::test::test_announce::{{closure}}::h184af7cacae2256e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tracker/test.rs:39:20
[INFO] [stdout]   23:     0x55e9e58672b6 - core::ops::function::FnOnce::call_once::hdceffb868b5837b7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55e9e5957a7f - core::ops::function::FnOnce::call_once::h643f2128867058a3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55e9e5957a7f - test::__rust_begin_short_backtrace::h5ffb0cd5eda0704e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:626:18
[INFO] [stdout]   26:     0x55e9e5956b0e - test::run_test_in_process::{{closure}}::h5f3f2c50e89f10f6
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:60
[INFO] [stdout]   27:     0x55e9e5956b0e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc7bb05d011c94549
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x55e9e5956b0e - std::panicking::try::do_call::hc2952fe5005bc351
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   29:     0x55e9e5956b0e - std::panicking::try::hac512ea76b947046
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   30:     0x55e9e5956b0e - std::panic::catch_unwind::h11d3922f3ba31e4b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x55e9e5956b0e - test::run_test_in_process::h25ad0551c6887d56
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:27
[INFO] [stdout]   32:     0x55e9e5956b0e - test::run_test::{{closure}}::h52dd364f39118330
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:572:43
[INFO] [stdout]   33:     0x55e9e591fa63 - test::run_test::{{closure}}::ha452ffb46088765b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:600:41
[INFO] [stdout]   34:     0x55e9e591fa63 - std::sys_common::backtrace::__rust_begin_short_backtrace::he611e39b84a68325
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x55e9e5924c9b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1f6f90a021c1ddc7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x55e9e5924c9b - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hde337ea7211d438c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x55e9e5924c9b - std::panicking::try::do_call::hd7199cb78d8df0a5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   38:     0x55e9e5924c9b - std::panicking::try::hed28d716c8fe6b32
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   39:     0x55e9e5924c9b - std::panic::catch_unwind::h8ab888e8615782f1
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x55e9e5924c9b - std::thread::Builder::spawn_unchecked_::{{closure}}::h3acf7202ecbb668e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x55e9e5924c9b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc15bd9319945b48c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55e9e5bef6e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9281b5fb2305c571
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x55e9e5bef6e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hae9cb5d464ed2f06
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x55e9e5bef6e5 - std::sys::unix::thread::Thread::new::thread_start::he78e4489414f6551
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f75edc79b43 - <unknown>
[INFO] [stdout]   46:     0x7f75edd0abb4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tracker::test::test_announce
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d3a7f020ecf02b19047bda147e4bdbffaee7c75dba4d25bb41bf1b4fff6e3b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3a7f020ecf02b19047bda147e4bdbffaee7c75dba4d25bb41bf1b4fff6e3b9d", kill_on_drop: false }`
[INFO] [stdout] d3a7f020ecf02b19047bda147e4bdbffaee7c75dba4d25bb41bf1b4fff6e3b9d
