[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 1.75.0 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0queue/boosttorrent2 on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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-5-tc1/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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded case v0.1.0 [INFO] [stderr] Downloaded tokio-uds v0.2.3 [INFO] [stderr] Downloaded tokio-timer v0.2.7 [INFO] [stderr] Downloaded tokio-current-thread v0.1.3 [INFO] [stderr] Downloaded simple_logger v1.0.1 [INFO] [stderr] Downloaded derive-error v0.0.4 [INFO] [stderr] Downloaded http v0.1.13 [INFO] [stderr] Downloaded bit-vec v0.5.0 [INFO] [stderr] Downloaded tokio v0.1.11 [INFO] [stderr] Downloaded tokio-threadpool v0.1.8 [INFO] [stderr] Downloaded replace_with v0.1.1 [INFO] [stderr] Downloaded hyper v0.12.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b5b3af5434d76f5e7db69e0e39afadd45531bb3be15e85fea01e4dd64c69e57 [INFO] running `Command { std: "docker" "start" "-a" "8b5b3af5434d76f5e7db69e0e39afadd45531bb3be15e85fea01e4dd64c69e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b5b3af5434d76f5e7db69e0e39afadd45531bb3be15e85fea01e4dd64c69e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5b3af5434d76f5e7db69e0e39afadd45531bb3be15e85fea01e4dd64c69e57", kill_on_drop: false }` [INFO] [stdout] 8b5b3af5434d76f5e7db69e0e39afadd45531bb3be15e85fea01e4dd64c69e57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05bd3e04209bc7c2f282244ee20c208c60e30c3f3e3b35036f14b7397e95a468 [INFO] running `Command { std: "docker" "start" "-a" "05bd3e04209bc7c2f282244ee20c208c60e30c3f3e3b35036f14b7397e95a468", 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 semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.1 [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 lazy_static v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [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 fnv v1.0.6 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling case v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling replace_with v0.1.1 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling derive-error v0.0.4 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling simple_logger v1.0.1 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio v0.1.11 [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 [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, [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, [INFO] [stdout] 25 | uploaded_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | downloaded_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | finished_piece_sender: Sender<(Piece, Sender, 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.98s [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 3` [INFO] running `Command { std: "docker" "inspect" "05bd3e04209bc7c2f282244ee20c208c60e30c3f3e3b35036f14b7397e95a468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05bd3e04209bc7c2f282244ee20c208c60e30c3f3e3b35036f14b7397e95a468", kill_on_drop: false }` [INFO] [stdout] 05bd3e04209bc7c2f282244ee20c208c60e30c3f3e3b35036f14b7397e95a468 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a32fa167ef829076f2120ff2aeeaf54b2f92f88069ec7e992ac2f9eda53db38f [INFO] running `Command { std: "docker" "start" "-a" "a32fa167ef829076f2120ff2aeeaf54b2f92f88069ec7e992ac2f9eda53db38f", 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 [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, [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, [INFO] [stdout] 25 | uploaded_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | downloaded_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | finished_piece_sender: Sender<(Piece, Sender, 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 5.61s [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 3` [INFO] running `Command { std: "docker" "inspect" "a32fa167ef829076f2120ff2aeeaf54b2f92f88069ec7e992ac2f9eda53db38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a32fa167ef829076f2120ff2aeeaf54b2f92f88069ec7e992ac2f9eda53db38f", kill_on_drop: false }` [INFO] [stdout] a32fa167ef829076f2120ff2aeeaf54b2f92f88069ec7e992ac2f9eda53db38f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1860ce339a82956504898d61b2bb44c14bdefaf6e7d8506b597f022990604d06 [INFO] running `Command { std: "docker" "start" "-a" "1860ce339a82956504898d61b2bb44c14bdefaf6e7d8506b597f022990604d06", 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 [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, [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, [INFO] [stderr] 25 | uploaded_sender: Sender, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 26 | downloaded_sender: Sender, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | finished_piece_sender: Sender<(Piece, Sender, 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.10s [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 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/boosttorrent2-34ab4861d3d8fdf0) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test boostencode::test::test_encode ... 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 metainfo::test::test_metainfo_from_value_valid ... ok [INFO] [stdout] test boostencode::parse::test::test_parse_integer_literal ... 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_leading_zero ... ok [INFO] [stdout] test boostencode::test::test_compare_bstring ... ok [INFO] [stdout] test boostencode::parse::test::test_parse_list ... ok [INFO] [stdout] test boostencode::parse::test::test_parse_bstring ... ok [INFO] [stdout] test boostencode::parse::test::test_parse_dict_not_ascending ... ok [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: 0x55e4191aa40c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55e4191aa40c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e4191aa40c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e4191aa40c - ::fmt::hed7f999df88cc644 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55e4191d7220 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55e4191d7220 - core::fmt::write::h3a39390d8560d9c9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55e4191a742f - std::io::Write::write_fmt::h040b369f3a0f9cbc [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15 [INFO] [stdout] 7: 0x55e4191aa1f4 - std::sys_common::backtrace::_print::h894006fb5c6f3d45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55e4191aa1f4 - std::sys_common::backtrace::print::h23a2d212c6fff936 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55e4191abeb7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a [INFO] [stdout] 10: 0x55e4191abba3 - std::panicking::default_hook::h6038f2eba384e475 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55e418f115a7 - as core::ops::function::Fn>::call::h0ad024c9bdc6d768 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x55e418f115a7 - test::test_main::{{closure}}::h7500b54257359db6 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x55e4191ac4c8 - as core::ops::function::Fn>::call::h1f8f335eaa9cfaee [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x55e4191ac4c8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x55e4191ac21e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x55e4191aa8d6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stdout] 17: 0x55e4191abf82 - rust_begin_unwind [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x55e418df03b5 - core::panicking::panic_fmt::hbf0e066aabfa482c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55e418df0983 - core::result::unwrap_failed::hddb4fea594200c52 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5 [INFO] [stdout] 20: 0x55e418eaea4e - core::result::Result::expect::h4071f7de14a79552 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1034:23 [INFO] [stdout] 21: 0x55e418e10850 - boosttorrent2::tracker::test::test_announce::h8ce7bb111cbaedf9 [INFO] [stdout] at /opt/rustwide/workdir/src/tracker/test.rs:55:22 [INFO] [stdout] 22: 0x55e418e104b7 - boosttorrent2::tracker::test::test_announce::{{closure}}::he8ef2516cdc79f4d [INFO] [stdout] at /opt/rustwide/workdir/src/tracker/test.rs:39:19 [INFO] [stdout] 23: 0x55e418e8ef26 - core::ops::function::FnOnce::call_once::hd17265d0bafc12f0 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55e418f16bff - core::ops::function::FnOnce::call_once::h2b5d431d5046312d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55e418f16bff - test::__rust_begin_short_backtrace::h7714669af176e207 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18 [INFO] [stdout] 26: 0x55e418f15c15 - test::run_test_in_process::{{closure}}::h85218797dcbcec12 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60 [INFO] [stdout] 27: 0x55e418f15c15 - as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x55e418f15c15 - std::panicking::try::do_call::h3bd5d0f6620ee946 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 29: 0x55e418f15c15 - std::panicking::try::h232e535e4744fe31 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 30: 0x55e418f15c15 - std::panic::catch_unwind::h3ce3bd6ca8dbac68 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x55e418f15c15 - test::run_test_in_process::hc97b257c9621286a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27 [INFO] [stdout] 32: 0x55e418f15c15 - test::run_test::{{closure}}::h2aa798823a438d38 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43 [INFO] [stdout] 33: 0x55e418edded6 - test::run_test::{{closure}}::h87d231c78fb59832 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41 [INFO] [stdout] 34: 0x55e418edded6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18 [INFO] [stdout] 35: 0x55e418ee2f87 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x55e418ee2f87 - as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x55e418ee2f87 - std::panicking::try::do_call::h9057517f80303cd4 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 38: 0x55e418ee2f87 - std::panicking::try::he3a30b11ee45340c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 39: 0x55e418ee2f87 - std::panic::catch_unwind::h410458cfd3528b8b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x55e418ee2f87 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x55e418ee2f87 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55e4191b0fc5 - as core::ops::function::FnOnce>::call_once::hc7eafaff61e32df9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 43: 0x55e4191b0fc5 - as core::ops::function::FnOnce>::call_once::h6ba4a5de48dd2304 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 44: 0x55e4191b0fc5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fd0ab0edac3 - [INFO] [stdout] 46: 0x7fd0ab17ebf4 - __clone [INFO] [stdout] 47: 0x0 - [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.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin boosttorrent2` [INFO] running `Command { std: "docker" "inspect" "1860ce339a82956504898d61b2bb44c14bdefaf6e7d8506b597f022990604d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1860ce339a82956504898d61b2bb44c14bdefaf6e7d8506b597f022990604d06", kill_on_drop: false }` [INFO] [stdout] 1860ce339a82956504898d61b2bb44c14bdefaf6e7d8506b597f022990604d06 [INFO] testing 0queue/boosttorrent2 against beta-2024-01-09 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0queue%2Fboosttorrent2" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0queue/boosttorrent2 on toolchain beta-2024-01-09 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-01-09" "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-5-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-2024-01-09" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 231f7bb237ef8e36586701c59f75e7331206ea06d9e631cae6dffa695e61fb86 [INFO] running `Command { std: "docker" "start" "-a" "231f7bb237ef8e36586701c59f75e7331206ea06d9e631cae6dffa695e61fb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "231f7bb237ef8e36586701c59f75e7331206ea06d9e631cae6dffa695e61fb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231f7bb237ef8e36586701c59f75e7331206ea06d9e631cae6dffa695e61fb86", kill_on_drop: false }` [INFO] [stdout] 231f7bb237ef8e36586701c59f75e7331206ea06d9e631cae6dffa695e61fb86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be0aab8047f192192efbdc4bc8d223416c984a154fc0f013401d07b8645670fa [INFO] running `Command { std: "docker" "start" "-a" "be0aab8047f192192efbdc4bc8d223416c984a154fc0f013401d07b8645670fa", 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 semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.1 [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 lazy_static v1.1.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling case v0.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/650745ceb2ae60e04f8cd7bfb671fc37239533e4/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling bit-vec v0.5.0 [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 rand v0.3.22 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "be0aab8047f192192efbdc4bc8d223416c984a154fc0f013401d07b8645670fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0aab8047f192192efbdc4bc8d223416c984a154fc0f013401d07b8645670fa", kill_on_drop: false }` [INFO] [stdout] be0aab8047f192192efbdc4bc8d223416c984a154fc0f013401d07b8645670fa