[INFO] fetching crate tokio-memcache 0.0.3... [INFO] testing tokio-memcache-0.0.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate tokio-memcache 0.0.3 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate tokio-memcache 0.0.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-memcache 0.0.3 [INFO] finished tweaking crates.io crate tokio-memcache 0.0.3 [INFO] tweaked toml for crates.io crate tokio-memcache 0.0.3 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b6a719dfec0dec17b9fd4286fb7307611eabfce28eff4ed0cbb4771d222d0b [INFO] running `Command { std: "docker" "start" "-a" "84b6a719dfec0dec17b9fd4286fb7307611eabfce28eff4ed0cbb4771d222d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b6a719dfec0dec17b9fd4286fb7307611eabfce28eff4ed0cbb4771d222d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b6a719dfec0dec17b9fd4286fb7307611eabfce28eff4ed0cbb4771d222d0b", kill_on_drop: false }` [INFO] [stdout] 84b6a719dfec0dec17b9fd4286fb7307611eabfce28eff4ed0cbb4771d222d0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb076e10bc95d74cef52cf7479164137ebaf4c01dc172a7fbed81d069f87e79 [INFO] running `Command { std: "docker" "start" "-a" "8cb076e10bc95d74cef52cf7479164137ebaf4c01dc172a7fbed81d069f87e79", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling slab v0.3.0 [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 num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.3.4 [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 net2 v0.2.37 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-codec v0.1.2 [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 num-traits v0.1.43 [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 enum_primitive v0.1.1 [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 [INFO] [stderr] Compiling tokio-memcache v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/client/protocol.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::codec::{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] --> src/client/protocol.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | 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] --> src/client/connection.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{future, Future, BoxFuture}; [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] --> src/client/connection.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | type Result = BoxFuture; [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] --> src/client/connection.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get(&self, key: &K) -> BoxFuture [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] --> src/client/connection.rs:45:70 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add(&self, key: &K, value: &V, expiration: E) -> BoxFuture<(), MemcacheError> [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] --> src/client/connection.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | type Future = BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&Error> { [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] 34 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/service.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn connect(addr: &SocketAddr, handle: &Handle) -> 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] 17 - pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stdout] 17 + pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/protocol/request.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | out.put_u16::(self.key_length); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/protocol/request.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | out.put_u16::(self.vbucket_id); [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] --> src/protocol/request.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | out.put_u32::(self.body_length); [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] --> src/protocol/request.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | out.put_u32::(self.opaque); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stdout] --> src/protocol/request.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | out.put_u64::(self.cas); [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] --> src/client/protocol.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(io.framed(BinaryCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | }).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | }).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "8cb076e10bc95d74cef52cf7479164137ebaf4c01dc172a7fbed81d069f87e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb076e10bc95d74cef52cf7479164137ebaf4c01dc172a7fbed81d069f87e79", kill_on_drop: false }` [INFO] [stdout] 8cb076e10bc95d74cef52cf7479164137ebaf4c01dc172a7fbed81d069f87e79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 977fef1f814b9ae0ba861831d3e0f47ff9cf8b06643206f5441a893fafe3d95e [INFO] running `Command { std: "docker" "start" "-a" "977fef1f814b9ae0ba861831d3e0f47ff9cf8b06643206f5441a893fafe3d95e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/client/protocol.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::codec::{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] --> src/client/protocol.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | 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] --> src/client/connection.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{future, Future, BoxFuture}; [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] --> src/client/connection.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | type Result = BoxFuture; [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] --> src/client/connection.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get(&self, key: &K) -> BoxFuture [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] --> src/client/connection.rs:45:70 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add(&self, key: &K, value: &V, expiration: E) -> BoxFuture<(), MemcacheError> [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] --> src/client/connection.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | type Future = BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&Error> { [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] 34 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/service.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn connect(addr: &SocketAddr, handle: &Handle) -> 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] 17 - pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stdout] 17 + pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/protocol/request.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | out.put_u16::(self.key_length); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-memcache v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/protocol/request.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | out.put_u16::(self.vbucket_id); [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] --> src/protocol/request.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | out.put_u32::(self.body_length); [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] --> src/protocol/request.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | out.put_u32::(self.opaque); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stdout] --> src/protocol/request.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | out.put_u64::(self.cas); [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] --> src/client/protocol.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(io.framed(BinaryCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | }).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | }).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extras` [INFO] [stdout] --> examples/simple.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_memcache::{Client, extras}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/client/protocol.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_io::codec::{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] --> src/client/protocol.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | 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] --> src/client/connection.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{future, Future, BoxFuture}; [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] --> src/client/connection.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | type Result = BoxFuture; [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] --> src/client/connection.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get(&self, key: &K) -> BoxFuture [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] --> src/client/connection.rs:45:70 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add(&self, key: &K, value: &V, expiration: E) -> BoxFuture<(), MemcacheError> [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] --> src/client/connection.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | type Future = BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&Error> { [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] 34 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/service.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn connect(addr: &SocketAddr, handle: &Handle) -> 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] 17 - pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stdout] 17 + pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/protocol/request.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | out.put_u16::(self.key_length); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stdout] --> src/protocol/request.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | out.put_u16::(self.vbucket_id); [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] --> src/protocol/request.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | out.put_u32::(self.body_length); [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] --> src/protocol/request.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | out.put_u32::(self.opaque); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stdout] --> src/protocol/request.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | out.put_u64::(self.cas); [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] --> src/client/protocol.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(io.framed(BinaryCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | }).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: 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] --> src/client/connection.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | }).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.50s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_memcache-e757718d0ca41964) [INFO] [stderr] Executable tests/command_add.rs (/opt/rustwide/target/debug/deps/command_add-112e87a0f829aae5) [INFO] [stderr] Executable tests/connection.rs (/opt/rustwide/target/debug/deps/connection-7e18b1bed15b01be) [INFO] running `Command { std: "docker" "inspect" "977fef1f814b9ae0ba861831d3e0f47ff9cf8b06643206f5441a893fafe3d95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977fef1f814b9ae0ba861831d3e0f47ff9cf8b06643206f5441a893fafe3d95e", kill_on_drop: false }` [INFO] [stdout] 977fef1f814b9ae0ba861831d3e0f47ff9cf8b06643206f5441a893fafe3d95e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ea28ab96db10f229b64be77ee3ddd5ced990f39f0ace83c409073ce8b66866a [INFO] running `Command { std: "docker" "start" "-a" "5ea28ab96db10f229b64be77ee3ddd5ced990f39f0ace83c409073ce8b66866a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/client/protocol.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_io::codec::{Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/client/protocol.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | type Transport = Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/client/connection.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{future, Future, BoxFuture}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/client/connection.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | type Result = BoxFuture; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/client/connection.rs:19:41 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get(&self, key: &K) -> BoxFuture [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/client/connection.rs:45:70 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn add(&self, key: &K, value: &V, expiration: E) -> BoxFuture<(), MemcacheError> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/client/connection.rs:74:19 [INFO] [stderr] | [INFO] [stderr] 74 | type Future = BoxFuture; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 34 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client/service.rs:17:63 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stderr] 17 + pub fn connect(addr: &SocketAddr, handle: &Handle) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/protocol/request.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | out.put_u16::(self.key_length); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u16`: use put_u16_be or put_u16_le [INFO] [stderr] --> src/protocol/request.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | out.put_u16::(self.vbucket_id); [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] --> src/protocol/request.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | out.put_u32::(self.body_length); [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] --> src/protocol/request.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | out.put_u32::(self.opaque); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stderr] --> src/protocol/request.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | out.put_u64::(self.cas); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stderr] --> src/client/protocol.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | Ok(io.framed(BinaryCodec)) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `futures::Future::boxed`: 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] [stderr] --> src/client/connection.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | }).boxed() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `futures::Future::boxed`: 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] [stderr] --> src/client/connection.rs:42:57 [INFO] [stderr] | [INFO] [stderr] 42 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `futures::Future::boxed`: 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] [stderr] --> src/client/connection.rs:55:57 [INFO] [stderr] | [INFO] [stderr] 55 | self.send(request).and_then(|_| future::ok(())).boxed() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `futures::Future::boxed`: 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] [stderr] --> src/client/connection.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | }).boxed() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | ErrorKind::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | f.write_str(self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tokio-memcache` (lib) generated 21 warnings [INFO] [stderr] warning: `tokio-memcache` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] warning: unused import: `extras` [INFO] [stderr] --> examples/simple.rs:8:30 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio_memcache::{Client, extras}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tokio-memcache` (example "simple") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_memcache-e757718d0ca41964) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test protocol::tests::request::test_request_add_serialization ... ok [INFO] [stdout] test protocol::tests::request::test_request_get_serialization ... ok [INFO] [stdout] test protocol::tests::request::test_request_delete_serialization ... ok [INFO] [stdout] test protocol::tests::request::test_request_noop_serialization ... ok [INFO] [stdout] test protocol::tests::request::test_request_incr_serialization ... ok [INFO] [stdout] test protocol::tests::request::test_request_set_serialization ... ok [INFO] [stdout] test protocol::tests::request::test_request_quit_serialization ... ok [INFO] [stdout] test protocol::tests::response::test_response_cas ... ok [INFO] [stdout] test protocol::tests::request::test_request_version_serialization ... ok [INFO] [stdout] test protocol::tests::response::test_response_get ... ok [INFO] [stdout] test protocol::tests::response::test_response_error_not_found ... ok [INFO] [stdout] test protocol::tests::response::test_response_incr_not_exists ... ok [INFO] [stdout] test protocol::tests::response::test_response_getk ... ok [INFO] [stdout] test protocol::tests::response::test_response_version ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/command_add.rs (/opt/rustwide/target/debug/deps/command_add-112e87a0f829aae5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_command_add_ok ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_command_add_ok stdout ---- [INFO] [stdout] thread 'test_command_add_ok' panicked at 'assertion failed: val.is_ok()', tests/command_add.rs:19:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x555cbb82f7cd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x555cbb82f7cd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x555cbb82f7cd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x555cbb82f7cd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x555cbb85233c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x555cbb82aa21 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x555cbb8315a5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x555cbb8315a5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x555cbb8315a5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x555cbb831294 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x555cbb831af2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x555cbb831999 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x555cbb82fc84 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x555cbb831709 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x555cbb696463 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x555cbb69632d - core::panicking::panic::h19a70c01bbabd538 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x555cbb69e6e6 - command_add::test_command_add_ok::hc9985cd5ff398147 [INFO] [stdout] at /opt/rustwide/workdir/tests/command_add.rs:19:5 [INFO] [stdout] 17: 0x555cbb69e4ca - command_add::test_command_add_ok::{{closure}}::h51a92333f56c066d [INFO] [stdout] at /opt/rustwide/workdir/tests/command_add.rs:9:1 [INFO] [stdout] 18: 0x555cbb69d2ae - core::ops::function::FnOnce::call_once::h3f15979c35ad841a [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x555cbb6d4fa3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x555cbb6d4fa3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 21: 0x555cbb6d3d59 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 22: 0x555cbb6d3d59 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x555cbb6d3d59 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x555cbb6d3d59 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x555cbb6d3d59 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x555cbb6d3d59 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 27: 0x555cbb6d3d59 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 28: 0x555cbb69ff0e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 29: 0x555cbb69ff0e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x555cbb6a5478 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 31: 0x555cbb6a5478 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x555cbb6a5478 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x555cbb6a5478 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x555cbb6a5478 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x555cbb6a5478 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 36: 0x555cbb6a5478 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x555cbb8364b3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 38: 0x555cbb8364b3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x555cbb8364b3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7f3e6a41c609 - start_thread [INFO] [stdout] 41: 0x7f3e6a1ec163 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_command_add_ok [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test command_add' [INFO] running `Command { std: "docker" "inspect" "5ea28ab96db10f229b64be77ee3ddd5ced990f39f0ace83c409073ce8b66866a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea28ab96db10f229b64be77ee3ddd5ced990f39f0ace83c409073ce8b66866a", kill_on_drop: false }` [INFO] [stdout] 5ea28ab96db10f229b64be77ee3ddd5ced990f39f0ace83c409073ce8b66866a