[INFO] fetching crate tokio-proto 0.1.1... [INFO] building tokio-proto-0.1.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate tokio-proto 0.1.1 into /workspace/builds/worker-84/source [INFO] validating manifest of crates.io crate tokio-proto 0.1.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-proto 0.1.1 [INFO] finished tweaking crates.io crate tokio-proto 0.1.1 [INFO] tweaked toml for crates.io crate tokio-proto 0.1.1 written to /workspace/builds/worker-84/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be94b927951c245e3c90a722335351fd751246027ba15b13191b59e37fcb3b9b [INFO] running `Command { std: "docker" "start" "-a" "be94b927951c245e3c90a722335351fd751246027ba15b13191b59e37fcb3b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be94b927951c245e3c90a722335351fd751246027ba15b13191b59e37fcb3b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be94b927951c245e3c90a722335351fd751246027ba15b13191b59e37fcb3b9b", kill_on_drop: false }` [INFO] [stdout] be94b927951c245e3c90a722335351fd751246027ba15b13191b59e37fcb3b9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f65870cdf0f82728a8276790e9a6573c852b97fcbd4d00d1719dd154854539b [INFO] running `Command { std: "docker" "start" "-a" "6f65870cdf0f82728a8276790e9a6573c852b97fcbd4d00d1719dd154854539b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.50s [INFO] running `Command { std: "docker" "inspect" "6f65870cdf0f82728a8276790e9a6573c852b97fcbd4d00d1719dd154854539b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f65870cdf0f82728a8276790e9a6573c852b97fcbd4d00d1719dd154854539b", kill_on_drop: false }` [INFO] [stdout] 6f65870cdf0f82728a8276790e9a6573c852b97fcbd4d00d1719dd154854539b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d999bbbfc5ed7a22af84062e36eafa141f25c1bbed4e2b44e4a14eb24b824dc8 [INFO] running `Command { std: "docker" "start" "-a" "d999bbbfc5ed7a22af84062e36eafa141f25c1bbed4e2b44e4a14eb24b824dc8", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling tokio-proto v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/simple_client_proto.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/simple_client_proto.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | pub type MockBodyStream = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - pub type MockBodyStream = Box + Send>; [INFO] [stdout] 158 + pub type MockBodyStream = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 215 | | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | | Error = io::Error, [INFO] [stdout] 217 | | Future = Response>, [INFO] [stdout] 218 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 ~ Box, [INFO] [stdout] 215 | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | Error = io::Error, [INFO] [stdout] 217 | Future = Response>, [INFO] [stdout] 218 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - Box) [INFO] [stdout] 219 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:246:78 [INFO] [stdout] | [INFO] [stdout] 246 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - -> (MockTransportCtl>, Box) [INFO] [stdout] 246 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_pipeline_client.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 274 | | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | | Error = io::Error, [INFO] [stdout] 276 | | Future = Response>, [INFO] [stdout] 277 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 ~ Box, [INFO] [stdout] 274 | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | Error = io::Error, [INFO] [stdout] 276 | Future = Response>, [INFO] [stdout] 277 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - Box) [INFO] [stdout] 278 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:305:79 [INFO] [stdout] | [INFO] [stdout] 305 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - -> (MockTransportCtl>, Box) [INFO] [stdout] 305 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | type Future = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - type Future = Box + Send>; [INFO] [stdout] 27 + type Future = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | pub type MockBodyStream = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - pub type MockBodyStream = Box + Send>; [INFO] [stdout] 158 + pub type MockBodyStream = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 215 | | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | | Error = io::Error, [INFO] [stdout] 217 | | Future = Response>, [INFO] [stdout] 218 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 ~ Box, [INFO] [stdout] 215 | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | Error = io::Error, [INFO] [stdout] 217 | Future = Response>, [INFO] [stdout] 218 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> tests/simple_client_proto.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(io.framed(IntCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - Box) [INFO] [stdout] 219 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:246:78 [INFO] [stdout] | [INFO] [stdout] 246 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - -> (MockTransportCtl>, Box) [INFO] [stdout] 246 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 274 | | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | | Error = io::Error, [INFO] [stdout] 276 | | Future = Response>, [INFO] [stdout] 277 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 ~ Box, [INFO] [stdout] 274 | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | Error = io::Error, [INFO] [stdout] 276 | Future = Response>, [INFO] [stdout] 277 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - Box) [INFO] [stdout] 278 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:305:79 [INFO] [stdout] | [INFO] [stdout] 305 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - -> (MockTransportCtl>, Box) [INFO] [stdout] 305 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | type Future = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - type Future = Box + Send>; [INFO] [stdout] 27 + type Future = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_multiplex_server.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> tests/test_multiplex_server.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | c.complete((Ok(Message::WithoutBody("zomg")))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 275 - c.complete((Ok(Message::WithoutBody("zomg")))); [INFO] [stdout] 275 + c.complete(Ok(Message::WithoutBody("zomg"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | pub type MockBodyStream = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - pub type MockBodyStream = Box + Send>; [INFO] [stdout] 158 + pub type MockBodyStream = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 215 | | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | | Error = io::Error, [INFO] [stdout] 217 | | Future = Response>, [INFO] [stdout] 218 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 ~ Box, [INFO] [stdout] 215 | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | Error = io::Error, [INFO] [stdout] 217 | Future = Response>, [INFO] [stdout] 218 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - Box) [INFO] [stdout] 219 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:246:78 [INFO] [stdout] | [INFO] [stdout] 246 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - -> (MockTransportCtl>, Box) [INFO] [stdout] 246 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 274 | | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | | Error = io::Error, [INFO] [stdout] 276 | | Future = Response>, [INFO] [stdout] 277 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 ~ Box, [INFO] [stdout] 274 | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | Error = io::Error, [INFO] [stdout] 276 | Future = Response>, [INFO] [stdout] 277 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - Box) [INFO] [stdout] 278 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:305:79 [INFO] [stdout] | [INFO] [stdout] 305 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - -> (MockTransportCtl>, Box) [INFO] [stdout] 305 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | type Future = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - type Future = Box + Send>; [INFO] [stdout] 27 + type Future = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_multiplex_client.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | inner: Box Box + Send> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - inner: Box Box + Send> + Send>, [INFO] [stdout] 10 + inner: Box Box + Send> + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | pub type MockBodyStream = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - pub type MockBodyStream = Box + Send>; [INFO] [stdout] 158 + pub type MockBodyStream = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 215 | | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | | Error = io::Error, [INFO] [stdout] 217 | | Future = Response>, [INFO] [stdout] 218 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 ~ Box, [INFO] [stdout] 215 | Response = Message<&'static str, Body>, [INFO] [stdout] 216 | Error = io::Error, [INFO] [stdout] 217 | Future = Response>, [INFO] [stdout] 218 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - Box) [INFO] [stdout] 219 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:246:78 [INFO] [stdout] | [INFO] [stdout] 246 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - -> (MockTransportCtl>, Box) [INFO] [stdout] 246 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> tests/simple_framed.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | Box, [INFO] [stdout] | _____________^ [INFO] [stdout] 274 | | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | | Error = io::Error, [INFO] [stdout] 276 | | Future = Response>, [INFO] [stdout] 277 | | io::Error>>>, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 ~ Box, [INFO] [stdout] 274 | Response = Message<&'static str, Body>, [INFO] [stdout] 275 | Error = io::Error, [INFO] [stdout] 276 | Future = Response>, [INFO] [stdout] 277 ~ io::Error>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/simple_framed.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 - Box) [INFO] [stdout] 278 + Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/mock.rs:305:79 [INFO] [stdout] | [INFO] [stdout] 305 | -> (MockTransportCtl>, Box) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - -> (MockTransportCtl>, Box) [INFO] [stdout] 305 + -> (MockTransportCtl>, Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/simple_framed.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/support/service.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | type Future = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - type Future = Box + Send>; [INFO] [stdout] 27 + type Future = Box + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> tests/simple_framed.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> tests/simple_framed.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | type Future = BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> tests/simple_framed.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(io.framed(PipelineCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> tests/simple_framed.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(io.framed(MultiplexCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.65s [INFO] running `Command { std: "docker" "inspect" "d999bbbfc5ed7a22af84062e36eafa141f25c1bbed4e2b44e4a14eb24b824dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d999bbbfc5ed7a22af84062e36eafa141f25c1bbed4e2b44e4a14eb24b824dc8", kill_on_drop: false }` [INFO] [stdout] d999bbbfc5ed7a22af84062e36eafa141f25c1bbed4e2b44e4a14eb24b824dc8