[INFO] fetching crate tokio_kcp 0.7.1... [INFO] testing tokio_kcp-0.7.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate tokio_kcp 0.7.1 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate tokio_kcp 0.7.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio_kcp 0.7.1 [INFO] finished tweaking crates.io crate tokio_kcp 0.7.1 [INFO] tweaked toml for crates.io crate tokio_kcp 0.7.1 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4eab07fdb1e8bafac303ad4b5ec4b66e4b3d77b09a1b2729b47da0446d87c8e [INFO] running `Command { std: "docker" "start" "-a" "e4eab07fdb1e8bafac303ad4b5ec4b66e4b3d77b09a1b2729b47da0446d87c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4eab07fdb1e8bafac303ad4b5ec4b66e4b3d77b09a1b2729b47da0446d87c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4eab07fdb1e8bafac303ad4b5ec4b66e4b3d77b09a1b2729b47da0446d87c8e", kill_on_drop: false }` [INFO] [stdout] e4eab07fdb1e8bafac303ad4b5ec4b66e4b3d77b09a1b2729b47da0446d87c8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee22a7ca637c00d095f4912a91684cf114353901eabd88d4bc549bb0d7870355 [INFO] running `Command { std: "docker" "start" "-a" "ee22a7ca637c00d095f4912a91684cf114353901eabd88d4bc549bb0d7870355", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling ordermap v0.2.13 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling priority-queue v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling kcp v0.4.10 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tokio_kcp v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.12s [INFO] running `Command { std: "docker" "inspect" "ee22a7ca637c00d095f4912a91684cf114353901eabd88d4bc549bb0d7870355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee22a7ca637c00d095f4912a91684cf114353901eabd88d4bc549bb0d7870355", kill_on_drop: false }` [INFO] [stdout] ee22a7ca637c00d095f4912a91684cf114353901eabd88d4bc549bb0d7870355 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc0684d6358c42ac809f90832c2d9f971e128257385e042088769ef81af66ca4 [INFO] running `Command { std: "docker" "start" "-a" "bc0684d6358c42ac809f90832c2d9f971e128257385e042088769ef81af66ca4", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling tokio_kcp v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/bench_client.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | let mut fut: Option>> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/bench_client.rs:244:69 [INFO] [stdout] | [INFO] [stdout] 244 | fut = Some(Box::new(f.join(cli).map(|_| ())) as Box>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/bench_client.rs:246:53 [INFO] [stdout] | [INFO] [stdout] 246 | None => fut = Some(Box::new(cli) as Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/client.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | let (sink, stream) = stream.framed(Bytes).split(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> tests/echo.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | buf.put_u32::(self.count as u32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stdout] --> tests/echo.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | let cnt = cur.get_u32::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> examples/bench_client.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | buf.put_u32::(self.index as u32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> examples/bench_client.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | buf.put_u32::(cur); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> tests/echo_bench.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | buf.put_u32::(self.index as u32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> tests/echo_bench.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | buf.put_u32::(cur); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stdout] --> examples/bench_client.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | let sn = cur.get_u32::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stdout] --> examples/bench_client.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | let ts = cur.get_u32::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stdout] --> tests/echo_bench.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | let sn = cur.get_u32::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stdout] --> tests/echo_bench.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let ts = cur.get_u32::(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.16s [INFO] running `Command { std: "docker" "inspect" "bc0684d6358c42ac809f90832c2d9f971e128257385e042088769ef81af66ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0684d6358c42ac809f90832c2d9f971e128257385e042088769ef81af66ca4", kill_on_drop: false }` [INFO] [stdout] bc0684d6358c42ac809f90832c2d9f971e128257385e042088769ef81af66ca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fab25b55be96b6073972d5328de8d3b8ab3fd02b161f22b5b32b7116405f6b72 [INFO] running `Command { std: "docker" "start" "-a" "fab25b55be96b6073972d5328de8d3b8ab3fd02b161f22b5b32b7116405f6b72", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> examples/client.rs:55:37 [INFO] [stderr] | [INFO] [stderr] 55 | let (sink, stream) = stream.framed(Bytes).split(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stderr] --> tests/echo_bench.rs:74:17 [INFO] [stderr] | [INFO] [stderr] 74 | buf.put_u32::(self.index as u32); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stderr] --> tests/echo_bench.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | buf.put_u32::(cur); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stderr] --> tests/echo_bench.rs:136:26 [INFO] [stderr] | [INFO] [stderr] 136 | let sn = cur.get_u32::(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stderr] --> tests/echo_bench.rs:137:26 [INFO] [stderr] | [INFO] [stderr] 137 | let ts = cur.get_u32::(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stderr] --> tests/echo.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | buf.put_u32::(self.count as u32); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stderr] --> tests/echo.rs:86:27 [INFO] [stderr] | [INFO] [stderr] 86 | let cnt = cur.get_u32::(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/bench_client.rs:219:29 [INFO] [stderr] | [INFO] [stderr] 219 | let mut fut: Option>> = None; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/bench_client.rs:244:69 [INFO] [stderr] | [INFO] [stderr] 244 | fut = Some(Box::new(f.join(cli).map(|_| ())) as Box>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/bench_client.rs:246:53 [INFO] [stderr] | [INFO] [stderr] 246 | None => fut = Some(Box::new(cli) as Box>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stderr] --> examples/bench_client.rs:74:17 [INFO] [stderr] | [INFO] [stderr] 74 | buf.put_u32::(self.index as u32); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stderr] --> examples/bench_client.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | buf.put_u32::(cur); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stderr] --> examples/bench_client.rs:138:26 [INFO] [stderr] | [INFO] [stderr] 138 | let sn = cur.get_u32::(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::Buf::get_u32`: use get_u32_be or get_u32_le [INFO] [stderr] --> examples/bench_client.rs:139:26 [INFO] [stderr] | [INFO] [stderr] 139 | let ts = cur.get_u32::(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tokio_kcp` (example "client") generated 1 warning [INFO] [stderr] warning: `tokio_kcp` (test "echo_bench") generated 4 warnings [INFO] [stderr] warning: `tokio_kcp` (test "echo") generated 2 warnings [INFO] [stderr] warning: `tokio_kcp` (example "bench_client") generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tokio_kcp-991d29b4f7b0b42b) [INFO] [stdout] [INFO] [stderr] Running tests/echo.rs (/opt/rustwide/target/debug/deps/echo-46f83d26d5049eaa) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test echo ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] Running tests/echo_bench.rs (/opt/rustwide/target/debug/deps/echo_bench-367191a9d33184dd) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test echo_bench_default ... ok [INFO] [stdout] test echo_bench_fast ... ok [INFO] [stdout] test echo_bench_normal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 20.27s [INFO] [stdout] [INFO] [stderr] Doc-tests tokio_kcp [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fab25b55be96b6073972d5328de8d3b8ab3fd02b161f22b5b32b7116405f6b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab25b55be96b6073972d5328de8d3b8ab3fd02b161f22b5b32b7116405f6b72", kill_on_drop: false }` [INFO] [stdout] fab25b55be96b6073972d5328de8d3b8ab3fd02b161f22b5b32b7116405f6b72