[INFO] fetching crate joyent-tokio-zookeeper 0.1.3... [INFO] checking joyent-tokio-zookeeper-0.1.3 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate joyent-tokio-zookeeper 0.1.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate joyent-tokio-zookeeper 0.1.3 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate joyent-tokio-zookeeper 0.1.3 [INFO] finished tweaking crates.io crate joyent-tokio-zookeeper 0.1.3 [INFO] tweaked toml for crates.io crate joyent-tokio-zookeeper 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 114 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.11) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.9) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.37.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-async v2.8.0 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded slog-term v2.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aefa67b5ae08ef448dec4252984fca5bc7776b0d00f2f61068aef3f005e16ffd [INFO] running `Command { std: "docker" "start" "-a" "aefa67b5ae08ef448dec4252984fca5bc7776b0d00f2f61068aef3f005e16ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aefa67b5ae08ef448dec4252984fca5bc7776b0d00f2f61068aef3f005e16ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aefa67b5ae08ef448dec4252984fca5bc7776b0d00f2f61068aef3f005e16ffd", kill_on_drop: false }` [INFO] [stdout] aefa67b5ae08ef448dec4252984fca5bc7776b0d00f2f61068aef3f005e16ffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75fb4ca14e7b225f119d2e217542f2e257a1cd83c60029c8dbdd5b5936c13f6e [INFO] running `Command { std: "docker" "start" "-a" "75fb4ca14e7b225f119d2e217542f2e257a1cd83c60029c8dbdd5b5936c13f6e", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking backtrace v0.3.71 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking joyent-tokio-zookeeper v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/proto/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/active_packetizer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slog` is imported redundantly [INFO] [stdout] --> src/proto/active_packetizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use slog; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | extern crate slog; [INFO] [stdout] | ------------------ the item `slog` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/proto/active_packetizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/packetizer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slog` is imported redundantly [INFO] [stdout] --> src/proto/packetizer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use slog; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | extern crate slog; [INFO] [stdout] | ------------------ the item `slog` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/proto/packetizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/request.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | try!(writer.write_u8(*self)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/request.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/request.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/response.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let len = try!(read.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | items.push(try!(read.read_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | czxid: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | mzxid: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | ctime: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | mtime: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | version: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | cversion: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | aversion: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | ephemeral_owner: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | data_length: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | num_children: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | pzxid: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let len = try!(read.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | items.push(try!(Acl::read_from(read))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let perms = try!(Permission::read_from(read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let scheme = try!(read.read_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | let id = try!(read.read_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(Permission::from_raw(try!(read.read_u32::()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | let len = try!(self.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | let read = try!(self.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | let raw = try!(self.read_buffer()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/proto/mod.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | fn connect(&Self::Addr) -> Self::ConnectFut; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Addr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/types/acl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/packetizer.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | Reconnecting(Box, Error = failure::Error> + Send + 'static>), [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | Reconnecting(Box, Error = failure::Error> + Send + 'static>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `connect` is never used [INFO] [stdout] --> src/proto/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait ZooKeeperTransport: AsyncRead + AsyncWrite + Sized + Send { [INFO] [stdout] | ------------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn connect(&Self::Addr) -> Self::ConnectFut; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/proto/packetizer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Packetizer [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | addr: S::Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reconnecting` is never constructed [INFO] [stdout] --> src/proto/packetizer.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum PacketizerState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 77 | Connected(ActivePacketizer), [INFO] [stdout] 78 | Reconnecting(Box, Error = failure::Error> + Send + 'static>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol_version` and `read_only` are never read [INFO] [stdout] --> src/proto/response.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | Connect { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 11 | protocol_version: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | read_only: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/proto/active_packetizer.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | tx.send(Err(e)).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = tx.send(Err(e)).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/proto/active_packetizer.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | tx.send(Ok(r)).is_ok(); // if receiver doesn't care, we don't either [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 357 | let _ = tx.send(Ok(r)).is_ok(); // if receiver doesn't care, we don't either [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/proto/packetizer.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | mem::replace(self, PacketizerState::Connected(ap)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = mem::replace(self, PacketizerState::Connected(ap)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/proto/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/active_packetizer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slog` is imported redundantly [INFO] [stdout] --> src/proto/active_packetizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use slog; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | extern crate slog; [INFO] [stdout] | ------------------ the item `slog` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/proto/active_packetizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/packetizer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slog` is imported redundantly [INFO] [stdout] --> src/proto/packetizer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use slog; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | extern crate slog; [INFO] [stdout] | ------------------ the item `slog` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/proto/packetizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/request.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | try!(writer.write_u8(*self)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/request.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/request.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/proto/response.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let len = try!(read.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | items.push(try!(read.read_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | czxid: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | mzxid: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | ctime: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | mtime: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | version: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | cversion: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | aversion: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | ephemeral_owner: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | data_length: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | num_children: try!(read.read_i32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | pzxid: try!(read.read_i64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let len = try!(read.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | items.push(try!(Acl::read_from(read))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let perms = try!(Permission::read_from(read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let scheme = try!(read.read_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | let id = try!(read.read_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(Permission::from_raw(try!(read.read_u32::()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | let len = try!(self.read_i32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | let read = try!(self.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto/response.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | let raw = try!(self.read_buffer()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/proto/mod.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | fn connect(&Self::Addr) -> Self::ConnectFut; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Addr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/types/acl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto/packetizer.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | Reconnecting(Box, Error = failure::Error> + Send + 'static>), [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | Reconnecting(Box, Error = failure::Error> + Send + 'static>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1209:17 [INFO] [stdout] | [INFO] [stdout] 1209 | futures::Future), Error = failure::Error> + 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1209 | dyn futures::Future), Error = failure::Error> + Send, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `connect` is never used [INFO] [stdout] --> src/proto/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait ZooKeeperTransport: AsyncRead + AsyncWrite + Sized + Send { [INFO] [stdout] | ------------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn connect(&Self::Addr) -> Self::ConnectFut; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/proto/packetizer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct Packetizer [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | addr: S::Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reconnecting` is never constructed [INFO] [stdout] --> src/proto/packetizer.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum PacketizerState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 77 | Connected(ActivePacketizer), [INFO] [stdout] 78 | Reconnecting(Box, Error = failure::Error> + Send + 'static>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol_version` and `read_only` are never read [INFO] [stdout] --> src/proto/response.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | Connect { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 11 | protocol_version: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | read_only: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/proto/active_packetizer.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | tx.send(Err(e)).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = tx.send(Err(e)).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/proto/active_packetizer.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | tx.send(Ok(r)).is_ok(); // if receiver doesn't care, we don't either [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 357 | let _ = tx.send(Ok(r)).is_ok(); // if receiver doesn't care, we don't either [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/proto/packetizer.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | mem::replace(self, PacketizerState::Connected(ap)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = mem::replace(self, PacketizerState::Connected(ap)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.74s [INFO] running `Command { std: "docker" "inspect" "75fb4ca14e7b225f119d2e217542f2e257a1cd83c60029c8dbdd5b5936c13f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75fb4ca14e7b225f119d2e217542f2e257a1cd83c60029c8dbdd5b5936c13f6e", kill_on_drop: false }` [INFO] [stdout] 75fb4ca14e7b225f119d2e217542f2e257a1cd83c60029c8dbdd5b5936c13f6e